summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Beverly <beverlyt@google.com> 2022-04-28 18:24:54 +0000
committer Beverly <beverlyt@google.com> 2022-04-29 21:29:02 +0000
commit6cd1f074740fd982b81322a5168052744b54414c (patch)
tree1dea7f72a6de5beaaa90b239ee4cfb6c551ba548 /libs/androidfw/AttributeResolution.cpp
parenta3193ed1db1b077635d95d0983bec7685ab8176e (diff)
Scale px udfps HW related sizes to curr resolution
AuthController calculates the size of UDFPS based on the native resolution which can change. This CL updates the lock icon view and udfps keyguard view so that the sizes and paddings are updated based on the scaled pixel values to account for any changes in the display's resolution. Test: manually change display-mode with adb shell cmd display set-user-preferred-display-mode 1080 2340 0 0 and then check location & size of the lock icon + udfps on keyguard Fixes: 230548686 Fixes: 223116689 Change-Id: I6c320e2ec4c0866768d0fc995eb3f8f06bda1db6
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions