/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | LeftRightArrowPressedListenerTest.kt | 20 import android.view.KeyEvent.KEYCODE_DPAD_LEFT 55 underTest.sendKey(KeyEvent.ACTION_DOWN, KEYCODE_DPAD_LEFT) in shouldTriggerCallback_whenArrowUpReceived_afterArrowDownReceived() 57 underTest.sendKey(KeyEvent.ACTION_UP, KEYCODE_DPAD_LEFT) in shouldTriggerCallback_whenArrowUpReceived_afterArrowDownReceived() 59 assertThat(callback.lastValue).isEqualTo(KEYCODE_DPAD_LEFT) in shouldTriggerCallback_whenArrowUpReceived_afterArrowDownReceived() 64 underTest.sendKey(KeyEvent.ACTION_UP, KEYCODE_DPAD_LEFT) in shouldNotTriggerCallback_whenKeyUpReceived_ifKeyDownNotReceived() 71 underTest.sendKeyWithRepeat(KeyEvent.ACTION_UP, KEYCODE_DPAD_LEFT, repeat = 2) in shouldNotTriggerCallback_whenKeyUpReceived_ifKeyDownWasRepeated() 72 underTest.sendKey(KeyEvent.ACTION_UP, KEYCODE_DPAD_LEFT) in shouldNotTriggerCallback_whenKeyUpReceived_ifKeyDownWasRepeated() 79 underTest.sendKey(KeyEvent.ACTION_DOWN, KEYCODE_DPAD_LEFT) in shouldNotTriggerCallback_whenKeyUpReceived_ifKeyDownReceivedBeforeLosingFocus() 83 underTest.sendKey(KeyEvent.ACTION_UP, KEYCODE_DPAD_LEFT) in shouldNotTriggerCallback_whenKeyUpReceived_ifKeyDownReceivedBeforeLosingFocus() 102 /* code= */ KEYCODE_DPAD_LEFT, in sendKeyWithRepeat()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/ |
D | TvPipGravityTest.java | 20 import static android.view.KeyEvent.KEYCODE_DPAD_LEFT; 199 expandMoveCollapseCheck(Gravity.TOP | Gravity.RIGHT, KEYCODE_DPAD_LEFT, in updateGravity_expand_move_collapse() 231 moveAndCheckGravity(KEYCODE_DPAD_LEFT, Gravity.BOTTOM | Gravity.LEFT, true); in updateGravity_move_regular_valid() 237 moveAndCheckGravity(KEYCODE_DPAD_LEFT, Gravity.TOP | Gravity.LEFT, true); in updateGravity_move_regular_valid() 249 moveAndCheckGravity(KEYCODE_DPAD_LEFT, Gravity.CENTER_VERTICAL | Gravity.LEFT, true); in updateGravity_move_expanded_valid() 269 moveAndCheckGravity(KEYCODE_DPAD_LEFT, gravity, false); in updateGravity_move_regular_invalid() 274 moveAndCheckGravity(KEYCODE_DPAD_LEFT, gravity, false); in updateGravity_move_regular_invalid() 294 moveAndCheckGravity(KEYCODE_DPAD_LEFT, Gravity.CENTER_VERTICAL | Gravity.LEFT, false); in updateGravity_move_expanded_invalid() 302 moveAndCheckGravity(KEYCODE_DPAD_LEFT, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, false); in updateGravity_move_expanded_invalid() 307 moveAndCheckGravity(KEYCODE_DPAD_LEFT, Gravity.TOP | Gravity.CENTER_HORIZONTAL, false); in updateGravity_move_expanded_invalid()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | FocusChangeWithInterestingRectHintTest.java | 96 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testSnakeBackAndForth() 101 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testSnakeBackAndForth()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | DatePickerFocusTest.java | 206 sendKey(KeyEvent.KEYCODE_DPAD_LEFT); in testArrowThroughDays() 216 sendKey(KeyEvent.KEYCODE_DPAD_LEFT); in testArrowThroughDays() 227 sendKey(KeyEvent.KEYCODE_DPAD_LEFT); in testArrowThroughDays()
|
/frameworks/base/core/java/android/widget/ |
D | MenuPopupWindow.java | 108 mAdvanceKey = KeyEvent.KEYCODE_DPAD_LEFT; in MenuDropDownListView() 112 mRetreatKey = KeyEvent.KEYCODE_DPAD_LEFT; in MenuDropDownListView()
|
D | TabHost.java | 176 case KeyEvent.KEYCODE_DPAD_LEFT: in setup() 384 keyCodeShouldChangeFocus = KeyEvent.KEYCODE_DPAD_LEFT; in dispatchKeyEvent()
|
D | DialerFilter.java | 116 case KeyEvent.KEYCODE_DPAD_LEFT: in onKeyDown()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VisibilityTest.java | 20 import static android.view.KeyEvent.KEYCODE_DPAD_LEFT; 131 sendKeys(KEYCODE_DPAD_LEFT, KEYCODE_DPAD_CENTER); in testGoneToInvisible()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | LeftRightArrowPressedListener.kt | 41 if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT || keyCode == KeyEvent.KEYCODE_DPAD_RIGHT) { in onKey()
|
D | PageIndicator.java | 91 int swipeDirection = keyCode == KeyEvent.KEYCODE_DPAD_LEFT ? LEFT : RIGHT; in PageIndicator()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
D | ListHorizontalFocusWithinItemWinsTest.java | 61 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testOptionWithinItemTrumpsGlobal()
|
D | AdjacentListsWithAdjacentISVsInsideTest.java | 73 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal()
|
D | ListButtonsDiagonalAcrossItemsTest.java | 98 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testGoingLeftDoesNotChangeSelection()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | ShortcutLoggingTests.java | 85 {"Meta + Left arrow -> Go back", new int[]{META_KEY, KeyEvent.KEYCODE_DPAD_LEFT}, in shortcutTestArguments() 86 KeyboardLogEvent.BACK, KeyEvent.KEYCODE_DPAD_LEFT, META_ON}, in shortcutTestArguments() 157 new int[]{META_KEY, CTRL_KEY, KeyEvent.KEYCODE_DPAD_LEFT}, in shortcutTestArguments() 158 KeyboardLogEvent.SPLIT_SCREEN_NAVIGATION, KeyEvent.KEYCODE_DPAD_LEFT, in shortcutTestArguments()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualDpad.java | 51 KeyEvent.KEYCODE_DPAD_LEFT,
|
D | VirtualKeyEvent.java | 161 KeyEvent.KEYCODE_DPAD_LEFT,
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipBoundsAlgorithm.java | 20 import static android.view.KeyEvent.KEYCODE_DPAD_LEFT; 256 && (keycode == KEYCODE_DPAD_RIGHT || keycode == KEYCODE_DPAD_LEFT)) { in updateGravity() 271 case KEYCODE_DPAD_LEFT: in updateGravity()
|
D | TvPipMenuView.java | 23 import static android.view.KeyEvent.KEYCODE_DPAD_LEFT; 501 case KEYCODE_DPAD_LEFT: in dispatchKeyEvent() 538 setArrowA11yEnabled(mArrowLeft, a11yEnabled, KEYCODE_DPAD_LEFT); in showMovementHints()
|
D | TvPipController.java | 21 import static android.view.KeyEvent.KEYCODE_DPAD_LEFT; 332 movePip(KEYCODE_DPAD_LEFT); in movePipToOppositeSide()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | EditTextCursorMovementPerfTest.java | 66 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_LEFT);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | KeyEventHandling.java | 49 import static android.view.KeyEvent.KEYCODE_DPAD_LEFT; 343 case VK_LEFT: return KEYCODE_DPAD_LEFT; in javaToAndroidKeyCode()
|
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/ |
D | TvRemoteProvider.java | 69 KeyEvent.KEYCODE_DPAD_LEFT,
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiDevice.java | 275 return pressKeyCode(KeyEvent.KEYCODE_DPAD_LEFT); in pressDPadLeft()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | SystemActionPerformer.java | 320 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_LEFT, in performSystemAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutListSearch.java | 219 KeyEvent.KEYCODE_DPAD_LEFT, context.getString(R.string.keyboard_key_dpad_left)); in loadResources() 579 Pair.create(KeyEvent.KEYCODE_DPAD_LEFT, KeyEvent.META_META_ON))), in getMultiMappingSystemShortcuts() 683 KeyEvent.KEYCODE_DPAD_LEFT, in getSystemMultitaskingShortcuts() 697 KeyEvent.KEYCODE_DPAD_LEFT, in getSystemMultitaskingShortcuts()
|