Home
last modified time | relevance | path

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

/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/core/java/android/hardware/input/
DInputManager.java53 public final class InputManager { class
61 private static InputManager sInstance;
176 private InputManager(IInputManager im) { in InputManager() method in InputManager
187 public static InputManager getInstance() { in getInstance()
188 synchronized (InputManager.class) { in getInstance()
191 sInstance = new InputManager(IInputManager.Stub.asInterface(b)); in getInstance()
815 InputManager.this.onInputDevicesChanged(deviceIdAndGeneration); in onInputDevicesChanged()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java19 import android.hardware.input.InputManager;
233 InputManager.getInstance().injectInputEvent(event, in injectKeyEvent()
234 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectKeyEvent()
259 InputManager.getInstance().injectInputEvent(event, in injectMotionEvent()
260 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectMotionEvent()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java23 import android.hardware.input.InputManager;
111 final int mode = (sync) ? InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEvent()
112 : InputManager.INJECT_INPUT_EVENT_MODE_ASYNC; in injectInputEvent()
115 return InputManager.getInstance().injectInputEvent(event, mode); in injectInputEvent()
DInstrumentation.java26 import android.hardware.input.InputManager;
899 InputManager.getInstance().injectInputEvent(newEvent, in sendKeySync()
900 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendKeySync()
942 InputManager.getInstance().injectInputEvent(event, in sendPointerSync()
943 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendPointerSync()
962 InputManager.getInstance().injectInputEvent(event, in sendTrackballEventSync()
963 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendTrackballEventSync()
DContextImpl.java70 import android.hardware.input.InputManager;
449 return InputManager.getInstance(); in registerService()
/frameworks/base/core/java/android/view/
DKeyCharacterMap.java24 import android.hardware.input.InputManager;
333 final InputManager im = InputManager.getInstance(); in load()
697 return InputManager.getInstance().deviceHasKeys(new int[] { keyCode })[0]; in deviceHasKey()
711 return InputManager.getInstance().deviceHasKeys(keyCodes); in deviceHasKeys()
DInputDevice.java21 import android.hardware.input.InputManager;
409 return InputManager.getInstance().getInputDevice(id); in getDevice()
417 return InputManager.getInstance().getInputDeviceIds(); in getDeviceIds()
624 return InputManager.getInstance().deviceHasKeys(mId, keys); in hasKeys()
709 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator()
/frameworks/base/docs/html/training/game-controllers/
Dcompatibility.jd84 <td>{@link android.hardware.input.InputManager#getInputDeviceIds()}</td>
91 <td>{@link android.hardware.input.InputManager#getInputDevice(int)
120 <td>{@link android.hardware.input.InputManager.InputDeviceListener#onInputDeviceAdded(int) onInputD…
127 <td>{@link android.hardware.input.InputManager.InputDeviceListener#onInputDeviceChanged(int) onInpu…
134 <td>{@link android.hardware.input.InputManager.InputDeviceListener#onInputDeviceRemoved(int) onInpu…
250 <dd>Mirrors {@link android.hardware.input.InputManager#getInputDevice(int)
254 <dd>Mirrors {@link android.hardware.input.InputManager#getInputDeviceIds()
260 …Mirrors {@link android.hardware.input.InputManager#registerInputDeviceListener(android.hardware.in…
264 …irrors {@link android.hardware.input.InputManager#unregisterInputDeviceListener(android.hardware.i…
279 <dd>Mirrors the {@link android.hardware.input.InputManager.InputDeviceListener}
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java24 import android.hardware.input.InputManager;
248 InputManager.getInstance().injectInputEvent(ev, in sendEvent()
249 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java53 import android.hardware.input.InputManager;
537 if (mode != InputManager.INJECT_INPUT_EVENT_MODE_ASYNC in injectInputEventInternal()
538 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEventInternal()
539 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) { in injectInputEventInternal()
890 Intent intent = new Intent(InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS); in visitAllKeyboardLayouts()
921 int configResId = metaData.getInt(InputManager.META_DATA_KEYBOARD_LAYOUTS); in visitKeyboardLayoutsInPackage()
923 Log.w(TAG, "Missing meta-data '" + InputManager.META_DATA_KEYBOARD_LAYOUTS in visitKeyboardLayoutsInPackage()
1218 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { in tryPointerSpeed()
1231 speed = Math.min(Math.max(speed, InputManager.MIN_POINTER_SPEED), in setPointerSpeedUnchecked()
1232 InputManager.MAX_POINTER_SPEED); in setPointerSpeedUnchecked()
[all …]
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java26 import android.hardware.input.InputManager;
56 implements InputManager.InputDeviceListener {
70 private InputManager mIm;
172 mIm = (InputManager)mContext.getSystemService(Context.INPUT_SERVICE); in systemReady()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java20 import android.hardware.input.InputManager;
487 InputManager.getInstance().injectInputEvent(keyEvent, in injectKeyEvent()
488 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 = (InputManager)c.getSystemService(Context.INPUT_SERVICE); in PointerLocationView()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp176 inline sp<InputManager> getInputManager() const { return mInputManager; } in getInputManager()
234 sp<InputManager> mInputManager;
297 mInputManager = new InputManager(eventHub, this, this); in NativeInputManager()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java47 import android.hardware.input.InputManager;
2774 InputManager.getInstance().injectInputEvent(down, in sendDownAndUpKeyEvents()
2775 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendDownAndUpKeyEvents()
2783 InputManager.getInstance().injectInputEvent(up, in sendDownAndUpKeyEvents()
2784 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendDownAndUpKeyEvents()
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd836 <p>The new {@link android.hardware.input.InputManager} class allows you to query the
843 {@link android.hardware.input.InputManager#getInputDeviceIds()}. This returns
845 {@link android.hardware.input.InputManager#getInputDevice getInputDevice()} to acquire
849 implement the {@link android.hardware.input.InputManager.InputDeviceListener} interface and
850 register it with {@link android.hardware.input.InputManager#registerInputDeviceListener
Dandroid-4.4.jd484 …ut device by registering an instance of {@link android.hardware.input.InputManager.InputDeviceList…
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java70 import android.hardware.input.InputManager;
3745 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in injectEvent()
/frameworks/base/
Dpreloaded-classes805 android.hardware.input.InputManager
806 android.hardware.input.InputManager$InputDevicesChangedListener
/frameworks/base/docs/html/
Dsitemap.txt1407 http://developer.android.com/reference/android/hardware/input/InputManager.html
3193 http://developer.android.com/reference/android/hardware/input/InputManager.InputDeviceListener.html
/frameworks/base/api/
Dsystem-current.txt13820 public final class InputManager {
13823 …method public void registerInputDeviceListener(android.hardware.input.InputManager.InputDeviceList…
13824 …method public void unregisterInputDeviceListener(android.hardware.input.InputManager.InputDeviceLi…
13829 public static abstract interface InputManager.InputDeviceListener {
Dcurrent.txt13220 public final class InputManager {
13223 …method public void registerInputDeviceListener(android.hardware.input.InputManager.InputDeviceList…
13224 …method public void unregisterInputDeviceListener(android.hardware.input.InputManager.InputDeviceLi…
13229 public static abstract interface InputManager.InputDeviceListener {