summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Beverly <beverlyt@google.com> 2022-05-13 18:45:40 +0000
committer Beverly <beverlyt@google.com> 2022-06-14 14:59:09 +0000
commitc2be0bcad74707aa2214213d53b0f29650f275a3 (patch)
tree6a40608c82204167855b9fc3dcdb6e10e43809d1 /libs/androidfw/StringPool.cpp
parent53661edb7f7b39bfaa3ca449202d1e16dc83b11c (diff)
Add Face Scanning anim
Render the face scanning animation and the camera protection in FaceScanningOverlay, a SW layer. Implementation notes: * The face scanning animation cannot be rendered in the HW layer because it requires color. * We cannot render the face scanning and camera protection overlays in different layers (HW and SW), because then they are difficult to coordinate. => Therefore, we render both the camera + face scanning animation in a SW layer together. Test: atest ScreenDecorationsTest Test: debug mode (adb shell setprop debug.screenshot_rounded_corners 1) Test: enable color inversion, see camera protection is still black Test: enable/disable face scanning feature and see that camera protection and face scanning anim works. Also test privacy dot indicator view still shows appropriately with and w/o the face scanning animation Test: Check systemui dumpsys for view visibilities. Face scanning overlay should NOT be visible unless playing its animation. Bug: 185128224 Change-Id: I2f67257bfcbfe177c76ebe76f20b1d1553e87175
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions