diff options
| author | 2023-09-06 14:30:02 -0700 | |
|---|---|---|
| committer | 2023-09-22 16:28:20 +0000 | |
| commit | 3068b00e43c538d72db77036173c1cce51152250 (patch) | |
| tree | c87b73a6743d26c41221e248cfe0061c0c7c908c /api/api.go | |
| parent | 91af11ff0d5e3d2dd67b931f62cc97b6a03dca00 (diff) | |
Introducing haptic components to the brightness slider.
The components come in the form of a slider state tracker, a slider
event producer, and a slider state listener with concrete
implementations for the purpose of haptic feedback based on the slider
progress and velocity. The components are incorporated as a bundle
inside a BrightnessSliderHaptic plugin added to the
BrightnessSliderController. The new feature is protected by a flag.
Test: atest BrightnessSliderHapticPluginImplTest
Test: atest BrightnessSlidercontrollerTest
Bug: 295932558
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9f288982db8e863b49c6d249c168202516874a2f)
Change-Id: I52b954b8a108a66feee524e152bcc1f882669dd0
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions