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

Skip to content
Commit 412aa82d authored by axfordjc's avatar axfordjc
Browse files

PIN bouncer refactor with motion layout - change constraints on rotate

- refactored PIN bouncer into a single motion layout
- transition between single or split bouncer constrains on rotate
- Changed "num_pad_key_ratio" to 1 on small landscape so num pad keys are rounded

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

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

"Single" bouncer constraints (https://hsv.googleplex.com/5484669056319488) 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.

Fixes: 293290851 - bouncer message reset
Fixes: 291544499 - pin shape animation not showing
Fixes: 293291553 - pin value reset
Fixes: 293576466 - round key buttons
Bug: 293252410
Bug: 296567469

Test: KeyguardPinViewControllerTest
Change-Id: Ie180492ca800d8d1a40f2c2f6fec6c7833c0fb6f
parent 9f1c9359
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