diff options
| author | 2023-10-05 15:49:29 -0700 | |
|---|---|---|
| committer | 2023-10-16 09:10:18 -0700 | |
| commit | f1deac40ea603646faa7f047a502328fcc66de61 (patch) | |
| tree | e7513660b13b36dd23ab998798232a59b5ca77c0 /libs/androidfw/FileStream.cpp | |
| parent | c8b8fcef930b80a48d1462c44c142f8ece8014f8 (diff) | |
Adding progress threshold for drag textures in the haptic slider
A progress-based threshold is added to the SliderHapticFeedbackProvider
to ensure that vibrations only occurr if the threshold is exceeded. This
reduces the sensitivity of the slider to jittery changes of the slider.
Test: atest SliderHapticFeedbackProviderTest
Bug: 295932558
Change-Id: I6c7e34550c29796cac470fb21ba0bc3c2c6cc255
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions