Home
last modified time | relevance | path

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

/frameworks/base/services/input/
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.mk24 InputManager.cpp \
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java19 import android.hardware.input.InputManager;
150 InputManager.getInstance().injectInputEvent(event, in injectKeyEvent()
151 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectKeyEvent()
157 InputManager.getInstance().injectInputEvent(event, in injectPointerEvent()
158 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectPointerEvent()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java50 public final class InputManager { class
58 private static InputManager sInstance;
173 private InputManager(IInputManager im) { in InputManager() method in InputManager
184 public static InputManager getInstance() { in getInstance()
185 synchronized (InputManager.class) { in getInstance()
188 sInstance = new InputManager(IInputManager.Stub.asInterface(b)); in getInstance()
753 InputManager.this.onInputDevicesChanged(deviceIdAndGeneration); in onInputDevicesChanged()
/frameworks/base/core/java/android/view/
DKeyCharacterMap.java24 import android.hardware.input.InputManager;
331 final InputManager im = InputManager.getInstance(); in load()
685 return InputManager.getInstance().deviceHasKeys(new int[] { keyCode })[0]; in deviceHasKey()
699 return InputManager.getInstance().deviceHasKeys(keyCodes); in deviceHasKeys()
DInputDevice.java20 import android.hardware.input.InputManager;
367 return InputManager.getInstance().getInputDevice(id); in getDevice()
375 return InputManager.getInstance().getInputDeviceIds(); in getDeviceIds()
589 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator()
/frameworks/base/services/java/com/android/server/input/
DInputManagerService.java47 import android.hardware.input.InputManager;
457 if (mode != InputManager.INJECT_INPUT_EVENT_MODE_ASYNC in injectInputEvent()
458 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEvent()
459 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) { in injectInputEvent()
746 Intent intent = new Intent(InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS); in visitAllKeyboardLayouts()
775 int configResId = metaData.getInt(InputManager.META_DATA_KEYBOARD_LAYOUTS); in visitKeyboardLayoutsInPackage()
777 Log.w(TAG, "Missing meta-data '" + InputManager.META_DATA_KEYBOARD_LAYOUTS in visitKeyboardLayoutsInPackage()
1030 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { in tryPointerSpeed()
1043 speed = Math.min(Math.max(speed, InputManager.MIN_POINTER_SPEED), in setPointerSpeedUnchecked()
1044 InputManager.MAX_POINTER_SPEED); in setPointerSpeedUnchecked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java26 import android.hardware.input.InputManager;
283 InputManager.getInstance().injectInputEvent(ev, in sendEvent()
284 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/frameworks/base/services/java/com/android/server/
DVibratorService.java25 import android.hardware.input.InputManager;
46 implements InputManager.InputDeviceListener {
56 private InputManager mIm;
141 mIm = (InputManager)mContext.getSystemService(Context.INPUT_SERVICE); in systemReady()
/frameworks/base/core/java/android/app/
DInstrumentation.java26 import android.hardware.input.InputManager;
886 InputManager.getInstance().injectInputEvent(newEvent, in sendKeySync()
887 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendKeySync()
929 InputManager.getInstance().injectInputEvent(event, in sendPointerSync()
930 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendPointerSync()
949 InputManager.getInstance().injectInputEvent(event, in sendTrackballEventSync()
950 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendTrackballEventSync()
DContextImpl.java50 import android.hardware.input.InputManager;
337 return InputManager.getInstance(); in registerService()
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
DInteractionController.java26 import android.hardware.input.InputManager;
496 return InputManager.getInstance().injectInputEvent(event, in injectEventSync()
497 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectEventSync()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java24 import android.hardware.input.InputManager;
25 import android.hardware.input.InputManager.InputDeviceListener;
95 private final InputManager mIm;
124 mIm = (InputManager)c.getSystemService(Context.INPUT_SERVICE); in PointerLocationView()
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityManagerService.java44 import android.hardware.input.InputManager;
1759 InputManager.getInstance().injectInputEvent(down, in sendDownAndUpKeyEvents()
1760 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendDownAndUpKeyEvents()
1768 InputManager.getInstance().injectInputEvent(up, in sendDownAndUpKeyEvents()
1769 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendDownAndUpKeyEvents()
/frameworks/base/services/jni/
Dcom_android_server_input_InputManagerService.cpp163 inline sp<InputManager> getInputManager() const { return mInputManager; } in getInputManager()
217 sp<InputManager> mInputManager;
291 mInputManager = new InputManager(eventHub, this, this); in NativeInputManager()
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd774 <p>The new {@link android.hardware.input.InputManager} class allows you to query the
781 {@link android.hardware.input.InputManager#getInputDeviceIds()}. This returns
783 {@link android.hardware.input.InputManager#getInputDevice getInputDevice()} to acquire
787 implement the {@link android.hardware.input.InputManager.InputDeviceListener} interface and
788 register it with {@link android.hardware.input.InputManager#registerInputDeviceListener
/frameworks/base/api/
Dcurrent.txt9931 public final class InputManager {
9934 …method public void registerInputDeviceListener(android.hardware.input.InputManager.InputDeviceList…
9935 …method public void unregisterInputDeviceListener(android.hardware.input.InputManager.InputDeviceLi…
9940 public static abstract interface InputManager.InputDeviceListener {
D16.txt9931 public final class InputManager {
9934 …method public void registerInputDeviceListener(android.hardware.input.InputManager.InputDeviceList…
9935 …method public void unregisterInputDeviceListener(android.hardware.input.InputManager.InputDeviceLi…
9940 public static abstract interface InputManager.InputDeviceListener {