aboutsummaryrefslogtreecommitdiff
path: root/RotaryPlayground/src/com/android/car/rotaryplayground/RotarySysUiDirectManipulationWidgets.java
AgeCommit message (Collapse)Author
2021-07-30Remove usage of deprecated DirectManipulationHelper methodsCole Faust
Bug: 190783163 Test: Compiling Change-Id: Ia32a3756335baa01ca73b5d867bd85001e3b2dc0
2020-06-11Add direct manipulation sys window widgets.Pardis Beikzadeh
In particular, adding 2 SeekBars and 2 RadialTimePickerViews. 2 because in a system window, a given View can be marked as "supports direct manipulation mode" or not. So we add 1 of each thing that supports DM mode and one that doesn't. For the ones that support, entering DM mode allows rotary controls to be used to manipulate the value. For the ones that don't, the event that would have entered DM mode instead triggers an ACTION_CLICK which in our implementation changes the background color on every other invocation. Test: manual, build, install, run the app BUG: 153888753 Change-Id: If1d4de9def33c8bf062e6f0ce202b99797e2d014