Home
last modified time | relevance | path

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

12

/frameworks/native/services/inputflinger/
DInputManager.cpp35 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<InputClassifierInterface> InputManager::getClassifier() { in getClassifier()
93 sp<InputDispatcherInterface> InputManager::getDispatcher() { in getDispatcher()
108 void InputManager::setInputWindows(const std::vector<InputWindowInfo>& infos, in setInputWindows()
123 void InputManager::registerInputChannel(const sp<InputChannel>& channel) { in registerInputChannel()
[all …]
DInputManager.h81 class InputManager : public InputManagerInterface, public BnInputFlinger {
83 virtual ~InputManager();
86 InputManager(
DAndroid.bp33 "InputManager.cpp",
/frameworks/base/core/java/android/view/
DInputDevice.java24 import android.hardware.input.InputManager;
467 return InputManager.getInstance().getInputDevice(id); in getDevice()
475 return InputManager.getInstance().getInputDeviceIds(); in getDeviceIds()
680 return InputManager.getInstance().deviceHasKeys(mId, keys); in hasKeys()
766 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator()
780 return InputManager.getInstance().isInputDeviceEnabled(mId); in isEnabled()
791 InputManager.getInstance().enableInputDevice(mId); in enable()
802 InputManager.getInstance().disableInputDevice(mId); in disable()
828 InputManager.getInstance().setPointerIconType(pointerType); in setPointerType()
837 InputManager.getInstance().setCustomPointerIcon(icon); in setCustomPointerIcon()
DKeyCharacterMap.java20 import android.hardware.input.InputManager;
334 final InputManager im = InputManager.getInstance(); in load()
701 return InputManager.getInstance().deviceHasKeys(new int[] { keyCode })[0]; in deviceHasKey()
715 return InputManager.getInstance().deviceHasKeys(keyCodes); in deviceHasKeys()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java31 import android.hardware.input.InputManager;
63 public class KeyboardUI extends SystemUI implements InputManager.OnTabletModeChangedListener {
113 private int mInTabletMode = InputManager.SWITCH_STATE_UNKNOWN;
155 if (inTabletMode && mInTabletMode != InputManager.SWITCH_STATE_ON in onTabletModeChanged()
156 || !inTabletMode && mInTabletMode != InputManager.SWITCH_STATE_OFF) { in onTabletModeChanged()
158 InputManager.SWITCH_STATE_ON : InputManager.SWITCH_STATE_OFF; in onTabletModeChanged()
189 InputManager im = context.getSystemService(InputManager.class); in init()
211 if (mInTabletMode != InputManager.SWITCH_STATE_OFF) { in processKeyboardState()
/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/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java30 import android.hardware.input.InputManager;
62 private InputManager mInputManager = mock(InputManager.class);
/frameworks/base/core/java/android/hardware/input/
DInputManager.java59 public final class InputManager { class
67 private static InputManager sInstance;
219 private InputManager(IInputManager im) { in InputManager() method in InputManager
231 public static InputManager getInstance() { in getInstance()
232 synchronized (InputManager.class) { in getInstance()
235 sInstance = new InputManager(IInputManager.Stub in getInstance()
1109 InputManager.this.onInputDevicesChanged(deviceIdAndGeneration); in onInputDevicesChanged()
1152 InputManager.this.onTabletModeChanged(whenNanos, inTabletMode); in onTabletModeChanged()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DGlobalActionPerformer.java22 import android.hardware.input.InputManager;
121 InputManager.getInstance() in sendKeyEventIdentityCleared()
122 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java22 import android.hardware.input.InputManager;
355 InputManager.getInstance().injectInputEvent(event, in injectKeyEvent()
356 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectKeyEvent()
397 InputManager.getInstance().injectInputEvent(event, in injectMotionEvent()
398 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in injectMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java32 import android.hardware.input.InputManager;
80 private final InputManager mInputManager;
107 this(context, attrs, defStyle, InputManager.getInstance()); in KeyButtonView()
111 public KeyButtonView(Context context, AttributeSet attrs, int defStyle, InputManager manager) { in KeyButtonView()
364 mInputManager.injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java22 import android.hardware.input.InputManager;
123 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_NOT_SPECIFIED); in updatePointerIcon()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java27 import android.hardware.input.InputManager;
98 InputManager.getInstance().setPointerIconType(mPointerIconType); in onPointerEvent()
DDragState.java36 import android.hardware.input.InputManager;
692 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLocked()
/frameworks/base/core/java/android/app/
DActivityView.java35 import android.hardware.input.InputManager;
496 final InputManager im = InputManager.getInstance(); in performBackPress()
498 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in performBackPress()
500 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in performBackPress()
DUiAutomationConnection.java27 import android.hardware.input.InputManager;
132 final int mode = (sync) ? InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEvent()
133 : InputManager.INJECT_INPUT_EVENT_MODE_ASYNC; in injectInputEvent()
DInstrumentation.java30 import android.hardware.input.InputManager;
1070 InputManager.getInstance().injectInputEvent(newEvent, in sendKeySync()
1071 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendKeySync()
1115 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendPointerSync()
1136 InputManager.getInstance().injectInputEvent(event, in sendTrackballEventSync()
1137 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendTrackballEventSync()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DEdgeBackGestureHandler.java32 import android.hardware.input.InputManager;
280 mInputMonitor = InputManager.getInstance().monitorGestureInput( in updateIsEnabled()
495 InputManager.getInstance().injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java46 import android.hardware.input.InputManager;
637 if (mode != InputManager.INJECT_INPUT_EVENT_MODE_ASYNC in injectInputEventInternal()
638 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEventInternal()
639 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) { in injectInputEventInternal()
1205 Intent intent = new Intent(InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS); in visitAllKeyboardLayouts()
1239 int configResId = metaData.getInt(InputManager.META_DATA_KEYBOARD_LAYOUTS); in visitKeyboardLayoutsInPackage()
1241 Slog.w(TAG, "Missing meta-data '" + InputManager.META_DATA_KEYBOARD_LAYOUTS in visitKeyboardLayoutsInPackage()
1586 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { in tryPointerSpeed()
1599 speed = Math.min(Math.max(speed, InputManager.MIN_POINTER_SPEED), in setPointerSpeedUnchecked()
1600 InputManager.MAX_POINTER_SPEED); in setPointerSpeedUnchecked()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java27 import android.hardware.input.InputManager;
28 import android.hardware.input.InputManager.InputDeviceListener;
126 private final InputManager mIm;
168 mIm = c.getSystemService(InputManager.class); in PointerLocationView()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java22 import android.hardware.input.InputManager;
589 InputManager.getInstance() in injectKeyEvent()
590 .injectInputEvent(keyEvent, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in injectKeyEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java41 import android.hardware.input.InputManager;
351 final InputManager inputManager = InputManager.getInstance(); in retrieveKeyCharacterMap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyService.java44 import android.hardware.input.InputManager;
319 InputManager.getInstance().monitorGestureInput(name, displayId);
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java30 import android.hardware.input.InputManager;
79 implements InputManager.InputDeviceListener {
143 private InputManager mIm;
444 mIm = mContext.getSystemService(InputManager.class); in systemReady()

12