summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2020-10-26 18:43:48 -0700
committerKevin Chyn <kchyn@google.com>2020-11-06 19:55:17 -0800
commit90e442a741e9d4457749d9b7ea9b35b248529ae0 (patch)
treebe4736a25227c39644fcb1dbd884181f2164ec30 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5b8380869cc1c3425e44c48432f0e90f61b9c7a4 (diff)
Add AuthBiometricUdfpsView for portrait
Adds AuthDialog.LayoutParams which should be used to hold any layout or measurement related information. Adds onMeasureInternal which returns AuthDialog.LayoutParams so that subclasses can return custom layout parameters while keeping common things like setMeasuredDimension in the base class. The AuthBiometricUdfpsView in portrait mode includes a spacer whose height is calculated based on the sizes of everything that's below the physical sensor, including 1) Text indicator area (for error messages) 2) Footer button bar 3) BiometricPrompt distance to navigation bar 4) Height of navigation bar The indicator text is the only non-static element below the icon. Changes it to marquee on a single line for now. AuthBiometricView animates the icon's holder instead of the icon itself. Otherwise, the holder would need to allow drawing outside of its bounds. Test: No effect on existing devices Test: atest com.android.systemui.biometrics Fixes: 171071087 Change-Id: I3b62f02a44f4d3cf6925d7782451596fbf8db0e1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions