Home
last modified time | relevance | path

Searched refs:mInputMonitor (Results 1 – 16 of 16) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DInputMonitorCompat.java30 private final InputMonitor mInputMonitor; field in InputMonitorCompat
36 mInputMonitor = InputManager.getInstance().monitorGestureInput(name, displayId); in InputMonitorCompat()
43 mInputMonitor.pilferPointers(); in pilferPointers()
50 mInputMonitor.dispose(); in dispose()
58 return new InputEventReceiver(mInputMonitor.getInputChannel(), looper, choreographer, in getInputReceiver()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedTouchHandler.java49 InputMonitor mInputMonitor; field in OneHandedTouchHandler
113 if (mInputMonitor != null) { in disposeInputChannel()
114 mInputMonitor.dispose(); in disposeInputChannel()
115 mInputMonitor = null; in disposeInputChannel()
132 mInputMonitor = InputManager.getInstance().monitorGestureInput( in updateIsEnabled()
137 mInputMonitor.getInputChannel(), Looper.myLooper()); in updateIsEnabled()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/displayarea/
H A DCarDisplayAreaTouchHandler.java41 private InputMonitor mInputMonitor; field in CarDisplayAreaTouchHandler
139 if (mInputMonitor != null) { in disposeInputChannel()
140 mInputMonitor.dispose(); in disposeInputChannel()
141 mInputMonitor = null; in disposeInputChannel()
154 mInputMonitor = InputManager.getInstance().monitorGestureInput( in updateIsEnabled()
159 mInputMonitor.getInputChannel(), Looper.myLooper()); in updateIsEnabled()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
H A DSysUiOverlayInputConsumer.java41 private final InputMonitorCompat mInputMonitor; field in SysUiOverlayInputConsumer
49 mInputMonitor = inputMonitor; in SysUiOverlayInputConsumer()
70 if (mInputMonitor != null) { in onInterceptTouch()
72 mInputMonitor.pilferPointers(); in onInterceptTouch()
H A DOverviewWithoutFocusInputConsumer.java44 private final InputMonitorCompat mInputMonitor; field in OverviewWithoutFocusInputConsumer
53 mInputMonitor = inputMonitor; in OverviewWithoutFocusInputConsumer()
74 if (mInputMonitor != null) { in onInterceptTouch()
76 mInputMonitor.pilferPointers(); in onInterceptTouch()
H A DOverviewInputConsumer.java50 private final InputMonitorCompat mInputMonitor; field in OverviewInputConsumer
60 mInputMonitor = inputMonitor; in OverviewInputConsumer()
96 if (mInputMonitor != null) { in onMotionEvent()
98 mInputMonitor.pilferPointers(); in onMotionEvent()
H A DDelegateInputConsumer.java18 protected final InputMonitorCompat mInputMonitor; field in DelegateInputConsumer
24 mInputMonitor = inputMonitor; in DelegateInputConsumer()
49 mInputMonitor.pilferPointers(); in setActive()
/aosp12/frameworks/base/tests/Input/src/com/android/test/input/
H A DUnresponsiveGestureMonitorActivity.kt45 private lateinit var mInputMonitor: InputMonitor
48 mInputMonitor = InputManager.getInstance().monitorGestureInput(MONITOR_NAME, displayId)
50 mInputMonitor.getInputChannel(), Looper.myLooper())
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipResizeGestureHandler.java115 private InputMonitor mInputMonitor; field in PipResizeGestureHandler
196 if (mInputMonitor != null) { in disposeInputChannel()
197 mInputMonitor.dispose(); in disposeInputChannel()
198 mInputMonitor = null; in disposeInputChannel()
223 mInputMonitor = InputManager.getInstance().monitorGestureInput( in updateIsEnabled()
228 mInputMonitor.getInputChannel(), Looper.myLooper()); in updateIsEnabled()
483 mInputMonitor.pilferPointers(); in onDragCornerResize()
585 mInputMonitor.pilferPointers();
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
H A DOneHandedTouchHandlerTest.java68 assertThat(mTouchHandler.mInputMonitor).isNull(); in testOneHandedDisabled_shouldDisposeInputChannel()
77 assertThat(mTouchHandler.mInputMonitor).isNotNull(); in testOneHandedEnabled_monitorInputChannel()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DInputMonitor.java120 private InputMonitor mInputMonitor; field in InputMonitor.EventReceiverInputConsumer
129 mInputMonitor = monitor; in EventReceiverInputConsumer()
137 mInputMonitor.mInputConsumers.remove(mName); in dismiss()
138 hide(mInputMonitor.mInputTransaction); in dismiss()
139 mInputMonitor.updateInputWindowsLw(true /* force */); in dismiss()
146 disposeChannelsLw(mInputMonitor.mInputTransaction); in dispose()
148 mInputMonitor.updateInputWindowsLw(true /* force */); in dispose()
H A DDisplayContent.java589 private InputMonitor mInputMonitor; field in DisplayContent
1116 mInputMonitor = new InputMonitor(mWmService, this); in DisplayContent()
2722 mInputMonitor.layoutInputConsumers(info.logicalWidth, info.logicalHeight); in onDisplayInfoChanged()
3129 mInputMonitor.onDisplayRemoved(); in removeImmediately()
3433 mInputMonitor.dump(pw, " "); in dump()
3715 mInputMonitor.setUpdateInputWindowsNeededLw(); in layoutAndAssignWindowLayersIfNeeded()
3717 mInputMonitor.updateInputWindowsLw(false /*force*/); in layoutAndAssignWindowLayersIfNeeded()
4602 mInputMonitor.setUpdateInputWindowsNeededLw(); in performLayoutNoTrace()
4604 mInputMonitor.updateInputWindowsLw(false /*force*/); in performLayoutNoTrace()
5103 return mInputMonitor; in getInputMonitor()
/aosp12/packages/services/Car/experimental/service/src/com/android/experimentalcar/
H A DTouchDriverAwarenessSupplier.java81 private InputMonitor mInputMonitor; field in TouchDriverAwarenessSupplier
170 mInputMonitor = inputManager.monitorGestureInput( in startTouchMonitoring()
174 mInputMonitor.getInputChannel(), in startTouchMonitoring()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DEdgeBackGestureHandler.java234 private InputMonitor mInputMonitor; field in EdgeBackGestureHandler
441 if (mInputMonitor != null) { in disposeInputChannel()
442 mInputMonitor.dispose(); in disposeInputChannel()
443 mInputMonitor = null; in disposeInputChannel()
494 mInputMonitor = InputManager.getInstance().monitorGestureInput( in updateIsEnabled()
497 mInputMonitor.getInputChannel(), Looper.getMainLooper(), in updateIsEnabled()
825 mInputMonitor.pilferPointers(); in onMotionEvent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotView.java165 private InputMonitorCompat mInputMonitor; field in ScreenshotView
306 mInputMonitor = new InputMonitorCompat("Screenshot", Display.DEFAULT_DISPLAY); in startInputListening()
307 mInputEventReceiver = mInputMonitor.getInputReceiver( in startInputListening()
321 if (mInputMonitor != null) { in stopInputListening()
322 mInputMonitor.dispose(); in stopInputListening()
323 mInputMonitor = null; in stopInputListening()
/aosp12/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/
H A DDriverDistractionExperimentalFeatureServiceTest.java142 private InputMonitor mInputMonitor; field in DriverDistractionExperimentalFeatureServiceTest
227 when(mInputManager.monitorGestureInput(any(), anyInt())).thenReturn(mInputMonitor); in testInit_bindsToServicesInXmlConfig()
231 when(mInputMonitor.getInputChannel()).thenReturn(inputChannels[1]); in testInit_bindsToServicesInXmlConfig()