/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardViewBase.java | 29 import android.view.KeyEvent; 96 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() 110 private boolean interceptMediaKey(KeyEvent event) { in interceptMediaKey() 112 if (event.getAction() == KeyEvent.ACTION_DOWN) { in interceptMediaKey() 114 case KeyEvent.KEYCODE_MEDIA_PLAY: in interceptMediaKey() 115 case KeyEvent.KEYCODE_MEDIA_PAUSE: in interceptMediaKey() 116 case KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE: in interceptMediaKey() 127 case KeyEvent.KEYCODE_MUTE: in interceptMediaKey() 128 case KeyEvent.KEYCODE_HEADSETHOOK: in interceptMediaKey() 129 case KeyEvent.KEYCODE_MEDIA_STOP: in interceptMediaKey() [all …]
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | KeyEventCompat.java | 19 import android.view.KeyEvent; 34 public void startTracking(KeyEvent event); in startTracking() 35 public boolean isTracking(KeyEvent event); in isTracking() 37 public boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, in dispatch() 46 KeyEvent.META_SHIFT_ON | KeyEvent.META_SHIFT_LEFT_ON | KeyEvent.META_SHIFT_RIGHT_ON 47 | KeyEvent.META_ALT_ON | KeyEvent.META_ALT_LEFT_ON | KeyEvent.META_ALT_RIGHT_ON 48 | KeyEvent.META_SYM_ON; 73 if ((metaState & (KeyEvent.META_SHIFT_LEFT_ON | KeyEvent.META_SHIFT_RIGHT_ON)) != 0) { in normalizeMetaState() 74 metaState |= KeyEvent.META_SHIFT_ON; in normalizeMetaState() 76 if ((metaState & (KeyEvent.META_ALT_LEFT_ON | KeyEvent.META_ALT_RIGHT_ON)) != 0) { in normalizeMetaState() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 25 import android.view.KeyEvent; 48 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU)); in tapMenuKey() 49 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in tapMenuKey() 61 final KeyEvent pushMenuKey = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU); in chordMenuKey() 63 final KeyEvent shortcutKeyEvent = keyCharMap.getEvents(new char[] { shortcutKey })[0]; in chordMenuKey() 67 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, shortcutKeyCode)); in chordMenuKey() 68 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, shortcutKeyCode)); in chordMenuKey() 69 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in chordMenuKey() 80 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER)); in longClick() 86 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DPAD_CENTER)); in longClick()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneFallbackEventHandler.java | 36 import android.view.KeyEvent; 58 public void preDispatchKeyEvent(KeyEvent event) { in preDispatchKeyEvent() 62 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() 67 if (action == KeyEvent.ACTION_DOWN) { in dispatchKeyEvent() 74 boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 79 final KeyEvent.DispatcherState dispatcher = mView.getKeyDispatcherState(); in onKeyDown() 82 case KeyEvent.KEYCODE_VOLUME_UP: in onKeyDown() 83 case KeyEvent.KEYCODE_VOLUME_DOWN: in onKeyDown() 84 case KeyEvent.KEYCODE_VOLUME_MUTE: { in onKeyDown() 90 case KeyEvent.KEYCODE_MEDIA_PLAY: in onKeyDown() [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 22 import android.view.KeyEvent; 40 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event) { in onKeyDown() 51 public boolean onKeyOther(TextView widget, Spannable text, KeyEvent event) { in onKeyOther() 54 if (keyCode != KeyEvent.KEYCODE_UNKNOWN in onKeyOther() 55 && event.getAction() == KeyEvent.ACTION_MULTIPLE) { in onKeyOther() 74 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event) { in onKeyUp() 99 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent() 136 protected int getMovementMetaState(Spannable buffer, KeyEvent event) { in getMovementMetaState() 140 return KeyEvent.normalizeMetaState(metaState) & ~KeyEvent.META_SHIFT_MASK; in getMovementMetaState() 161 int keyCode, int movementMetaState, KeyEvent event) { in handleMovementKey() [all …]
|
D | MetaKeyKeyListener.java | 23 import android.view.KeyEvent; 78 public static final int META_SHIFT_ON = KeyEvent.META_SHIFT_ON; 83 public static final int META_ALT_ON = KeyEvent.META_ALT_ON; 88 public static final int META_SYM_ON = KeyEvent.META_SYM_ON; 93 public static final int META_CAP_LOCKED = KeyEvent.META_CAP_LOCKED; 97 public static final int META_ALT_LOCKED = KeyEvent.META_ALT_LOCKED; 101 public static final int META_SYM_LOCKED = KeyEvent.META_SYM_LOCKED; 106 public static final int META_SELECTING = KeyEvent.META_SELECTING; 180 public static final int getMetaState(final CharSequence text, final KeyEvent event) { in getMetaState() 231 final KeyEvent event) { in getMetaState() [all …]
|
D | BaseKeyListener.java | 19 import android.view.KeyEvent; 48 public boolean backspace(View view, Editable content, int keyCode, KeyEvent event) { in backspace() 60 public boolean forwardDelete(View view, Editable content, int keyCode, KeyEvent event) { in forwardDelete() 65 KeyEvent event, boolean isForwardDelete) { in backspaceOrForwardDelete() 67 if (!KeyEvent.metaStateHasNoModifiers(event.getMetaState() in backspaceOrForwardDelete() 68 & ~(KeyEvent.META_SHIFT_MASK | KeyEvent.META_ALT_MASK))) { in backspaceOrForwardDelete() 151 int keyCode, KeyEvent event) { in onKeyDown() 154 case KeyEvent.KEYCODE_DEL: in onKeyDown() 157 case KeyEvent.KEYCODE_FORWARD_DEL: in onKeyDown() 176 public boolean onKeyOther(View view, Editable content, KeyEvent event) { in onKeyOther() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListOfShortShortTallShortShortTest.java | 22 import android.view.KeyEvent; 55 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeTopTwoItemsOut() 56 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeTopTwoItemsOut() 59 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeTopTwoItemsOut() 73 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems() 74 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems() 77 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems() 81 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems() 96 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testFadeOutBottomTwoItems() 97 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testFadeOutBottomTwoItems() [all …]
|
D | ListOfItemsShorterThanScreenTest.java | 21 import android.view.KeyEvent; 59 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToOnScreenNextItem() 70 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToOnScreenItem() 71 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveUpToOnScreenItem() 84 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToItemRequiringScrolling() 110 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToItemRequiringScrolling() 113 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveUpToItemRequiringScrolling() 124 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testPressUpWhenAlreadyAtTop() 133 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testPressDownWhenAlreadyAtBottom() 137 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testPressDownWhenAlreadyAtBottom() [all …]
|
D | ListItemFocusablesCloseTest.java | 21 import android.view.KeyEvent; 69 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testChangeFocusWithinItem() 78 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testChangeFocusWithinItem() 89 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToButtonInDifferentSelection() 90 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToButtonInDifferentSelection() 103 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToButtonInDifferentSelection() 104 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToButtonInDifferentSelection() 109 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveUpToButtonInDifferentSelection()
|
D | ListOfItemsTallerThanScreenTest.java | 21 import android.view.KeyEvent; 70 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownAcrossItem() 88 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToNextItem() 94 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToNextItem() 113 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollFirstItemOffScreen() 134 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToLastItem() 145 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToLastItem() 148 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToLastItem() 165 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollUpAcrossFirstItem() 169 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testScrollUpAcrossFirstItem()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridScrollListenerTest.java | 24 import android.view.KeyEvent; 65 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in testKeyScrolling() 72 inst.sendCharacterSync(KeyEvent.KEYCODE_SPACE); in testKeyScrolling() 78 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling() 79 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling() 80 KeyEvent up = new KeyEvent(0, 0, KeyEvent.ACTION_UP, in testKeyScrolling() 81 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListScrollListenerTest.java | 23 import android.view.KeyEvent; 64 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in testKeyScrolling() 70 inst.sendCharacterSync(KeyEvent.KEYCODE_SPACE); in testKeyScrolling() 75 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling() 76 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling() 77 KeyEvent up = new KeyEvent(0, 0, KeyEvent.ACTION_UP, in testKeyScrolling() 78 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling()
|
D | ListManagedCursorTest.java | 24 import android.view.KeyEvent; 64 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testKeyScrolling() 81 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testTouchScrolling() 100 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testKeyScrollingToTouchMode() 120 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in testTouchScrollingToTrackballMode() 122 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in testTouchScrollingToTrackballMode() 124 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testTouchScrollingToTrackballMode() 135 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in arrowScroll() 143 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_CENTER); in arrowScroll()
|
/frameworks/support/v4/java/android/support/v4/media/ |
D | TransportPerformer.java | 20 import android.view.KeyEvent; 126 public boolean onMediaButtonDown(int keyCode, KeyEvent event) { in onMediaButtonDown() 134 case KeyEvent.KEYCODE_MEDIA_STOP: in onMediaButtonDown() 137 case KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE: in onMediaButtonDown() 138 case KeyEvent.KEYCODE_HEADSETHOOK: in onMediaButtonDown() 163 public boolean onMediaButtonUp(int keyCode, KeyEvent event) { in onMediaButtonUp() 198 onMediaButtonDown(keyCode, new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0)); in onAudioFocusChange() 199 onMediaButtonUp(keyCode, new KeyEvent(now, now, KeyEvent.ACTION_UP, keyCode, 0)); in onAudioFocusChange()
|
D | TransportMediator.java | 24 import android.view.KeyEvent; 60 public void handleKey(KeyEvent key) { 115 case KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE: in isMediaKey() 116 case KeyEvent.KEYCODE_MUTE: in isMediaKey() 117 case KeyEvent.KEYCODE_HEADSETHOOK: in isMediaKey() 118 case KeyEvent.KEYCODE_MEDIA_STOP: in isMediaKey() 119 case KeyEvent.KEYCODE_MEDIA_NEXT: in isMediaKey() 120 case KeyEvent.KEYCODE_MEDIA_PREVIOUS: in isMediaKey() 121 case KeyEvent.KEYCODE_MEDIA_REWIND: in isMediaKey() 123 case KeyEvent.KEYCODE_MEDIA_FAST_FORWARD: { in isMediaKey() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 27 import android.view.KeyEvent; 91 Assert.assertTrue(mMenu.isShortcutKey(KeyEvent.KEYCODE_A, in testIsShortcutWithAlpha() 92 makeKeyEvent(KeyEvent.KEYCODE_A, 0))); in testIsShortcutWithAlpha() 93 Assert.assertFalse(mMenu.isShortcutKey(KeyEvent.KEYCODE_B, in testIsShortcutWithAlpha() 94 makeKeyEvent(KeyEvent.KEYCODE_B, 0))); in testIsShortcutWithAlpha() 101 Assert.assertTrue(mMenu.isShortcutKey(KeyEvent.KEYCODE_2, in testIsShortcutWithNumeric() 102 makeKeyEvent(KeyEvent.KEYCODE_2, 0))); in testIsShortcutWithNumeric() 103 Assert.assertFalse(mMenu.isShortcutKey(KeyEvent.KEYCODE_A, in testIsShortcutWithNumeric() 104 makeKeyEvent(KeyEvent.KEYCODE_A, 0))); in testIsShortcutWithNumeric() 111 Assert.assertTrue(mMenu.isShortcutKey(KeyEvent.KEYCODE_A, in testIsShortcutWithAlt() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotTest.java | 25 import android.view.KeyEvent; 104 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot() 105 KeyEvent.KEYCODE_POWER)); in takeScreenshot() 106 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot() 107 KeyEvent.KEYCODE_VOLUME_DOWN)); in takeScreenshot() 114 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, in takeScreenshot() 115 KeyEvent.KEYCODE_VOLUME_DOWN)); in takeScreenshot() 116 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, in takeScreenshot() 117 KeyEvent.KEYCODE_POWER)); in takeScreenshot()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 83 public class KeyEvent extends InputEvent implements Parcelable { class 1284 private static KeyEvent gRecyclerTop; 1286 private KeyEvent mNext; 1314 boolean onKeyDown(int keyCode, KeyEvent event); in onKeyDown() 1330 boolean onKeyLongPress(int keyCode, KeyEvent event); in onKeyLongPress() 1341 boolean onKeyUp(int keyCode, KeyEvent event); in onKeyUp() 1354 boolean onKeyMultiple(int keyCode, int count, KeyEvent event); in onKeyMultiple() 1361 private KeyEvent() { in KeyEvent() method in KeyEvent 1371 public KeyEvent(int action, int code) { in KeyEvent() method in KeyEvent 1391 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() method in KeyEvent [all …]
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
D | Media.java | 32 import android.view.KeyEvent; 86 private void sendMediaKey(KeyEvent event) { in sendMediaKey() 97 keycode = KeyEvent.KEYCODE_MEDIA_PLAY; in runDispatch() 99 keycode = KeyEvent.KEYCODE_MEDIA_PAUSE; in runDispatch() 101 keycode = KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE; in runDispatch() 103 keycode = KeyEvent.KEYCODE_MUTE; in runDispatch() 105 keycode = KeyEvent.KEYCODE_HEADSETHOOK; in runDispatch() 107 keycode = KeyEvent.KEYCODE_MEDIA_STOP; in runDispatch() 109 keycode = KeyEvent.KEYCODE_MEDIA_NEXT; in runDispatch() 111 keycode = KeyEvent.KEYCODE_MEDIA_PREVIOUS; in runDispatch() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ListOfButtonsTest.java | 27 import android.view.KeyEvent; 70 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testNavigateToButtonAbove() 78 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNavigateToSecondItem() 90 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testNavigateUpAboveAndBackOut() 91 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNavigateUpAboveAndBackOut() 104 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in TODO_testNavigateThroughAllButtonsAndBack() 118 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in TODO_testNavigateThroughAllButtonsAndBack() 133 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in TODO_testNavigateThroughAllButtonsAndBack() 145 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoInAndOutOfListWithItemsFocusable() 149 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoInAndOutOfListWithItemsFocusable() [all …]
|
D | FocusAfterRemovalTest.java | 26 import android.view.KeyEvent; 76 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testFocusLeavesWhenParentLayoutIsGone() 88 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFocusLeavesWhenParentLayoutInvisible() 92 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testFocusLeavesWhenParentLayoutInvisible() 104 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusLeavesWhenFocusedViewBecomesGone() 108 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testFocusLeavesWhenFocusedViewBecomesGone() 119 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusLeavesWhenFocusedViewBecomesInvisible() 120 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFocusLeavesWhenFocusedViewBecomesInvisible() 124 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testFocusLeavesWhenFocusedViewBecomesInvisible()
|
/frameworks/support/v4/eclair/android/support/v4/view/ |
D | KeyEventCompatEclair.java | 20 import android.view.KeyEvent; 28 public static boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, in dispatch() 30 return event.dispatch(receiver, (KeyEvent.DispatcherState)state, target); in dispatch() 33 public static void startTracking(KeyEvent event) { in startTracking() 37 public static boolean isTracking(KeyEvent event) { in isTracking()
|
/frameworks/base/docs/html/training/keyboard-input/ |
D | commands.jd | 24 from the {@link android.view.KeyEvent.Callback} interface, such as {@link 25 android.view.KeyEvent.Callback#onKeyDown onKeyDown()} and {@link 26 android.view.KeyEvent.Callback#onKeyMultiple onKeyMultiple()}.</p> 30 {@link android.view.KeyEvent.Callback} interface, so you 35 android.view.KeyEvent} class and related APIs, you should expect that such keyboard 53 public boolean onKeyUp(int keyCode, KeyEvent event) { 55 case KeyEvent.KEYCODE_D: 58 case KeyEvent.KEYCODE_F: 61 case KeyEvent.KEYCODE_J: 64 case KeyEvent.KEYCODE_K: [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
D | AdjacentListsWithAdjacentISVsInsideTest.java | 24 import android.view.KeyEvent; 64 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal() 67 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal() 72 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal() 79 … sendKeys(KeyEvent.KEYCODE_DPAD_DOWN, KeyEvent.KEYCODE_DPAD_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusTransfersOutsideOfListWhenNoCandidateInsideHorizontal() 85 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusTransfersOutsideOfListWhenNoCandidateInsideHorizontal()
|