Home
last modified time | relevance | path

Searched refs:KEYCODE_DPAD_LEFT (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DLeftRightArrowPressedListenerTest.kt20 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/
DTvPipGravityTest.java20 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/
DFocusChangeWithInterestingRectHintTest.java96 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testSnakeBackAndForth()
101 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testSnakeBackAndForth()
/frameworks/base/core/tests/coretests/src/android/widget/
DDatePickerFocusTest.java206 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/
DMenuPopupWindow.java108 mAdvanceKey = KeyEvent.KEYCODE_DPAD_LEFT; in MenuDropDownListView()
112 mRetreatKey = KeyEvent.KEYCODE_DPAD_LEFT; in MenuDropDownListView()
DTabHost.java176 case KeyEvent.KEYCODE_DPAD_LEFT: in setup()
384 keyCodeShouldChangeFocus = KeyEvent.KEYCODE_DPAD_LEFT; in dispatchKeyEvent()
DDialerFilter.java116 case KeyEvent.KEYCODE_DPAD_LEFT: in onKeyDown()
/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityTest.java20 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/
DLeftRightArrowPressedListener.kt41 if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT || keyCode == KeyEvent.KEYCODE_DPAD_RIGHT) { in onKey()
DPageIndicator.java91 int swipeDirection = keyCode == KeyEvent.KEYCODE_DPAD_LEFT ? LEFT : RIGHT; in PageIndicator()
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListHorizontalFocusWithinItemWinsTest.java61 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testOptionWithinItemTrumpsGlobal()
DAdjacentListsWithAdjacentISVsInsideTest.java73 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal()
DListButtonsDiagonalAcrossItemsTest.java98 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testGoingLeftDoesNotChangeSelection()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DShortcutLoggingTests.java85 {"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/
DVirtualDpad.java51 KeyEvent.KEYCODE_DPAD_LEFT,
DVirtualKeyEvent.java161 KeyEvent.KEYCODE_DPAD_LEFT,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipBoundsAlgorithm.java20 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()
DTvPipMenuView.java23 import static android.view.KeyEvent.KEYCODE_DPAD_LEFT;
501 case KEYCODE_DPAD_LEFT: in dispatchKeyEvent()
538 setArrowA11yEnabled(mArrowLeft, a11yEnabled, KEYCODE_DPAD_LEFT); in showMovementHints()
DTvPipController.java21 import static android.view.KeyEvent.KEYCODE_DPAD_LEFT;
332 movePip(KEYCODE_DPAD_LEFT); in movePipToOppositeSide()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextCursorMovementPerfTest.java66 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_LEFT);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DKeyEventHandling.java49 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/
DTvRemoteProvider.java69 KeyEvent.KEYCODE_DPAD_LEFT,
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java275 return pressKeyCode(KeyEvent.KEYCODE_DPAD_LEFT); in pressDPadLeft()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java320 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_LEFT, in performSystemAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutListSearch.java219 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()

123