diff options
| author | 2024-06-07 17:00:26 +0200 | |
|---|---|---|
| committer | 2024-06-10 12:16:05 +0200 | |
| commit | 0ce8047febe12fedd49ed7d6bb9b66e7ff4b32b6 (patch) | |
| tree | ea4b0752bb01b05209b6273930a837fc087a14ee /libs/hwui/RootRenderNode.cpp | |
| parent | 6052526d76198a4ac5de0e610f8b65933318c8da (diff) | |
Correctly clear last placement values on nested elements
This CL ensures that we correctly clear the last placement values for
all elements that are not placed.
Before this CL, only the first element to not be placed would correctly
clear its last offset/alpha/scale given that measure() is not called on
children of elements that are not placed.
This CL fixes that by making ElementNode a traversable node that we can
recursively traverse to correctly clear the last placement values.
Bug: 290930950
Test: ElementTest
Flag: com.android.systemui.scene_container
Change-Id: I02361fcde32196ddaece01437ef727951e56d8a4
Diffstat (limited to 'libs/hwui/RootRenderNode.cpp')
0 files changed, 0 insertions, 0 deletions