summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author András Kurucz <kurucz@google.com> 2024-02-13 13:19:04 +0000
committer András Kurucz <kurucz@google.com> 2024-02-13 18:42:04 +0000
commit7b75db9f63955e56951c5bcb546d099db609c40f (patch)
treea55f4af4aa051ffe2d986b4ed4770bb3dea27e0b /libs/input/SpriteController.cpp
parent60f5711d4c4fd70efbd0dced761e768afcd49fbf (diff)
Fix calculating Notification amountInShelf
ExpandableView#isInShelf() returns true if a Notification is fully scrolled into the shelf. After the change I2735055775632649c418880322e7e197acfd84e7 we have left a check for isInShelf, for calculating the amountInShelf fraction for a notification that is partially scrolled into the shelf. This prevented us from doing an alpha and a translateY animation on the shelf icons. Fixes: 319642729 Test: atest NotificationShelfTest Test: post some notifications, open the shade, and scoll them into the shade Flag: NONE Change-Id: Id8d6ff7e645e6a83a650ff00a4b026aec87ae6ec
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions