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

Skip to content
Commit 1d0f453d authored by axfordjc's avatar axfordjc
Browse files

Password bouncer refactor: motion layout - change constraints on rotate

- refactored Password bouncer into a single motion layout
- transition between landscape or portrait constrains on rotate

why are we doing this?
- to add support for landscape bouncers on small screens

"Split" bouncer constraints (https://hsv.googleplex.com/5967966609866752) will be used on small landscape screens only

"Single" bouncer constraints (https://hsv.googleplex.com/6203090299518976) are used otherwise, such as for large screen port/land and small screens port - this is the same as the previous behaviour.

Use of "split or single" bouncer constraints is not strictly related to device orientation.

Flag:
WHEN FLAG OFF - old portrait layout always used
WHEN FLAG ON - new layout uses, constraints updated to match current orientation (once per rotate, once on device posture change, and once after inflate)

Bug: 293252410
Bug: 296567469
Bug: 297863911

Test: KeyguardPasswordViewControllerTest, PasswordBouncerFoldableUIScreenshotTest, PasswordBouncerLargeUIScreenshotTest, PasswordBouncerSmallUIScreenshotTest, PasswordBouncerFoldableScreen, PasswordBouncerLargeScreen, PasswordBouncerSmallScreen
Change-Id: I12018792a29f250ebefad767e905a1ae4baa4b30
parent 0639619f
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