Home
last modified time | relevance | path

Searched refs:mInputManager (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java62 private InputManager mInputManager = mock(InputManager.class); field in KeyButtonViewTest
72 mKeyButtonView = new KeyButtonView(mContext, null, 0, mInputManager); in setup()
122 verify(mInputManager, times(1)).injectInputEvent(mInputEventCaptor.capture(), in testBubbleEvents_bubbleExpanded()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp204 inline sp<InputManager> getInputManager() const { return mInputManager; } in getInputManager()
280 sp<InputManager> mInputManager; member in android::NativeInputManager
352 mInputManager = new InputManager(this, this); in NativeInputManager()
354 mInputManager, false); in NativeInputManager()
380 mInputManager->getReader()->dump(dump); in dump()
383 mInputManager->getClassifier()->dump(dump); in dump()
386 mInputManager->getDispatcher()->dump(dump); in dump()
429 mInputManager->getReader()->requestRefreshConfiguration( in setDisplayViewports()
436 return mInputManager->getDispatcher()->registerInputChannel( in registerInputChannel()
443 return mInputManager->getDispatcher()->registerInputMonitor( in registerInputMonitor()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioningController.java43 private final InputManagerService mInputManager; field in TaskPositioningController
65 mInputManager = inputManager; in TaskPositioningController()
178 if (!mInputManager.transferTouchFocus( in startPositioningLocked()
DInputConsumerImpl.java68 mService.mInputManager.registerInputChannel(mServerChannel, null); in InputConsumerImpl()
160 mService.mInputManager.unregisterInputChannel(mServerChannel); in disposeChannelsLw()
DInputMonitor.java163 mService.mInputManager.onDisplayRemoved(mDisplayId); in onDisplayRemoved()
359 mService.mInputManager.setFocusedApplication(mDisplayId, null); in setFocusedAppLw()
365 mService.mInputManager.setFocusedApplication(mDisplayId, handle); in setFocusedAppLw()
DLetterbox.java180 mWmService.mInputManager.registerInputChannel(mServerChannel, mToken); in InputInterceptor()
213 mWmService.mInputManager.unregisterInputChannel(mServerChannel); in dispose()
DInputManagerCallback.java293 mService.mInputManager.setInputDispatchMode(mInputDispatchEnabled, mInputDispatchFrozen); in updateInputDispatchModeLw()
DTaskPositioner.java263 mService.mInputManager.registerInputChannel(mServerChannel, null); in register()
332 mService.mInputManager.unregisterInputChannel(mServerChannel); in unregister()
DDragState.java269 mService.mInputManager.registerInputChannel(mServerChannel, null); in InputInterceptor()
314 mService.mInputManager.unregisterInputChannel(mServerChannel); in tearDown()
DDragDropController.java153 mDragState, display, mService.mInputManager, in performDrag()
DWindowManagerService.java796 final InputManagerService mInputManager; field in WindowManagerService
1037 mInputManager = inputManager; // Must be before createDisplayContentLocked. in WindowManagerService()
1152 this, mInputManager, mActivityTaskManager, mH.getLooper()); in WindowManagerService()
3100 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getLidState()
3123 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getCameraLensCoverState()
3140 mInputManager.switchKeyboardLayout(deviceId, direction); in switchKeyboardLayout()
4425 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
4427 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); in detectSafeMode()
4428 int dpadState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_DPAD, in detectSafeMode()
4430 int trackballState = mInputManager.getScanCodeState(-1, InputDevice.SOURCE_TRACKBALL, in detectSafeMode()
[all …]
DDisplayContent.java925 final InputChannel inputChannel = mWmService.mInputManager.monitorInput( in DisplayContent()
1737 final InputDevice[] devices = mWmService.mInputManager.getInputDevices(); in computeScreenConfiguration()
1748 if (!mWmService.mInputManager.canDispatchToDisplay(device.getId(), in computeScreenConfiguration()
3634 mWmService.mInputManager.setSystemUiVisibility(visibility); in updateStatusBarVisibilityLocked()
DRootWindowContainer.java195 mWmService.mInputManager.setFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked()
DWindowState.java2197 mWmService.mInputManager.registerInputChannel(mInputChannel, mClient.asBinder()); in openInputChannel()
2208 mWmService.mInputManager.unregisterInputChannel(mInputChannel); in disposeInputChannel()
/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java89 private final InputManagerService mInputManager; field in WiredAccessoryManager
98 mInputManager = inputManager; in WiredAccessoryManager()
110 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) in onSystemReady()
114 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_MICROPHONE_INSERT) in onSystemReady()
118 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_LINEOUT_INSERT) == 1) { in onSystemReady()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDragDropControllerTests.java129 when(mWm.mInputManager.transferTouchFocus(any(), any())).thenReturn(true); in setUp()
183 assertTrue(mWm.mInputManager.transferTouchFocus(null, null)); in dragFlow()
DTaskPositioningControllerTests.java61 when(mWm.mInputManager.transferTouchFocus( in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java80 private final InputManager mInputManager; field in KeyButtonView
133 mInputManager = manager; in KeyButtonView()
364 mInputManager.injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()