Home
last modified time | relevance | path

Searched refs:InputManager (Results 1 – 25 of 37) 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.bp23 "InputManager.cpp",
/frameworks/base/core/java/android/view/
DInputDevice.java23 import android.hardware.input.InputManager;
463 return InputManager.getInstance().getInputDevice(id); in getDevice()
471 return InputManager.getInstance().getInputDeviceIds(); in getDeviceIds()
678 return InputManager.getInstance().deviceHasKeys(mId, keys); in hasKeys()
763 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator()
777 return InputManager.getInstance().isInputDeviceEnabled(mId); in isEnabled()
788 InputManager.getInstance().enableInputDevice(mId); in enable()
799 InputManager.getInstance().disableInputDevice(mId); in disable()
825 InputManager.getInstance().setPointerIconType(pointerType); in setPointerType()
834 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()
/frameworks/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/hardware/input/
DInputManager.java57 public final class InputManager { class
65 private static InputManager sInstance;
215 private InputManager(IInputManager im) { in InputManager() method in InputManager
226 public static InputManager getInstance() { in getInstance()
227 synchronized (InputManager.class) { in getInstance()
230 sInstance = new InputManager(IInputManager.Stub in getInstance()
1092 InputManager.this.onInputDevicesChanged(deviceIdAndGeneration); in onInputDevicesChanged()
1135 InputManager.this.onTabletModeChanged(whenNanos, inTabletMode); in onTabletModeChanged()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DGlobalActionPerformer.java22 import android.hardware.input.InputManager;
124 InputManager.getInstance() in sendKeyEventIdentityCleared()
125 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
/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;
101 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_NOT_SPECIFIED); in updatePointerIcon()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java21 import android.hardware.input.InputManager;
102 InputManager.getInstance().setPointerIconType(mPointerIconType); in onPointerEvent()
DDragState.java36 import android.hardware.input.InputManager;
644 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLocked()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java25 import android.hardware.input.InputManager;
123 final int mode = (sync) ? InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEvent()
124 : InputManager.INJECT_INPUT_EVENT_MODE_ASYNC; in injectInputEvent()
127 return InputManager.getInstance().injectInputEvent(event, mode); in injectInputEvent()
DInstrumentation.java29 import android.hardware.input.InputManager;
1038 InputManager.getInstance().injectInputEvent(newEvent, in sendKeySync()
1039 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendKeySync()
1081 InputManager.getInstance().injectInputEvent(event, in sendPointerSync()
1082 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendPointerSync()
1101 InputManager.getInstance().injectInputEvent(event, in sendTrackballEventSync()
1102 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendTrackballEventSync()
DActivityView.java25 import android.hardware.input.InputManager;
349 mInputForwarder = InputManager.getInstance().createInputForwarder(displayId); in initVirtualDisplay()
DSystemServiceRegistry.java60 import android.hardware.input.InputManager;
342 registerService(Context.INPUT_SERVICE, InputManager.class, in registerService()
343 new StaticServiceFetcher<InputManager>() { in registerService()
345 public InputManager createService() { in registerService()
346 return InputManager.getInstance(); in registerService()
/frameworks/base/services/core/java/com/android/server/input/
DInputForwarder.java26 import static android.hardware.input.InputManager.INJECT_INPUT_EVENT_MODE_ASYNC;
DInputManagerService.java65 import android.hardware.input.InputManager;
602 if (mode != InputManager.INJECT_INPUT_EVENT_MODE_ASYNC in injectInputEventInternal()
603 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEventInternal()
604 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) { in injectInputEventInternal()
1165 Intent intent = new Intent(InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS); in visitAllKeyboardLayouts()
1199 int configResId = metaData.getInt(InputManager.META_DATA_KEYBOARD_LAYOUTS); in visitKeyboardLayoutsInPackage()
1201 Slog.w(TAG, "Missing meta-data '" + InputManager.META_DATA_KEYBOARD_LAYOUTS in visitKeyboardLayoutsInPackage()
1548 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { in tryPointerSpeed()
1561 speed = Math.min(Math.max(speed, InputManager.MIN_POINTER_SPEED), in setPointerSpeedUnchecked()
1562 InputManager.MAX_POINTER_SPEED); in setPointerSpeedUnchecked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java28 import android.hardware.input.InputManager;
310 InputManager.getInstance().injectInputEvent(ev, in sendEvent()
311 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/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;
111 private final InputManager mIm;
141 mIm = c.getSystemService(InputManager.class); in PointerLocationView()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java27 import android.hardware.input.InputManager;
72 implements InputManager.InputDeviceListener {
123 private InputManager mIm;
370 mIm = mContext.getSystemService(InputManager.class); in systemReady()
/frameworks/support/compat/src/main/java/androidx/core/content/
DContextCompat.java99 import android.hardware.input.InputManager;
755 SERVICES.put(InputManager.class, INPUT_SERVICE); in SERVICES.put()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java36 import android.hardware.input.InputManager;
349 final InputManager inputManager = InputManager.getInstance(); in retrieveKeyCharacterMap()

12