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
Loading
Please register or sign in to comment