diff options
| author | 2023-08-23 08:40:27 +0000 | |
|---|---|---|
| committer | 2023-08-29 21:37:40 +0000 | |
| commit | fcb6f437cd3a470efb88537959298c3281cb1c4b (patch) | |
| tree | 7d71f45d6eefc70295e404bdfc289252b667e337 /libs/androidfw/AttributeResolution.cpp | |
| parent | 55b22b680f795f26581a391db9b5856376aacdb4 (diff) | |
Overscroll animation for SceneTransitionLayout
We've added a default overscroll for the SceneTransitionLayout. If the
scene receives a speed other than 0 and there is a subsequent scene in
that direction, an animation will be performed based on the speed,
towards the next scene and then returning to the current scene.
To block this default behavior, it is sufficient to consume the
remaining speed in the onPostFling() of one of the children.
Test: mp SystemUIComposeGallery
Bug: 291025415
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:aa3e4bbb1ca4e5b0ef8a54f68b3918107f09c7e4)
Change-Id: Ib0ed74f4a21304bfdc99c2efc619529bf5dc3916
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions