At the moment the settings app will make use of certain exposed
functions in InputManager that are being moved to a separate
class. This CL migrates those usages to the new internal API.
Bug: 267758905
Test: compiles, and should pass presubmit
Change-Id: I30dcb83aa1cc8830650fe856775a462ed37c2dda
- Currently most the sliders are implemented by
com.android.settings.widget.SeekBarPreference.
- Volume ones are implemented by VolumeSeekBarPreference, which resets
the OnSeekBarChangeListener, so need special handling.
- PointerSpeedPreference is standalone, added separately.
Bug: 230285829
Test: Verify trace via jank developer guideline.
Change-Id: Ia2978df196676ad6675d2834f6af6cb2aa9094cf
- in Pointer speed, perform haptic feedback as the seekbar's progress value is updated.
- screenshot, https://screenshot.googleplex.com/997TwHNc4TJtsG7
Bug: 174109628
Test: make -j42 RunSettingsRoboTests ROBOTEST_FILTER=PointerSpeedPreferenceTest
Change-Id: I385f290ae8ca39944eaeb054298db45da6acab4c