/frameworks/native/services/inputflinger/ |
D | InputManager.cpp | 35 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 …]
|
D | InputManager.h | 81 class InputManager : public InputManagerInterface, public BnInputFlinger { 83 virtual ~InputManager(); 86 InputManager(
|
D | Android.bp | 33 "InputManager.cpp",
|
/frameworks/base/core/java/android/view/ |
D | InputDevice.java | 24 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()
|
D | KeyCharacterMap.java | 20 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/ |
D | KeyboardUI.java | 31 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/ |
D | SystemServiceRegistry_AccessorTest.java | 22 import android.hardware.input.InputManager; 35 SystemServiceRegistry_Accessor.getSystemServiceName(InputManager.class)); in testRegistry()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonViewTest.java | 30 import android.hardware.input.InputManager; 62 private InputManager mInputManager = mock(InputManager.class);
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 59 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/ |
D | GlobalActionPerformer.java | 22 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/ |
D | Input.java | 22 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/ |
D | KeyButtonView.java | 32 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/ |
D | BaseIWindow.java | 22 import android.hardware.input.InputManager; 123 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_NOT_SPECIFIED); in updatePointerIcon()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskTapPointerEventListener.java | 27 import android.hardware.input.InputManager; 98 InputManager.getInstance().setPointerIconType(mPointerIconType); in onPointerEvent()
|
D | DragState.java | 36 import android.hardware.input.InputManager; 692 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLocked()
|
/frameworks/base/core/java/android/app/ |
D | ActivityView.java | 35 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()
|
D | UiAutomationConnection.java | 27 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()
|
D | Instrumentation.java | 30 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/ |
D | EdgeBackGestureHandler.java | 32 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/ |
D | InputManagerService.java | 46 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/ |
D | PointerLocationView.java | 27 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/ |
D | HdmiCecLocalDevice.java | 22 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/ |
D | KeyboardShortcuts.java | 41 import android.hardware.input.InputManager; 351 final InputManager inputManager = InputManager.getInstance(); in retrieveKeyCharacterMap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | OverviewProxyService.java | 44 import android.hardware.input.InputManager; 319 InputManager.getInstance().monitorGestureInput(name, displayId);
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 30 import android.hardware.input.InputManager; 79 implements InputManager.InputDeviceListener { 143 private InputManager mIm; 444 mIm = mContext.getSystemService(InputManager.class); in systemReady()
|