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/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;
451 return InputManager.getInstance().getInputDevice(id); in getDevice()
459 return InputManager.getInstance().getInputDeviceIds(); in getDeviceIds()
666 return InputManager.getInstance().deviceHasKeys(mId, keys); in hasKeys()
751 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator()
783 InputManager.getInstance().setPointerIconType(pointerType); in setPointerType()
792 InputManager.getInstance().setCustomPointerIcon(icon); in setCustomPointerIcon()
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()
DViewRootImpl.java51 import android.hardware.input.InputManager;
4510 InputManager.getInstance().setPointerIconType(pointerType); in updatePointerIcon()
4517 InputManager.getInstance().setCustomPointerIcon(mCustomPointerIcon); in updatePointerIcon()
/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()
270 InputManager.getInstance().injectInputEvent(event, in injectMotionEvent()
271 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectMotionEvent()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java60 public final class InputManager { class
68 private static InputManager sInstance;
214 private InputManager(IInputManager im) { in InputManager() method in InputManager
225 public static InputManager getInstance() { in getInstance()
226 synchronized (InputManager.class) { in getInstance()
229 sInstance = new InputManager(IInputManager.Stub.asInterface(b)); in getInstance()
1039 InputManager.this.onInputDevicesChanged(deviceIdAndGeneration); in onInputDevicesChanged()
1082 InputManager.this.onTabletModeChanged(whenNanos, inTabletMode); in onTabletModeChanged()
/frameworks/base/docs/html/training/game-controllers/
Dcompatibility.jd83 <td>{@link android.hardware.input.InputManager#getInputDeviceIds()}</td>
89 <td>{@link android.hardware.input.InputManager#getInputDevice(int)
114 <td>{@link android.hardware.input.InputManager.InputDeviceListener#onInputDeviceAdded(int) onInputD…
120 <td>{@link android.hardware.input.InputManager.InputDeviceListener#onInputDeviceChanged(int) onInpu…
126 <td>{@link android.hardware.input.InputManager.InputDeviceListener#onInputDeviceRemoved(int) onInpu…
237 <dd>Mirrors {@link android.hardware.input.InputManager#getInputDevice(int)
241 <dd>Mirrors {@link android.hardware.input.InputManager#getInputDeviceIds()
247 …Mirrors {@link android.hardware.input.InputManager#registerInputDeviceListener(android.hardware.in…
251 …irrors {@link android.hardware.input.InputManager#unregisterInputDeviceListener(android.hardware.i…
266 <dd>Mirrors the {@link android.hardware.input.InputManager.InputDeviceListener}
[all …]
/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;
911 InputManager.getInstance().injectInputEvent(newEvent, in sendKeySync()
912 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendKeySync()
954 InputManager.getInstance().injectInputEvent(event, in sendPointerSync()
955 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendPointerSync()
974 InputManager.getInstance().injectInputEvent(event, in sendTrackballEventSync()
975 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendTrackballEventSync()
DSystemServiceRegistry.java53 import android.hardware.input.InputManager;
294 registerService(Context.INPUT_SERVICE, InputManager.class, in registerService()
295 new StaticServiceFetcher<InputManager>() { in registerService()
297 public InputManager createService() { in registerService()
298 return InputManager.getInstance(); in registerService()
DActivity.java56 import android.hardware.input.InputManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java27 import android.hardware.input.InputManager;
249 InputManager.getInstance().injectInputEvent(ev, in sendEvent()
250 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java60 import android.hardware.input.InputManager;
586 if (mode != InputManager.INJECT_INPUT_EVENT_MODE_ASYNC in injectInputEventInternal()
587 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEventInternal()
588 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) { in injectInputEventInternal()
1123 Intent intent = new Intent(InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS); in visitAllKeyboardLayouts()
1157 int configResId = metaData.getInt(InputManager.META_DATA_KEYBOARD_LAYOUTS); in visitKeyboardLayoutsInPackage()
1159 Slog.w(TAG, "Missing meta-data '" + InputManager.META_DATA_KEYBOARD_LAYOUTS in visitKeyboardLayoutsInPackage()
1556 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { in tryPointerSpeed()
1569 speed = Math.min(Math.max(speed, InputManager.MIN_POINTER_SPEED), in setPointerSpeedUnchecked()
1570 InputManager.MAX_POINTER_SPEED); in setPointerSpeedUnchecked()
[all …]
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java26 import android.hardware.input.InputManager;
60 implements InputManager.InputDeviceListener {
77 private InputManager mIm;
227 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/services/core/java/com/android/server/wm/
DDragState.java30 import android.hardware.input.InputManager;
595 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java36 import android.hardware.input.InputManager;
336 final InputManager inputManager = InputManager.getInstance(); in retrieveKeyCharacterMap()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp189 inline sp<InputManager> getInputManager() const { return mInputManager; } in getInputManager()
255 sp<InputManager> mInputManager;
319 mInputManager = new InputManager(eventHub, this, this); in NativeInputManager()
/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
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java51 import android.hardware.input.InputManager;
3347 InputManager.getInstance().injectInputEvent(down, in sendDownAndUpKeyEvents()
3348 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendDownAndUpKeyEvents()
3356 InputManager.getInstance().injectInputEvent(up, in sendDownAndUpKeyEvents()
3357 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendDownAndUpKeyEvents()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java53 import android.hardware.input.InputManager;
4092 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in injectEvent()

12