diff options
| author | 2024-01-09 09:46:24 +0100 | |
|---|---|---|
| committer | 2024-01-09 11:29:58 +0100 | |
| commit | 8ec20c50dc8d3e1b62b62b52196b19b6aa6d89ff (patch) | |
| tree | 24ceb645933846dbfa991506bf23ba848ca5e694 /libs/androidfw/StringPool.cpp | |
| parent | a83b9f1de2aa1a3c1a523b3b5fed53d61547754a (diff) | |
Remove Modifier.punchHole in SceneScope (1/2)
This CL removes the Modifier.punchHole in SceneScope and replaces it by
a more generic Modifier that takes any offset and size as a parameter.
The previous punchHole modifier was the last user of
Element.lastSharedState and SceneState.lastState, which will be removed
in the following CL.
This CL also adds an overload of Modifier.punchHole to easily punch a
hole given the LayoutCoordinates of any node.
Bug: 316901148
Test: PunchHoleTest
Test: Manual, swipe down from lockscreen to go to shade scene
Flag: N/A
Change-Id: I0d9adeead15b0fe211bfc634f5e2de0d01597398
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions