Home
last modified time | relevance | path

Searched refs:mInputManager (Results 1 – 16 of 16) 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.cpp203 inline sp<InputManager> getInputManager() const { return mInputManager; } in getInputManager()
278 sp<InputManager> mInputManager; member in android::NativeInputManager
351 mInputManager = new InputManager(this, this); in NativeInputManager()
353 mInputManager, false); in NativeInputManager()
379 mInputManager->getReader()->dump(dump); in dump()
382 mInputManager->getClassifier()->dump(dump); in dump()
385 mInputManager->getDispatcher()->dump(dump); in dump()
438 mInputManager->getReader()->requestRefreshConfiguration( in setDisplayViewports()
445 return mInputManager->getDispatcher()->registerInputChannel( in registerInputChannel()
452 return mInputManager->getDispatcher()->registerInputMonitor( in registerInputMonitor()
[all …]
/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/core/java/com/android/server/wm/
DInputConsumerImpl.java68 mService.mInputManager.registerInputChannel(mServerChannel, null); in InputConsumerImpl()
160 mService.mInputManager.unregisterInputChannel(mServerChannel); in disposeChannelsLw()
DTaskPositioningController.java44 private final InputManagerService mInputManager; field in TaskPositioningController
67 mInputManager = inputManager; in TaskPositioningController()
DLetterbox.java180 mWmService.mInputManager.registerInputChannel(mServerChannel, mToken); in InputInterceptor()
213 mWmService.mInputManager.unregisterInputChannel(mServerChannel); in dispose()
DInputMonitor.java163 mService.mInputManager.onDisplayRemoved(mDisplayId); in onDisplayRemoved()
359 mService.mInputManager.setFocusedApplication(mDisplayId, null); in setFocusedAppLw()
365 mService.mInputManager.setFocusedApplication(mDisplayId, handle); in setFocusedAppLw()
DInputManagerCallback.java293 mService.mInputManager.setInputDispatchMode(mInputDispatchEnabled, mInputDispatchFrozen); in updateInputDispatchModeLw()
DTaskPositioner.java262 mService.mInputManager.registerInputChannel(mServerChannel, null); in register()
330 mService.mInputManager.unregisterInputChannel(mServerChannel); in unregister()
DDragState.java271 mService.mInputManager.registerInputChannel(mServerChannel, null); in InputInterceptor()
316 mService.mInputManager.unregisterInputChannel(mServerChannel); in tearDown()
DDragDropController.java153 mDragState, display, mService.mInputManager, in performDrag()
DWindowManagerService.java796 final InputManagerService mInputManager; field in WindowManagerService
1027 mInputManager = inputManager; // Must be before createDisplayContentLocked. in WindowManagerService()
1142 this, mInputManager, mActivityTaskManager, mH.getLooper()); in WindowManagerService()
3085 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getLidState()
3108 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getCameraLensCoverState()
3125 mInputManager.switchKeyboardLayout(deviceId, direction); in switchKeyboardLayout()
4410 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
4412 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); in detectSafeMode()
4413 int dpadState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_DPAD, in detectSafeMode()
4415 int trackballState = mInputManager.getScanCodeState(-1, InputDevice.SOURCE_TRACKBALL, in detectSafeMode()
[all …]
DDisplayContent.java920 final InputChannel inputChannel = mWmService.mInputManager.monitorInput( in DisplayContent()
1731 final InputDevice[] devices = mWmService.mInputManager.getInputDevices(); in computeScreenConfiguration()
1742 if (!mWmService.mInputManager.canDispatchToDisplay(device.getId(), in computeScreenConfiguration()
3622 mWmService.mInputManager.setSystemUiVisibility(visibility); in updateStatusBarVisibilityLocked()
DRootWindowContainer.java195 mWmService.mInputManager.setFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked()
DWindowState.java2157 mWmService.mInputManager.registerInputChannel(mInputChannel, mClient.asBinder()); in openInputChannel()
2168 mWmService.mInputManager.unregisterInputChannel(mInputChannel); in disposeInputChannel()
/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()