summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2025-02-18 20:00:29 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2025-02-26 14:42:34 +0000
commit03cb55f8558e47740a1b3d93caefe151953184aa (patch)
tree6e82c88a9e5da61998bc4efc1fc9685036187bd7 /libs/androidfw/ResourceTimer.cpp
parente173a38108cbc85d39bac262510d7f97e20a11b0 (diff)
[HUN] Extract HUN animation y translation values into a shared class.
Both StackScrollAnimator and StackScrollAlgorithm had the same calculation to determine where a HUN should appear from or disappear to. This CL extracts that calculation into a shared class. This will be useful for changing how a HUN animates in and out if the HUN came from a status bar notification chip tap (see b/393369891). Bug: 393369891 Bug: 364653005 Flag: com.android.systemui.notifications_hun_shared_animation_values Test: Verified scenarios in b/243302608#comment39 still work with flag on Test: atest StackScrollAlgorithmTest StackStateAnimatorTest HeadsUpAnimatorTest Change-Id: Ie4f3703722efd83240e87199f45e06777ffd301b
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions