diff options
| author | 2023-12-15 10:35:41 +0100 | |
|---|---|---|
| committer | 2023-12-18 10:46:25 +0100 | |
| commit | 5787d4d5e26fd1da2fddf0d05b5b011f1e1544db (patch) | |
| tree | 1daf700926881b2be0e61022de815fd2103d04c5 /libs/androidfw/ResourceTimer.cpp | |
| parent | ba822b995bc99c0ffdaa0598b9e3887be8cbcfa6 (diff) | |
Add Modifier.noResizeDuringTransitions()
This CL adds a new Modifier to force a layout node to always be the same
size as when there is no transition. This can for instance be used to
make sure that a scrollable container/scene does not resize and thus
that its scrolling state does not change during a transition. This will
for instance be used by the QS pager in the demo app, so that the QS =>
Shade transition is smoother.
Bug: 308961608
Test: SizeTest
Flag: N/A
Change-Id: I98e65d0c1bffb47be04309b743587e957d7ca188
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions