diff options
| author | 2024-02-21 15:15:54 +0100 | |
|---|---|---|
| committer | 2024-02-23 17:05:28 +0100 | |
| commit | 3f9cba65ab515aabfbeba18a86062bc75e7efa00 (patch) | |
| tree | 1e255fdf84b6af202877260d889ee80afa19135b /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 9c0fbb1a2ac1ac72a547b4ed99a9e809c30d6c4c (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