summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-01-15 20:04:39 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-01-17 13:01:07 +0000
commitedd641cb0a3d25d256cbaf7c124fad0e2117c774 (patch)
treea0161485c109f327e2a57f0b25510bc4c220b6a1 /libs/input/SpriteController.cpp
parent02b61abcfe0874bc686d6ce5cba36cc4ec6f3222 (diff)
Fix missing transition with visibility change when changing opaque
This aligns OPEN scene transition with CLOSE scene transition that consists of 2 transitions: OPEN = OPEN (startActivity) + TO_BACK (convertFromTranslucent) CLOSE = TO_FRONT (converToTranslucent) + CLOSE (finish) The TO_BACK was missing. That causes the visibility change to be committed immediately with surface placement, which increases the execution time of convertFromTranslucent. Also removes requestTraversal because setOpaqueLocked will call scheduleAnimation that is enough to update surface attributes. Bug: 314261955 Test: UiBenchActivityTransitionsAnimationMicrobenchmark Change-Id: I4c5e401c6f7fd53650ac49b527df98bc00b8534a
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions