summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author axfordjc <axfordjc@google.com> 2023-08-28 16:26:05 +0000
committer axfordjc <axfordjc@google.com> 2023-09-18 12:54:05 +0000
commit461f259ffaa5e6d71cb6f1d7b16b1fccafa1cb35 (patch)
tree8636b340f7fad1fe910ded2b929181b977ddd3f2 /libs/androidfw/AssetsProvider.cpp
parent3544524bad816c0344cbfe65282ff1f45a0cccb2 (diff)
Pattern bouncer refactor: motion layout - change constraints on rotate
- refactored Pattern 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/5351602346000384) will be used on small landscape screens only "Single" bouncer constraints (https://hsv.googleplex.com/6007067992129536) 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: KeyguardPatternViewControllerTest Change-Id: If57b60482377eaf9ac3131fff9a136c92af67da0
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions