diff options
| author | 2025-01-28 12:21:16 +0000 | |
|---|---|---|
| committer | 2025-01-28 12:21:16 +0000 | |
| commit | 281126cffbe75bd6ae6e3cfddd30228f77b3a239 (patch) | |
| tree | ba5dc460dc79a40bfef6227291a2a4c43f2d231d /libs/androidfw/FileStream.cpp | |
| parent | d3832f8b039bfb9252fd333c03459a4f385e2843 (diff) | |
STL decay animation should only play if decayOffset exceeds targetOffset
This change also addresses sudden direction changes during fling.
The calculation to determine if the bound has been reached now only uses
targetOffset and decayOffset.
Test: atest DraggableHandlerTest
Bug: 388803469
Flag: com.android.systemui.scene_container
Change-Id: Ibaba56daee8081eb0d5ce66911f6e185aa416cc8
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions