/frameworks/native/services/inputflinger/ |
D | InputManager.cpp | 34 InputManager::InputManager( in InputManager() function in android::InputManager 42 InputManager::~InputManager() { in ~InputManager() 46 status_t InputManager::start() { in start() 64 status_t InputManager::stop() { in stop() 82 sp<InputReaderInterface> InputManager::getReader() { in getReader() 86 sp<InputClassifierInterface> InputManager::getClassifier() { in getClassifier() 90 sp<InputDispatcherInterface> InputManager::getDispatcher() { in getDispatcher() 105 void InputManager::setInputWindows(const std::vector<InputWindowInfo>& infos, in setInputWindows() 122 void InputManager::registerInputChannel(const sp<InputChannel>& channel) { in registerInputChannel() 133 void InputManager::unregisterInputChannel(const sp<InputChannel>& channel) { in unregisterInputChannel() [all …]
|
D | InputManager.h | 81 class InputManager : public InputManagerInterface, public BnInputFlinger { 83 virtual ~InputManager(); 86 InputManager(
|
D | Android.bp | 36 "InputManager.cpp",
|
/frameworks/base/core/java/android/view/ |
D | InputDevice.java | 25 import android.hardware.input.InputManager; 483 return InputManager.getInstance().getInputDevice(id); in getDevice() 491 return InputManager.getInstance().getInputDeviceIds(); in getDeviceIds() 696 return InputManager.getInstance().deviceHasKeys(mId, keys); in hasKeys() 782 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator() 796 return InputManager.getInstance().isInputDeviceEnabled(mId); in isEnabled() 807 InputManager.getInstance().enableInputDevice(mId); in enable() 818 InputManager.getInstance().disableInputDevice(mId); in disable() 844 InputManager.getInstance().setPointerIconType(pointerType); in setPointerType() 853 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; 159 if (inTabletMode && mInTabletMode != InputManager.SWITCH_STATE_ON in onTabletModeChanged() 160 || !inTabletMode && mInTabletMode != InputManager.SWITCH_STATE_OFF) { in onTabletModeChanged() 162 InputManager.SWITCH_STATE_ON : InputManager.SWITCH_STATE_OFF; in onTabletModeChanged() 193 InputManager im = context.getSystemService(InputManager.class); in init() 215 if (mInTabletMode != InputManager.SWITCH_STATE_OFF) { in processKeyboardState()
|
/frameworks/base/core/java/android/window/ |
D | VirtualDisplayTaskEmbedder.java | 37 import android.hardware.input.InputManager; 208 final InputManager im = InputManager.getInstance(); in performBackPress() 210 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in performBackPress() 212 InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in performBackPress()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 64 public final class InputManager { class 72 private static InputManager sInstance; 224 private InputManager(IInputManager im) { in InputManager() method in InputManager 236 public static InputManager getInstance() { in getInstance() 237 synchronized (InputManager.class) { in getInstance() 240 sInstance = new InputManager(IInputManager.Stub in getInstance() 1170 InputManager.this.onInputDevicesChanged(deviceIdAndGeneration); in onInputDevicesChanged() 1213 InputManager.this.onTabletModeChanged(whenNanos, inTabletMode); in onTabletModeChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonViewTest.java | 43 import android.hardware.input.InputManager; 73 private InputManager mInputManager = mock(InputManager.class);
|
/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/services/core/java/com/android/server/wm/ |
D | TaskTapPointerEventListener.java | 27 import android.hardware.input.InputManager; 112 InputManager.getInstance().setPointerIconType(mPointerIconType); in onPointerEvent()
|
D | DragState.java | 36 import android.hardware.input.InputManager; 679 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLocked()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 22 import android.hardware.input.InputManager; 142 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_NOT_SPECIFIED); in updatePointerIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 32 import android.hardware.input.InputManager; 84 private final InputManager mInputManager; 145 this(context, attrs, defStyle, InputManager.getInstance(), new UiEventLoggerImpl()); in KeyButtonView() 149 public KeyButtonView(Context context, AttributeSet attrs, int defStyle, InputManager manager, in KeyButtonView() 439 mInputManager.injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | SystemActionPerformer.java | 26 import android.hardware.input.InputManager; 325 InputManager.getInstance() in sendKeyEventIdentityCleared() 326 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomationConnection.java | 26 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; 1073 InputManager.getInstance().injectInputEvent(newEvent, in sendKeySync() 1074 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendKeySync() 1118 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendPointerSync() 1139 InputManager.getInstance().injectInputEvent(event, in sendTrackballEventSync() 1140 InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH); in sendTrackballEventSync()
|
D | SystemServiceRegistry.java | 91 import android.hardware.input.InputManager; 478 registerService(Context.INPUT_SERVICE, InputManager.class, in registerService() 479 new StaticServiceFetcher<InputManager>() { in registerService() 481 public InputManager createService() { in registerService() 482 return InputManager.getInstance(); in registerService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | SystemActions.java | 32 import android.hardware.input.InputManager; 314 InputManager.getInstance() in sendKeyEventIdentityCleared() 315 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 46 import android.hardware.input.InputManager; 650 if (mode != InputManager.INJECT_INPUT_EVENT_MODE_ASYNC in injectInputEventInternal() 651 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH in injectInputEventInternal() 652 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) { in injectInputEventInternal() 1223 Intent intent = new Intent(InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS); in visitAllKeyboardLayouts() 1257 int configResId = metaData.getInt(InputManager.META_DATA_KEYBOARD_LAYOUTS); in visitKeyboardLayoutsInPackage() 1259 Slog.w(TAG, "Missing meta-data '" + InputManager.META_DATA_KEYBOARD_LAYOUTS in visitKeyboardLayoutsInPackage() 1602 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { in tryPointerSpeed() 1615 speed = Math.min(Math.max(speed, InputManager.MIN_POINTER_SPEED), in setPointerSpeedUnchecked() 1616 InputManager.MAX_POINTER_SPEED); in setPointerSpeedUnchecked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | EdgeBackGestureHandler.java | 32 import android.hardware.input.InputManager; 371 mInputMonitor = InputManager.getInstance().monitorGestureInput( in updateIsEnabled() 620 InputManager.getInstance().injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipResizeGestureHandler.java | 38 import android.hardware.input.InputManager; 198 mInputMonitor = InputManager.getInstance().monitorGestureInput( in updateIsEnabled()
|
/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; 605 InputManager.getInstance() in injectKeyEvent() 606 .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()
|