diff options
| author | 2023-09-20 16:07:26 +0000 | |
|---|---|---|
| committer | 2023-09-25 10:14:23 +0000 | |
| commit | 792903f9361c62dc69c90a8bee7c491e59d39c9d (patch) | |
| tree | 4c670ca030d4735a73f08f1a08a514f5af85e581 /libs/androidfw/StringPool.cpp | |
| parent | 2e75d1bbce21e7bf742b83e10520631f2ba6a54e (diff) | |
Bouncer half fold animation for pin/pattern
- previously, guideline height was set in code causing pin/pattern to jump between sizes
- now, with the new use of motion layout, a transition to 'half folded constraints' is used
- half_folded_single_constraints is the same as single_constraints but the emergency button has a smaller bottom margin and the guideline is lowered causing the pin/pattern to shrink
- note, the final size/layout of pin/pattern after the half-fold animation is not identical to previous behaviour. But, this is ok or even an improvement - anyhow, it can be easily tweaked.
Guarded by flag "lockscreen.enable_landscape" (b/293252410)
Bug: 293252410
Fixes: 299106220
Test: PattenBouncerFoldableUIScreenshotTest, PattenBouncerFoldableScreen, PinBouncerFoldableUIScreenshotTest, PinBouncerFoldableScreen
Change-Id: I7094cb592d2d1a81ebb9055bef60d03358ac5f85
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions