summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2024-01-23 08:50:35 -0800
committer Juan Sebastian Martinez <juansmartinez@google.com> 2024-02-06 12:48:21 -0800
commit8cd665b9f1cc712aa5be93911822b59e2585c105 (patch)
tree2b610f8bfb0f30a23a66bba5737e86473d5ab5a2 /libs/hwui/FrameInfoVisualizer.cpp
parent601f608c2e52d9e3f671c0cf66ee59c5d8a608b9 (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/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions