Home
last modified time | relevance | path

Searched refs:mDirectManipulationMode (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DDirectManipulationHandler.java111 private final DirectManipulationState mDirectManipulationMode; field in DirectManipulationHandler
120 mDirectManipulationMode = dmState; in DirectManipulationHandler()
132 + (mDirectManipulationMode.isActive() ? "active" : "inactive")); in onKey()
138 if (!mDirectManipulationMode.isActive() && isActionUp) { in onKey()
139 mDirectManipulationMode.enable(view); in onKey()
144 if (mDirectManipulationMode.isActive() && isActionUp) { in onKey()
145 mDirectManipulationMode.disable(); in onKey()
159 if (!mDirectManipulationMode.isActive()) { in onKey()
177 if (!mDirectManipulationMode.isActive()) { in onGenericMotion()
DRotaryDirectManipulationWidgets.java52 private final DirectManipulationState mDirectManipulationMode = new DirectManipulationState(); field in RotaryDirectManipulationWidgets
61 new DirectManipulationHandler.Builder(mDirectManipulationMode) in onCreateView()
69 new DirectManipulationHandler.Builder(mDirectManipulationMode) in onCreateView()
74 new DirectManipulationHandler.Builder(mDirectManipulationMode) in onCreateView()
100 mDirectManipulationMode) in onCreateView()
114 new DirectManipulationHandler.Builder(mDirectManipulationMode) in onCreateView()
120 new DirectManipulationHandler.Builder(mDirectManipulationMode) in onCreateView()
129 if (mDirectManipulationMode.isActive()) { in onPause()
132 mDirectManipulationMode.disable(); in onPause()
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/
DDirectManipulationHandler.java123 private final DirectManipulationState mDirectManipulationMode; field in DirectManipulationHandler
134 mDirectManipulationMode = dmState; in DirectManipulationHandler()
147 + (mDirectManipulationMode.isActive() ? "active" : "inactive")); in onKey()
149 boolean inDirectManipulationMode = mDirectManipulationMode.isActive(); in onKey()
156 mDirectManipulationMode.disable(); in onKey()
158 mDirectManipulationMode.enable(view); in onKey()
170 mDirectManipulationMode.disable(); in onKey()
202 if (!mDirectManipulationMode.isActive()) { in onGenericMotion()
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DDatePickerFragment.java48 private DirectManipulationState mDirectManipulationMode; field in DatePickerFragment
86 mDirectManipulationMode = new DirectManipulationState(); in onActivityCreated()
93 new DirectManipulationHandler.Builder(mDirectManipulationMode) in onActivityCreated()
119 new DirectManipulationHandler.Builder(mDirectManipulationMode) in onActivityCreated()
147 if (mDirectManipulationMode != null && mDirectManipulationMode.isActive()) { in onUxRestrictionsChanged()
148 mDirectManipulationMode.disable(); in onUxRestrictionsChanged()
DTimePickerFragment.java50 private DirectManipulationState mDirectManipulationMode; field in TimePickerFragment
89 mDirectManipulationMode = new DirectManipulationState(); in onActivityCreated()
97 new DirectManipulationHandler.Builder(mDirectManipulationMode) in onActivityCreated()
123 new DirectManipulationHandler.Builder(mDirectManipulationMode) in onActivityCreated()
151 if (mDirectManipulationMode != null && mDirectManipulationMode.isActive()) { in onUxRestrictionsChanged()
152 mDirectManipulationMode.disable(); in onUxRestrictionsChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingGridAdapter.java55 private final DirectManipulationState mDirectManipulationMode = new DirectManipulationState(); field in QuickSettingGridAdapter
226 new DirectManipulationHandler.Builder(mDirectManipulationMode) in registerDirectManipulation()