/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | FocusFinderTest.java | 44 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 …]
|
D | RotaryServiceTest.java | 918 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()
|
D | NavigatorTest.java | 874 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/ |
D | FocusFinder.java | 38 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()
|
D | DumpUtils.java | 56 case View.FOCUS_UP: in writeFocusDirection() 57 val = RotaryProtos.FOCUS_UP; in writeFocusDirection()
|
D | RotaryService.java | 209 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()
|
D | Navigator.java | 80 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/ |
D | RotaryCacheTest.java | 91 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()
|
D | FocusAreaTest.java | 22 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/ |
D | FocusArea.java | 90 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/ |
D | MenuView.java | 253 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/ |
D | ProgramGrid.java | 159 if (direction == View.FOCUS_UP || direction == View.FOCUS_DOWN) { in focusSearch() 252 direction == View.FOCUS_UP ? focusedChildIndex - 1 : focusedChildIndex + 1; in focusFind()
|
D | ProgramGuide.java | 911 if (operationDirection == View.FOCUS_UP) { in animateRowChange()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/ |
D | NumberPickerNudgeHandler.java | 34 put(KeyEvent.KEYCODE_DPAD_UP, View.FOCUS_UP);
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | OnRepeatedKeyInterceptListener.java | 63 event.getKeyCode() == KeyEvent.KEYCODE_DPAD_UP ? View.FOCUS_UP : View.FOCUS_DOWN; in onInterceptKeyEvent()
|
/packages/apps/Car/RotaryController/proto/ |
D | car_rotary_controller.proto | 100 FOCUS_UP = 2; enumerator
|
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/ |
D | RotaryDirectManipulationWidgets.java | 195 map.put(KeyEvent.KEYCODE_DPAD_UP, View.FOCUS_UP); in map.put() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | KeyboardDragAndDropView.java | 215 case View.FOCUS_UP: in getNextSelection()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | FocusManager.java | 267 searchDir = View.FOCUS_UP; in findTargetPosition()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollController.java | 959 return mVerticalForward ? View.FOCUS_DOWN : View.FOCUS_UP; in getLastDirection()
|
D | ScrollAdapterView.java | 683 (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) {
|