Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 792903f9 authored by axfordjc's avatar axfordjc Committed by Jonathon Axford
Browse files

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
parent 2e75d1bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment