commit | 83e4569874646da8bd1f3058f9506419c4c16cda | [log] [tgz] |
---|---|---|
author | Juan Sebastian Martinez <juansmartinez@google.com> | Tue Jan 02 11:28:06 2024 -0800 |
committer | Juan Sebastian Martinez <juansmartinez@google.com> | Tue Jan 02 11:31:25 2024 -0800 |
tree | 7e419bc760f86875ce3113c15a9d36a2ba4143a6 | |
parent | 7799b5d9caa79f46a8225c01651daada9b4477d9 [diff] |
Adding support for slider haptic feedback on different axes. The axis used to calculate velocity is now configurable via the SliderHapticFeedbackConfig data class. This allows sliders in different orientations to incorporate haptic feedback. For example, the vertical volume sliders. Test: atest SystemUITests:SliderHaptickFeedbackProviderTest Flag: NONE Bug: 316953430 Change-Id: Ie559ad32389120526a9c756cf63da8428dfb8c08