summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2024-08-01 08:43:25 -0700
committer Juan Sebastian Martinez <juansmartinez@google.com> 2024-10-11 08:58:52 -0700
commit9144c23b1221eac54b2cbeb7acd1c5d43fba37ed (patch)
tree8e2755c125af748c0338941b5d09a49ae6808c39 /api/api_test.go
parentb13bf71c73c1513efa946350b4bef95efb4c23c6 (diff)
Adding a SliderDragVelocityProvider for slider haptics
The provider is a small abstraction around different methods to obtain the velocity with which a slider is being dragged. This can make the SliderHapticFeedbackProvider usable for SeekBars as well as Slider composables. Velocity computation can be done in any arbitrary unit instead of only pixels. This is now reflected on the SliderHapticFeedbackConfig docstring Test: atest SystemUITests:SliderHapticFeedbackProviderTest Flag: NONE minor refactor to adapt for future usages Bug: 356389497 Change-Id: I4d31923c2cf9eecb138dac36af02d019c9a6f831
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions