summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authormincheli <mincheli@google.com>2020-09-08 15:27:45 +0800
committermincheli <mincheli@google.com>2020-10-08 11:24:19 +0800
commit5d7e9fabf63511cc1b59609ccd0c276a7752a434 (patch)
tree864b081880c63ce8de177b972a40948f259435fa /libs/hwui/renderthread/DrawFrameTask.cpp
parent700fd8754bdfeba3261a37c720c289289c6e86df (diff)
Magnification button applies fade-in and fade-out animation
We use runnable task to handle the UI animation to prevent the case that "Disable animation" settings disables all the animation showing. The default showing duration of magnification button is 3 secs and the fade-in & fade-out animation durations are both 300ms. The showing step: 1.fade-in > 2.show magnification button > 3.fade-out And the demo video is attached in the bug Bug: 168867867 Test: atest MagnificationModeSwitchTest Change-Id: If2d9a93987555b947e36e09b5345aaf588c02927
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions