Home
last modified time | relevance | path

Searched refs:SOURCE_KEYBOARD (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java280 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_BACK, InputDevice.SOURCE_KEYBOARD); in performSystemAction()
284 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_HOME, InputDevice.SOURCE_KEYBOARD); in performSystemAction()
308 InputDevice.SOURCE_KEYBOARD); in performSystemAction()
313 InputDevice.SOURCE_KEYBOARD | InputDevice.SOURCE_DPAD); in performSystemAction()
317 InputDevice.SOURCE_KEYBOARD | InputDevice.SOURCE_DPAD); in performSystemAction()
321 InputDevice.SOURCE_KEYBOARD | InputDevice.SOURCE_DPAD); in performSystemAction()
325 InputDevice.SOURCE_KEYBOARD | InputDevice.SOURCE_DPAD); in performSystemAction()
329 InputDevice.SOURCE_KEYBOARD | InputDevice.SOURCE_DPAD); in performSystemAction()
DAccessibilityInputFilter.java416 if (event.isFromSource(InputDevice.SOURCE_KEYBOARD)) { in getEventStreamState()
/frameworks/base/services/core/java/com/android/server/media/
DMediaShellCommand.java201 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch()
203 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch()
341 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD); in dispatchKeyCode()
343 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD); in dispatchKeyCode()
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java56 private static final int SOURCE = InputDevice.SOURCE_KEYBOARD;
169 METASTATE, DEVICE_ID, SCAN_CODE, FLAGS, InputDevice.SOURCE_KEYBOARD, in testCopyConstructorWith2ChangedFields()
229 /* scanCode= */ 0, FLAGS, InputDevice.SOURCE_KEYBOARD, INVALID_DISPLAY, CHARACTERS); in testConstructorWith4Args()
248 METASTATE, DEVICE_ID, SCAN_CODE, FLAGS, InputDevice.SOURCE_KEYBOARD, in testCopyChangeAction()
290 DEVICE_ID, SCAN_CODE, FLAGS, InputDevice.SOURCE_KEYBOARD, displayId, CHARACTERS); in assertHasDefaultFields()
DVerifiedKeyEventTest.kt19 import android.view.InputDevice.SOURCE_KEYBOARD
133 private const val SOURCE = SOURCE_KEYBOARD
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DShortcutKeyTestBase.java150 0 /*flags*/, InputDevice.SOURCE_KEYBOARD); in sendKeyCombination()
168 KeyEvent.FLAG_LONG_PRESS /*flags*/, InputDevice.SOURCE_KEYBOARD); in sendKeyCombination()
179 InputDevice.SOURCE_KEYBOARD); in sendKeyCombination()
DTestPhoneWindowManager.java594 .setSources(InputDevice.SOURCE_KEYBOARD) in overrideKeyEventSource()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java192 InputDevice.SOURCE_KEYBOARD); in sendKeyAndWaitForEvent()
196 InputDevice.SOURCE_KEYBOARD); in sendKeyAndWaitForEvent()
549 InputDevice.SOURCE_KEYBOARD);
553 InputDevice.SOURCE_KEYBOARD);
/frameworks/base/core/java/android/view/
DInputDevice.java210 public static final int SOURCE_KEYBOARD = 0x00000100 | SOURCE_CLASS_BUTTON; field in InputDevice
367 SOURCE_KEYBOARD,
991 return (mSources & SOURCE_KEYBOARD) == SOURCE_KEYBOARD in isFullKeyboard()
1694 appendSourceDescriptionIfApplicable(description, SOURCE_KEYBOARD, "keyboard"); in toString()
DKeyEvent.java1718 /* source= */ InputDevice.SOURCE_KEYBOARD, characters); in KeyEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DTaskOperations.java65 InputDevice.SOURCE_KEYBOARD); in sendBackEvent()
/frameworks/base/tests/Input/src/com/android/server/input/
DInputManagerServiceTests.kt239 /* source= */ InputDevice.SOURCE_KEYBOARD in createKeycodeAEvent()
248 .setSources(InputDevice.SOURCE_KEYBOARD) in createInputDevice()
DKeyboardMetricsCollectorTests.kt42 .setSources(InputDevice.SOURCE_KEYBOARD) in createKeyboard()
DKeyRemapperTests.kt48 .setSources(InputDevice.SOURCE_KEYBOARD) in createKeyboard()
DKeyboardLayoutManagerTests.kt73 .setSources(InputDevice.SOURCE_KEYBOARD) in createKeyboard()
DKeyboardBacklightControllerTests.kt65 .setSources(InputDevice.SOURCE_KEYBOARD) in createKeyboard()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java264 InputDevice.SOURCE_KEYBOARD); in sendEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java113 map.put("keyboard", InputDevice.SOURCE_KEYBOARD);
361 inputSource = getSource(inputSource, InputDevice.SOURCE_KEYBOARD); in runText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java437 InputDevice.SOURCE_KEYBOARD); in sendEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java480 InputDevice.SOURCE_KEYBOARD, null); in sendKeyEventIdentityCleared()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DKeyEventHandling.java264 metaState, 1, 0, 0, InputDevice.SOURCE_KEYBOARD, null); in javaToAndroidKeyEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationController.java590 InputDevice.SOURCE_KEYBOARD); in sendBackEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyService.java331 InputDevice.SOURCE_KEYBOARD);
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgeBackGestureHandler.java1229 InputDevice.SOURCE_KEYBOARD); in sendEvent()
/frameworks/base/core/java/android/app/
DInstrumentation.java1190 source = InputDevice.SOURCE_KEYBOARD; in sendKeySync()

12