summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2024-02-21 15:15:54 +0100
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2024-02-23 17:05:28 +0100
commit3f9cba65ab515aabfbeba18a86062bc75e7efa00 (patch)
tree1e255fdf84b6af202877260d889ee80afa19135b /libs/hwui/FrameInfoVisualizer.cpp
parent9c0fbb1a2ac1ac72a547b4ed99a9e809c30d6c4c (diff)
Move UserActionDistance to TransitionSpec
This CL moves UserActionDistance from UserActionResult to TransitionSpec. I realized while adding custom distances to the demo that this made more sense: usually the distance is the same when going from A => B and B => A, and the previous API would require us to specify the distance twice. Moreover, it was impossible to assign a distance to a generic transition (for example from any scene to Shade or from Shade to any scene). Bug: 308961608 Test: SwipeToSceneTest Flag: N/A Change-Id: I24f9cf346f37d81dc19f738665b872e2efcd94d9
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions