Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioningController.java39 private final InputManagerService mInputManager; field in TaskPositioningController
59 mInputManager = inputManager; in TaskPositioningController()
142 if (!mInputManager.transferTouchFocus( in startPositioningLocked()
DInputConsumerImpl.java59 mService.mInputManager.registerInputChannel(mServerChannel, null); in InputConsumerImpl()
121 mService.mInputManager.unregisterInputChannel(mServerChannel); in disposeChannelsLw()
DInputMonitor.java525 mService.mInputManager.setFocusedApplication(null); in setFocusedAppLw()
531 mService.mInputManager.setFocusedApplication(handle); in setFocusedAppLw()
596 mService.mInputManager.setInputDispatchMode(mInputDispatchEnabled, mInputDispatchFrozen); in updateInputDispatchModeLw()
645 mService.mInputManager.setInputWindows(mInputWindowHandles, mFocusedInputWindowHandle); in updateInputWindows()
DDragState.java217 mService.mInputManager.registerInputChannel(mServerChannel, null); in InputInterceptor()
262 mService.mInputManager.unregisterInputChannel(mServerChannel); in tearDown()
DTaskPositioner.java249 mService.mInputManager.registerInputChannel(mServerChannel, null); in register()
314 mService.mInputManager.unregisterInputChannel(mServerChannel); in unregister()
DDragDropController.java157 mDragState, display, mService.mInputManager, in performDrag()
DWindowManagerService.java731 final InputManagerService mInputManager; field in WindowManagerService
947 mInputManager = inputManager; // Must be before createDisplayContentLocked. in WindowManagerService()
963 if(mInputManager != null) { in WindowManagerService()
964 final InputChannel inputChannel = mInputManager.monitorInput(TAG_WM); in WindowManagerService()
1070 this, mInputManager, mInputMonitor, mActivityManager, mH.getLooper()); in WindowManagerService()
3218 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getLidState()
3241 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getCameraLensCoverState()
3258 mInputManager.switchKeyboardLayout(deviceId, direction); in switchKeyboardLayout()
4490 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
4492 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); in detectSafeMode()
[all …]
DWindowState.java2160 mService.mInputManager.registerInputChannel(mInputChannel, mInputWindowHandle); in openInputChannel()
2171 mService.mInputManager.unregisterInputChannel(mInputChannel); in disposeInputChannel()
DDisplayContent.java1327 final InputDevice[] devices = mService.mInputManager.getInputDevices(); in computeScreenConfiguration()
/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java85 private final InputManagerService mInputManager; field in WiredAccessoryManager
94 mInputManager = inputManager; in WiredAccessoryManager()
105 … if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) { in onSystemReady()
108 … if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_MICROPHONE_INSERT) == 1) { in onSystemReady()
111 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_LINEOUT_INSERT) == 1) { in onSystemReady()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp202 inline sp<InputManager> getInputManager() const { return mInputManager; } in getInputManager()
271 sp<InputManager> mInputManager; member in android::NativeInputManager
343 mInputManager = new InputManager(eventHub, this, this); in NativeInputManager()
370 mInputManager->getReader()->dump(dump); in dump()
373 mInputManager->getDispatcher()->dump(dump); in dump()
412 mInputManager->getReader()->requestRefreshConfiguration( in setVirtualDisplayViewports()
446 mInputManager->getReader()->requestRefreshConfiguration( in setDisplayViewport()
455 return mInputManager->getDispatcher()->registerInputChannel( in registerInputChannel()
462 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); in unregisterInputChannel()
759 mInputManager->getDispatcher()->setInputWindows(windowHandles); in setInputWindows()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DDragDropControllerTests.java117 when(sWm.mInputManager.transferTouchFocus(any(), any())).thenReturn(true); in setUp()
172 assertTrue(sWm.mInputManager.transferTouchFocus(null, null)); in dragFlow()
DTaskPositioningControllerTests.java57 when(sWm.mInputManager.transferTouchFocus( in setUp()