Home
last modified time | relevance | path

Searched refs:FOCUS_UP (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DFocusFinderTest.java44 assertIsPartiallyInDirection(View.FOCUS_UP, src, in testPartiallyInDirection()
57 assertIsInDirection(View.FOCUS_UP, src, new Rect(101, 99, 199, 200)); in testInDirection()
63 assertIsInDirection(View.FOCUS_UP, src, new Rect(250, 50, 300, 150)); in testInDirection()
74 assertIsNotInDirection(View.FOCUS_UP, src, new Rect(300, 100, 400, 150)); in testNotInDirection()
80 assertIsNotInDirection(View.FOCUS_UP, src, new Rect(50, 0, 150, 200)); in testNotInDirection()
86 assertIsNotCandidate(View.FOCUS_UP, in testBelowNotCandidateForDirectionUp()
99 assertDirectionIsCandidate(View.FOCUS_UP, src, dest); in testAboveShareEdgeEdgeOkForDirectionUp()
150 assertBeamsOverlap(View.FOCUS_UP, rect, rect); in testSameRectBeamsOverlap()
198 assertBeamsOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
203 assertBeamsDontOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
[all …]
DRotaryServiceTest.java918 windows, appButton3Node, appFocusArea3Node, View.FOCUS_UP)) in testNudgeTo_nudgeToNearestTarget()
921 mRotaryService.nudgeTo(windows, View.FOCUS_UP); in testNudgeTo_nudgeToNearestTarget()
989 windows, appButton3Node, appFocusArea3Node, View.FOCUS_UP)) in testOnKeyEvents_nudgeUp_moveFocus()
1243 mRotaryService.mHunEscapeNudgeDirection = View.FOCUS_UP; in testOnKeyEvents_nudgeToNonHunEscapeNudgeDirection_stayInTheHun()
DNavigatorTest.java874 int direction = View.FOCUS_UP; in test_findNudgeTargetFocusArea_fromScrollableContainer()
1061 mNavigator.findNudgeTargetFocusArea(windows, key2, focusArea3, View.FOCUS_UP); in testFindNudgeTargetFocusArea3()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DFocusFinder.java38 View.FOCUS_LEFT, View.FOCUS_RIGHT, View.FOCUS_UP, View.FOCUS_DOWN
55 case View.FOCUS_UP: in isPartiallyInDirection()
95 case View.FOCUS_UP: in isInDirection()
134 case View.FOCUS_UP: in isCandidate()
198 case View.FOCUS_UP: in minorAxisDistance()
252 case View.FOCUS_UP: in beamsOverlap()
269 case View.FOCUS_UP: in isToDirectionOf()
294 case View.FOCUS_UP: in majorAxisDistanceRaw()
319 case View.FOCUS_UP: in majorAxisDistanceToFarEdgeRaw()
353 case View.FOCUS_UP: in isStrictlyInDirection()
DDumpUtils.java56 case View.FOCUS_UP: in writeFocusDirection()
57 val = RotaryProtos.FOCUS_UP; in writeFocusDirection()
DRotaryService.java209 map.put(View.FOCUS_UP, "up"); in map.put() argument
226 map.put(View.FOCUS_UP, 0); in map.put() argument
481 map.put(View.FOCUS_UP, KeyEvent.KEYCODE_DPAD_UP); in map.put() argument
605 mHunNudgeDirection = showHunOnBottom ? View.FOCUS_DOWN : View.FOCUS_UP; in onCreate()
606 mHunEscapeNudgeDirection = showHunOnBottom ? View.FOCUS_UP : View.FOCUS_DOWN; in onCreate()
1051 handleNudgeEvent(View.FOCUS_UP, action); in handleKeyEvent()
DNavigator.java80 mHunNudgeDirection = showHunOnBottom ? View.FOCUS_DOWN : View.FOCUS_UP; in Navigator()
967 case View.FOCUS_UP:
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/
DRotaryCacheTest.java91 focusArea = mRotaryCache.getCachedFocusArea(View.FOCUS_UP, mValidTime); in testGetCachedFocusArea_notInTheCache()
105 mRotaryCache.saveFocusArea(View.FOCUS_UP, mFocusArea, 0); in testClearFocusAreaHistory()
106 assertThat(mRotaryCache.getCachedFocusArea(View.FOCUS_UP, mValidTime)).isEqualTo( in testClearFocusAreaHistory()
110 assertThat(mRotaryCache.getCachedFocusArea(View.FOCUS_UP, mValidTime)).isNull(); in testClearFocusAreaHistory()
DFocusAreaTest.java22 import static android.view.View.FOCUS_UP;
458 arguments.putInt(NUDGE_DIRECTION, FOCUS_UP); in testPerformAccessibilityAction_actionNudgeToAnotherFocusArea_enabledCache()
512 arguments.putInt(NUDGE_DIRECTION, FOCUS_UP); in testPerformAccessibilityAction_actionNudgeToAnotherFocusArea_mixedCache()
554 arguments.putInt(NUDGE_DIRECTION, FOCUS_UP); in testPerformAccessibilityAction_actionNudgeToAnotherFocusArea_mixedCache2()
593 arguments.putInt(NUDGE_DIRECTION, FOCUS_UP); in testPerformAccessibilityAction_actionNudgeToAnotherFocusArea_specifiedTarget()
722 arguments.putInt(NUDGE_DIRECTION, FOCUS_UP); in testClearFocusAreaHistoryWhenRotating_clear()
773 arguments.putInt(NUDGE_DIRECTION, FOCUS_UP); in testClearFocusAreaHistoryWhenRotating_notClear()
869 arguments.putInt(NUDGE_DIRECTION, FOCUS_UP); in testBug170423337()
879 arguments.putInt(NUDGE_DIRECTION, FOCUS_UP); in testBug170423337()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
DFocusArea.java90 FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUS_DOWN));
425 mSpecifiedNudgeShortcutIdMap.put(FOCUS_UP, in initAttrs()
460 mSpecifiedNudgeIdMap.put(FOCUS_UP, in initAttrs()
641 case View.FOCUS_UP: in getOppositeDirection()
644 return View.FOCUS_UP; in getOppositeDirection()
/packages/apps/TV/src/com/android/tv/menu/
DMenuView.java253 if (direction == View.FOCUS_UP || direction == View.FOCUS_DOWN) { in focusSearch()
265 if (direction == View.FOCUS_UP) { in getUpDownFocus()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java159 if (direction == View.FOCUS_UP || direction == View.FOCUS_DOWN) { in focusSearch()
252 direction == View.FOCUS_UP ? focusedChildIndex - 1 : focusedChildIndex + 1; in focusFind()
DProgramGuide.java911 if (operationDirection == View.FOCUS_UP) { in animateRowChange()
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/
DNumberPickerNudgeHandler.java34 put(KeyEvent.KEYCODE_DPAD_UP, View.FOCUS_UP);
/packages/apps/TV/src/com/android/tv/ui/
DOnRepeatedKeyInterceptListener.java63 event.getKeyCode() == KeyEvent.KEYCODE_DPAD_UP ? View.FOCUS_UP : View.FOCUS_DOWN; in onInterceptKeyEvent()
/packages/apps/Car/RotaryController/proto/
Dcar_rotary_controller.proto100 FOCUS_UP = 2; enumerator
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DRotaryDirectManipulationWidgets.java195 map.put(KeyEvent.KEYCODE_DPAD_UP, View.FOCUS_UP); in map.put() argument
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DKeyboardDragAndDropView.java215 case View.FOCUS_UP: in getNextSelection()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java267 searchDir = View.FOCUS_UP; in findTargetPosition()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java959 return mVerticalForward ? View.FOCUS_DOWN : View.FOCUS_UP; in getLastDirection()
DScrollAdapterView.java683 (mOrientation == HORIZONTAL ? View.FOCUS_LEFT : View.FOCUS_UP);
1579 if (handleArrowKey(View.FOCUS_UP, 0, false, false)) {
1689 } else if (direction == View.FOCUS_DOWN || direction == View.FOCUS_UP) {