diff options
| author | 2024-01-23 08:50:35 -0800 | |
|---|---|---|
| committer | 2024-02-06 12:48:21 -0800 | |
| commit | 8cd665b9f1cc712aa5be93911822b59e2585c105 (patch) | |
| tree | 2b610f8bfb0f30a23a66bba5737e86473d5ab5a2 /libs/input/PointerController.cpp | |
| parent | 601f608c2e52d9e3f671c0cf66ee59c5d8a608b9 (diff) | |
View-Binder architecture on haptic sliders.
The SliderTracker and SeekableSliderHapticPlugin are refactored to
depend on a CoroutineScope. The HapticSliderViewBinder is introduced to
provide this as the lifecycle scope of a binded view. The appropriate UI
widgets are used for the binding depending on the use case: Brightness
slider for brighness slider haptics, and individual volume sliders for
volume slider haptics.
Test: atest SystemUiRoboTests:SeekableSliderHapticPluginTest
Test: atest SystemUITests:VolumeDialogImplTest
Test: atest SystemUITests:BrightnessSliderControllerTest
Flag: ACONFIG com.android.systemui.haptic_brightness_slider TRUNKFOOD
Flag: ACONFIG com.android.systemui.haptic_volume_slider STAGING
Bug: 295932558
Bug: 316953430
Change-Id: I15d4b67dabfba39d9fd3240d3505c33f386443b5
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions