Home
last modified time | relevance | path

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

12

/frameworks/native/services/inputflinger/
DInputManager.cpp34 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 …]
DInputManager.h81 class InputManager : public InputManagerInterface, public BnInputFlinger {
83 virtual ~InputManager();
86 InputManager(
DAndroid.bp36 "InputManager.cpp",
/frameworks/base/core/java/android/view/
DInputDevice.java25 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()
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;
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/
DVirtualDisplayTaskEmbedder.java37 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/
DInputManager.java64 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/
DKeyButtonViewTest.java43 import android.hardware.input.InputManager;
73 private InputManager mInputManager = mock(InputManager.class);
/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/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java27 import android.hardware.input.InputManager;
112 InputManager.getInstance().setPointerIconType(mPointerIconType); in onPointerEvent()
DDragState.java36 import android.hardware.input.InputManager;
679 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLocked()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java22 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/
DKeyButtonView.java32 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/
DSystemActionPerformer.java26 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/
DUiAutomationConnection.java26 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;
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()
DSystemServiceRegistry.java91 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/
DSystemActions.java32 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/
DInputManagerService.java46 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/
DEdgeBackGestureHandler.java32 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/
DPipResizeGestureHandler.java38 import android.hardware.input.InputManager;
198 mInputMonitor = InputManager.getInstance().monitorGestureInput( in updateIsEnabled()
/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;
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/
DKeyboardShortcuts.java41 import android.hardware.input.InputManager;
351 final InputManager inputManager = InputManager.getInstance(); in retrieveKeyCharacterMap()

12