/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubblesNavBarGestureTracker.java | 47 private InputMonitor mInputMonitor; field in BubblesNavBarGestureTracker 66 mInputMonitor = mContext.getSystemService(InputManager.class) in start() 68 InputChannel inputChannel = mInputMonitor.getInputChannel(); in start() 87 if (mInputMonitor != null) { in stopInternal() 88 mInputMonitor.dispose(); in stopInternal() 89 mInputMonitor = null; in stopInternal() 95 if (mInputMonitor != null) { in onInterceptTouch() 96 mInputMonitor.pilferPointers(); in onInterceptTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/ |
D | InputSession.java | 41 private final InputMonitorCompat mInputMonitor; field in InputSession 69 mInputMonitor = inputMonitor; in InputSession() 72 mInputEventReceiver = mInputMonitor.getInputReceiver(looper, choreographer, in InputSession() 83 mInputMonitor.pilferPointers(); in InputSession() 97 if (mInputMonitor != null) { in dispose() 98 mInputMonitor.dispose(); in dispose()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputMonitorCompat.java | 36 private final InputMonitor mInputMonitor; field in InputMonitorCompat 44 mInputMonitor = InputManagerGlobal.getInstance() in InputMonitorCompat() 55 mInputMonitor.pilferPointers(); in pilferPointers() 62 return mInputMonitor.getSurface(); in getSurface() 69 mInputMonitor.dispose(); in dispose() 81 return new InputEventReceiver(mName, mInputMonitor.getInputChannel(), looper, choreographer, in getInputReceiver()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/ |
D | InputSessionTest.java | 57 InputMonitorCompat mInputMonitor; field in InputSessionTest 85 when(mInputMonitor.getInputReceiver(any(), any(), any())) in createSession() 87 mSession = new InputSession(mInputMonitor, mGestureDetector, in createSession() 91 verify(mInputMonitor).getInputReceiver(any(), any(), listenerCaptor.capture()); in createSession() 105 verify(mInputMonitor).pilferPointers(); in testPilferOnMotionEventGestureConsume() 118 verify(mInputMonitor, never()).pilferPointers(); in testNoPilferOnMotionEventGestureConsume() 130 verify(mInputMonitor, never()).pilferPointers(); in testNoPilferOnInputEvent() 142 verify(mInputMonitor, times(1)).pilferPointers(); in testPilferOnce() 152 verify(mInputMonitor).dispose(); in testDispose()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedTouchHandler.java | 49 InputMonitor mInputMonitor; field in OneHandedTouchHandler 113 if (mInputMonitor != null) { in disposeInputChannel() 114 mInputMonitor.dispose(); in disposeInputChannel() 115 mInputMonitor = null; in disposeInputChannel() 132 mInputMonitor = InputManagerGlobal.getInstance().monitorGestureInput( in updateIsEnabled() 137 mInputMonitor.getInputChannel(), Looper.myLooper()); in updateIsEnabled()
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | UnresponsiveGestureMonitorActivity.kt | 45 private lateinit var mInputMonitor: InputMonitor variable in UnresponsiveGestureMonitorActivity 49 mInputMonitor = inputManager.monitorGestureInput(MONITOR_NAME, displayId) in onCreate() 51 mInputMonitor.getInputChannel(), Looper.myLooper()!!) in onCreate()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedTouchHandlerTest.java | 68 assertThat(mTouchHandler.mInputMonitor).isNull(); in testOneHandedDisabled_shouldDisposeInputChannel() 77 assertThat(mTouchHandler.mInputMonitor).isNotNull(); in testOneHandedEnabled_monitorInputChannel()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipResizeGestureHandler.java | 100 private InputMonitor mInputMonitor; field in PipResizeGestureHandler 172 if (mInputMonitor != null) { in disposeInputChannel() 173 mInputMonitor.dispose(); in disposeInputChannel() 174 mInputMonitor = null; in disposeInputChannel() 199 mInputMonitor = mContext.getSystemService(InputManager.class).monitorGestureInput( in updateIsEnabled() 204 mInputMonitor.getInputChannel(), Looper.myLooper()); in updateIsEnabled() 488 mInputMonitor.pilferPointers();
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipResizeGestureHandler.java | 105 private InputMonitor mInputMonitor; field in PipResizeGestureHandler 184 if (mInputMonitor != null) { in disposeInputChannel() 185 mInputMonitor.dispose(); in disposeInputChannel() 186 mInputMonitor = null; in disposeInputChannel() 211 mInputMonitor = mContext.getSystemService(InputManager.class).monitorGestureInput( in updateIsEnabled() 216 mInputMonitor.getInputChannel(), Looper.myLooper()); in updateIsEnabled() 486 mInputMonitor.pilferPointers(); in pilferPointers()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayController.java | 108 private InputMonitor mInputMonitor; field in ClipboardOverlayController 520 mInputMonitor = inputManager.monitorGestureInput("clipboard overlay", 0); in monitorOutsideTouches() 522 mInputMonitor.getInputChannel(), Looper.getMainLooper()) { in monitorOutsideTouches() 672 if (mInputMonitor != null) { in hideImmediate() 673 mInputMonitor.dispose(); in hideImmediate() 674 mInputMonitor = null; in hideImmediate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | EdgeBackGestureHandler.java | 271 private InputMonitorCompat mInputMonitor; field in EdgeBackGestureHandler 615 if (mInputMonitor != null) { in disposeInputChannel() 616 mInputMonitor.dispose(); in disposeInputChannel() 617 mInputMonitor = null; in disposeInputChannel() 685 mInputMonitor = new InputMonitorCompat("edge-swipe", mDisplayId); in updateIsEnabledInner() 686 mInputEventReceiver = mInputMonitor.getInputReceiver(mUiThreadContext.getLooper(), in updateIsEnabledInner() 1138 mInputMonitor.pilferPointers(); in pilferPointers()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorViewModel.java | 722 private InputMonitor mInputMonitor; field in DesktopModeWindowDecorViewModel.EventReceiver 726 mInputMonitor = inputMonitor; in EventReceiver() 736 .handleReceivedMotionEvent((MotionEvent) event, mInputMonitor); in onInputEvent() local 743 if (mInputMonitor != null) { in dispose() 744 mInputMonitor.dispose(); in dispose() 745 mInputMonitor = null; in dispose()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotView.java | 162 private InputMonitorCompat mInputMonitor; field in ScreenshotView 327 mInputMonitor = new InputMonitorCompat("Screenshot", mDefaultDisplay); in startInputListening() 328 mInputEventReceiver = mInputMonitor.getInputReceiver( in startInputListening() 342 if (mInputMonitor != null) { in stopInputListening() 343 mInputMonitor.dispose(); in stopInputListening() 344 mInputMonitor = null; in stopInputListening()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 659 private InputMonitor mInputMonitor; field in DisplayContent 1270 mInputMonitor = new InputMonitor(mWmService, this); in DisplayContent() 2956 mInputMonitor.layoutInputConsumers(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in onDisplayInfoChanged() 3350 mInputMonitor.onDisplayRemoved(); in removeImmediately() 3757 mInputMonitor.dump(pw, " "); in dump() 5157 mInputMonitor.setUpdateInputWindowsNeededLw(); in performLayoutNoTrace() 5159 mInputMonitor.updateInputWindowsLw(false /*force*/); in performLayoutNoTrace() 5617 return mInputMonitor; in getInputMonitor()
|