Home
last modified time | relevance | path

Searched refs:InputManager (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/services/inputflinger/
DInputManager.cpp27 InputManager::InputManager( in InputManager() function in android::InputManager
36 InputManager::InputManager( in InputManager() function in android::InputManager
44 InputManager::~InputManager() { in ~InputManager()
48 void InputManager::initialize() { in initialize()
53 status_t InputManager::start() { in start()
71 status_t InputManager::stop() { in stop()
85 sp<InputReaderInterface> InputManager::getReader() { in getReader()
89 sp<InputDispatcherInterface> InputManager::getDispatcher() { in getDispatcher()
DInputManager.h76 class InputManager : public InputManagerInterface {
78 virtual ~InputManager();
81 InputManager(
87 InputManager(
DAndroid.mk23 InputManager.cpp \
/frameworks/base/tools/layoutlib/bridge/tests/src/android/app/
DSystemServiceRegistry_AccessorTest.java22 import android.hardware.input.InputManager;
35 SystemServiceRegistry_Accessor.getSystemServiceName(InputManager.class)); in testRegistry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java31 import android.hardware.input.InputManager;
62 public class KeyboardUI extends SystemUI implements InputManager.OnTabletModeChangedListener {
112 private int mInTabletMode = InputManager.SWITCH_STATE_UNKNOWN;
154 if (inTabletMode && mInTabletMode != InputManager.SWITCH_STATE_ON in onTabletModeChanged()
155 || !inTabletMode && mInTabletMode != InputManager.SWITCH_STATE_OFF) { in onTabletModeChanged()
157 InputManager.SWITCH_STATE_ON : InputManager.SWITCH_STATE_OFF; in onTabletModeChanged()
188 InputManager im = context.getSystemService(InputManager.class); in init()
210 if (mInTabletMode != InputManager.SWITCH_STATE_OFF) { in processKeyboardState()
/frameworks/base/core/java/android/view/
DInputDevice.java21 import android.hardware.input.InputManager;
461 return InputManager.getInstance().getInputDevice(id); in getDevice()
469 return InputManager.getInstance().getInputDeviceIds(); in getDeviceIds()
676 return InputManager.getInstance().deviceHasKeys(mId, keys); in hasKeys()
761 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator()
793 InputManager.getInstance().setPointerIconType(pointerType); in setPointerType()
802 InputManager.getInstance().setCustomPointerIcon(icon); in setCustomPointerIcon()
DKeyCharacterMap.java19 import android.hardware.input.InputManager;
332 final InputManager im = InputManager.getInstance(); in load()
699 return InputManager.getInstance().deviceHasKeys(new int[] { keyCode })[0]; in deviceHasKey()
713 return InputManager.getInstance().deviceHasKeys(keyCodes); in deviceHasKeys()
DViewRootImpl.java55 import android.hardware.input.InputManager;
3388 InputManager.getInstance().requestPointerCapture(mAttachInfo.mWindowToken, enabled); in requestPointerCapture()
4860 InputManager.getInstance().setPointerIconType(pointerType); in updatePointerIcon()
4867 InputManager.getInstance().setCustomPointerIcon(mCustomPointerIcon); in updatePointerIcon()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java59 public final class InputManager { class
67 private static InputManager sInstance;
213 private InputManager(IInputManager im) { in InputManager() method in InputManager
224 public static InputManager getInstance() { in getInstance()
225 synchronized (InputManager.class) { in getInstance()
228 sInstance = new InputManager(IInputManager.Stub in getInstance()
1061 InputManager.this.onInputDevicesChanged(deviceIdAndGeneration); in onInputDevicesChanged()
1104 InputManager.this.onTabletModeChanged(whenNanos, inTabletMode); in onTabletModeChanged()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java19 import android.hardware.input.InputManager;
272 InputManager.getInstance().injectInputEvent(event, in injectKeyEvent()
273 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectKeyEvent()
309 InputManager.getInstance().injectInputEvent(event, in injectMotionEvent()
310 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectMotionEvent()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java20 import android.hardware.input.InputManager;
99 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_NOT_SPECIFIED); in updatePointerIcon()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java24 import android.hardware.input.InputManager;
118 final int mode = (sync) ? InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEvent()
119 : InputManager.INJECT_INPUT_EVENT_MODE_ASYNC; in injectInputEvent()
122 return InputManager.getInstance().injectInputEvent(event, mode); in injectInputEvent()
DInstrumentation.java27 import android.hardware.input.InputManager;
1005 InputManager.getInstance().injectInputEvent(newEvent, in sendKeySync()
1006 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendKeySync()
1048 InputManager.getInstance().injectInputEvent(event, in sendPointerSync()
1049 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendPointerSync()
1068 InputManager.getInstance().injectInputEvent(event, in sendTrackballEventSync()
1069 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendTrackballEventSync()
DSystemServiceRegistry.java54 import android.hardware.input.InputManager;
326 registerService(Context.INPUT_SERVICE, InputManager.class, in registerService()
327 new StaticServiceFetcher<InputManager>() { in registerService()
329 public InputManager createService() { in registerService()
330 return InputManager.getInstance(); in registerService()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java21 import android.hardware.input.InputManager;
94 InputManager.getInstance().setPointerIconType(mPointerIconType); in onPointerEvent()
DDragState.java30 import android.hardware.input.InputManager;
622 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java25 import android.hardware.input.InputManager;
270 InputManager.getInstance().injectInputEvent(ev, in sendEvent()
271 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java64 import android.hardware.input.InputManager;
601 if (mode != InputManager.INJECT_INPUT_EVENT_MODE_ASYNC in injectInputEventInternal()
602 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEventInternal()
603 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) { in injectInputEventInternal()
1138 Intent intent = new Intent(InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS); in visitAllKeyboardLayouts()
1172 int configResId = metaData.getInt(InputManager.META_DATA_KEYBOARD_LAYOUTS); in visitKeyboardLayoutsInPackage()
1174 Slog.w(TAG, "Missing meta-data '" + InputManager.META_DATA_KEYBOARD_LAYOUTS in visitKeyboardLayoutsInPackage()
1604 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { in tryPointerSpeed()
1617 speed = Math.min(Math.max(speed, InputManager.MIN_POINTER_SPEED), in setPointerSpeedUnchecked()
1618 InputManager.MAX_POINTER_SPEED); in setPointerSpeedUnchecked()
[all …]
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java27 import android.hardware.input.InputManager;
69 implements InputManager.InputDeviceListener {
89 private InputManager mIm;
244 mIm = mContext.getSystemService(InputManager.class); in systemReady()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java20 import android.hardware.input.InputManager;
501 InputManager.getInstance().injectInputEvent(keyEvent, in injectKeyEvent()
502 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in injectKeyEvent()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java24 import android.hardware.input.InputManager;
25 import android.hardware.input.InputManager.InputDeviceListener;
110 private final InputManager mIm;
140 mIm = c.getSystemService(InputManager.class); in PointerLocationView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java36 import android.hardware.input.InputManager;
349 final InputManager inputManager = InputManager.getInstance(); in retrieveKeyCharacterMap()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp190 inline sp<InputManager> getInputManager() const { return mInputManager; } in getInputManager()
258 sp<InputManager> mInputManager;
327 mInputManager = new InputManager(eventHub, this, this); in NativeInputManager()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java54 import android.hardware.input.InputManager;
3981 InputManager.getInstance().injectInputEvent(down, in sendDownAndUpKeyEvents()
3982 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendDownAndUpKeyEvents()
3990 InputManager.getInstance().injectInputEvent(up, in sendDownAndUpKeyEvents()
3991 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendDownAndUpKeyEvents()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java138 import android.hardware.input.InputManager;
4710 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in injectEvent()

12