diff options
| author | 2024-06-07 14:15:02 +0000 | |
|---|---|---|
| committer | 2024-06-21 11:56:47 +0000 | |
| commit | 524c5b7229f2e8a500e3737c8e012083fe3252c5 (patch) | |
| tree | 01545bc883016bef8f4d05d3fd93ec8bdecc170b /libs/androidfw/StringPool.cpp | |
| parent | f6ec228d90a136a83b7833ec4fecdff3cee89e38 (diff) | |
Add progressConverter property to OverscrollBuilder (1/2)
The progressConverter is a function allows you to specify the progress
value used by the Overscroll DSL during an overscroll.
The function takes a linear overscroll progress value ranging from 0 to
+/- infinity and outputs the desired **overscroll progress value**.
When the progress value is:
- 0, the user is not overscrolling.
- 1, the user overscrolled by exactly the scene distance.
- Greater than 1, the user overscrolled more than the scene distance.
Test: atest ElementTest
Bug: 291053278
Flag: com.android.systemui.scene_container
Change-Id: I38bfb417e4a97a29c351192c8196c741f5efbb44
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions