summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Michal Brzezinski <brzezinski@google.com> 2023-02-01 18:00:32 +0000
committer Michal Brzezinski <brzezinski@google.com> 2023-02-01 18:00:32 +0000
commit5c7cee2b3a12b6bc003abd8fca25a840bdf83bd6 (patch)
tree6e0d4a7f9608486212b32f64c685db431b614de1 /libs/input/PointerController.cpp
parent8ec492a73991bbafcd48efacac54c8d1a54369f7 (diff)
Fix heads-up notification being sometimes clipped when pulsing
The NSSL top padding is aligned with the clock top. The clock position moves throughout time to avoid pixel burn-in and sometimes the position is above NSSL bounds, which makes the HUN be clipped. The solution is to account for burn-in vertical shift when calculating NSSL position. This means smartspace with clock will not always be aligned with HUN but it's agreed to be the best solution. Also small renaming of burn-in related fields. Test: KeyguardClockPositionAlgorithmTest.java Test: Manually on-device with simulating biggest burn-in shift up Fixes: 260084123 Change-Id: I211b15affef1c84d0b8524134b3af02894faf536
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions