Home
last modified time | relevance | path

Searched refs:KEYCODE_A (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/tests/Input/src/com/android/server/input/
DInputManagerServiceTests.kt233 /* code= */ KeyEvent.KEYCODE_A, in createKeycodeAEvent()
290 mockOnKeyListener.onKey(mockSurfaceView1, /* keyCode= */ KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations()
291 mockOnKeyListener.onKey(mockSurfaceView2, /* keyCode= */ KeyEvent.KEYCODE_A, upEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations()
294 verify(mockOnKeyListener).onKey(mockSurfaceView1, KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations()
295 verify(mockOnKeyListener, never()).onKey(mockSurfaceView2, KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations()
310 verify(mockOnKeyListener).onKey(mockSurfaceView2, KeyEvent.KEYCODE_A, upEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations()
311 verify(mockOnKeyListener, never()).onKey(mockSurfaceView1, KeyEvent.KEYCODE_A, upEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations()
352 mockOnKeyListener.onKey(mockSurfaceView1, /* keyCode= */ KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByPort_verifyAssociations()
353 mockOnKeyListener.onKey(mockSurfaceView2, /* keyCode= */ KeyEvent.KEYCODE_A, upEvent) in addUniqueIdAssociationByPort_verifyAssociations()
356 verify(mockOnKeyListener).onKey(mockSurfaceView1, KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByPort_verifyAssociations()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DTimeLimitedInputEventBufferTest.java97 KeyEvent eventA = KeyEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_A, 0, 0, in testKeyEventAllEventsRetained()
99 KeyEvent eventB = KeyEvent.obtain(0, 3, KeyEvent.ACTION_UP, KeyEvent.KEYCODE_A, 0, 0, 0, 0, in testKeyEventAllEventsRetained()
110 KeyEvent eventA = KeyEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_A, 0, 0, in testKeyEventOlderEventsRemoved()
112 KeyEvent eventB = KeyEvent.obtain(0, 1, KeyEvent.ACTION_UP, KeyEvent.KEYCODE_A, 0, 0, 0, 0, in testKeyEventOlderEventsRemoved()
115 KeyEvent.KEYCODE_A, 0, 0, 0, 0, 0, 0, 0, ""); in testKeyEventOlderEventsRemoved()
116 KeyEvent eventD = KeyEvent.obtain(0, MAX_AGE_MS + 2, KeyEvent.ACTION_UP, KeyEvent.KEYCODE_A, in testKeyEventOlderEventsRemoved()
DFalsingCollectorImplTest.java258 KeyEvent aKeyDown = KeyEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_A, in testAvoidAKeyEvent()
260 KeyEvent aKeyUp = KeyEvent.obtain(0, 0, MotionEvent.ACTION_UP, KeyEvent.KEYCODE_A, 0, in testAvoidAKeyEvent()
DFalsingDataProviderTest.java287 KeyEvent eventDown = KeyEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_A, 0, in test_isFromKeyboard_disallowedKey_false()
289 KeyEvent eventUp = KeyEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_A, 0, 0, in test_isFromKeyboard_disallowedKey_false()
/frameworks/base/tests/Input/src/android/hardware/input/
DVirtualKeyEventTest.java47 () -> new VirtualKeyEvent.Builder().setKeyCode(KeyEvent.KEYCODE_A).build()); in keyEvent_noAction()
54 .setKeyCode(KeyEvent.KEYCODE_A).build(); in keyEvent_created()
56 KeyEvent.KEYCODE_A); in keyEvent_created()
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/
DKeyCodeConstants.java30 KEY_NAME_TO_CODE_MAP.put("KEYCODE_A", KeyEvent.KEYCODE_A);
66 return keyCode >= KeyEvent.KEYCODE_A && keyCode <= KeyEvent.KEYCODE_Z; in isAlphaKeyCode()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DEditTextInputActivity.java79 KeyEvent.KEYCODE_A, in onCreate()
108 KeyEvent.KEYCODE_A, in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
DStartInTouchWithViewInFocusTest.java63 assertNotInTouchModeAfterKey(this, KeyEvent.KEYCODE_A, mEditText); in DISABLE_testNonDirectionalKeyExitsTouchMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java139 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A), in whenSomeEventsGetDelayed_allEventsStillInOrder()
169 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A), in whenSomeEventsGetDropped_otherEventsStillInOrder()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPinBouncerViewModelTest.kt21 import android.view.KeyEvent.KEYCODE_A in <lambda>()
484 underTest.onKeyEvent(KeyEventType.KeyDown, KEYCODE_A) in <lambda>()
485 underTest.onKeyEvent(KeyEventType.KeyUp, KEYCODE_A) in <lambda>()
/frameworks/base/tests/Input/src/com/android/test/input/
DInputEventAssignerTest.kt47 val code = KeyEvent.KEYCODE_A in createKeyEvent()
DInputEventSenderAndReceiverTest.kt46 KeyEvent.KEYCODE_A, 0 /*repeat*/) in getTestKeyEvent()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DShortcutLoggingTests.java93 {"Meta + A -> Launch assistant", new int[]{META_KEY, KeyEvent.KEYCODE_A}, in shortcutTestArguments()
94 KeyboardLogEvent.LAUNCH_ASSISTANT, KeyEvent.KEYCODE_A, META_ON}, in shortcutTestArguments()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DNotificationTest.java121 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_A); in testDirectReply()
/frameworks/base/core/java/android/hardware/input/
DVirtualKeyEvent.java76 KeyEvent.KEYCODE_A,
DPhysicalKeyLayout.java111 DEFAULT_KEYCODE_FOR_SCANCODE.put(SCANCODE_A, KeyEvent.KEYCODE_A); in DEFAULT_KEYCODE_FOR_SCANCODE.put() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DKeyEventHandling.java35 import static android.view.KeyEvent.KEYCODE_A;
280 case VK_A: return KEYCODE_A; in javaToAndroidKeyCode()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationShadeWindowViewControllerTest.kt649 val keyEvent = KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A) in forwardsCollectKeyEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutListSearch.java630 Pair.create(KeyEvent.KEYCODE_A, KeyEvent.META_META_ON))) in getMultiMappingSystemShortcuts()
791 KeyEvent.KEYCODE_A, in getDefaultMultiMappingApplicationShortcuts()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceManagerServiceTest.java1290 .setKeyCode(KeyEvent.KEYCODE_A) in sendKeyEvent_noFd()
1299 final int keyCode = KeyEvent.KEYCODE_A; in sendKeyEvent_hasFd_writesEvent()
/frameworks/base/core/java/android/view/
DKeyEvent.java172 public static final int KEYCODE_A = 29; field in KeyEvent
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java1510 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A); in checkKeyEvent()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java1192 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_A)); in testSelectionMetricsLogger_overtypeEventIncludesEntityType()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3434 case KeyEvent.KEYCODE_A:
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12