Home
last modified time | relevance | path

Searched defs:direction (Results 1 – 25 of 118) sorted by relevance

12345

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DFocusFinder.java49 static boolean isPartiallyInDirection(Rect srcRect, Rect destRect, int direction) { in isPartiallyInDirection()
73 static boolean isInDirection(Rect srcRect, Rect destRect, int direction) { in isInDirection()
126 static boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate()
162 static boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { in isBetterCandidate()
191 private static int minorAxisDistance(int direction, Rect source, Rect dest) { in minorAxisDistance()
213 static boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { in beamBeats()
247 static boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { in beamsOverlap()
263 private static boolean isToDirectionOf(int direction, Rect src, Rect dest) { in isToDirectionOf()
284 static int majorAxisDistance(int direction, Rect source, Rect dest) { in majorAxisDistance()
288 private static int majorAxisDistanceRaw(int direction, Rect source, Rect dest) { in majorAxisDistanceRaw()
[all …]
DNavigator.java146 @NonNull AccessibilityNodeInfo sourceNode, int direction, int rotationCount) { in findRotateTarget()
397 int direction) { in findNudgeTargetFocusArea()
455 int direction) { in shouldNudgeOutOfIme()
508 int direction, in addWindowsInDirection()
646 int direction) { in findFocusableDescendantInDirection()
717 int direction) { in chooseBestNudgeCandidate()
756 int direction) { in isCandidate()
868 @NonNull AccessibilityNodeInfo candidate, int direction) { in findNextFocusableInWebView()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DFocusFinderTest.java509 private void assertIsPartiallyInDirection(int direction, Rect src, Rect dest) { in assertIsPartiallyInDirection()
517 private void assertIsInDirection(int direction, Rect src, Rect dest) { in assertIsInDirection()
524 private void assertIsNotInDirection(int direction, Rect src, Rect dest) { in assertIsNotInDirection()
531 private void assertBeamsOverlap(int direction, Rect rect1, Rect rect2) { in assertBeamsOverlap()
539 private void assertBeamsDontOverlap(int direction, Rect rect1, Rect rect2) { in assertBeamsDontOverlap()
556 private void assertBetterCandidate(int direction, Rect srcRect, Rect expectedBetter, in assertBetterCandidate()
576 private void assertIsNotCandidate(int direction, Rect src, Rect dest) { in assertIsNotCandidate()
585 private void assertBeamBeats(int direction, Rect srcRect, Rect rect1, Rect rect2) { in assertBeamBeats()
593 private void assertDirectionIsCandidate(int direction, Rect src, Rect dest) { in assertDirectionIsCandidate()
601 private String validateAndGetStringFor(int direction) { in validateAndGetStringFor()
DNavigatorTest.java114 int direction = View.FOCUS_FORWARD; in testFindRotateTarget() local
149 int direction = View.FOCUS_FORWARD; in testFindRotateTargetNoWrapAround() local
174 int direction = View.FOCUS_FORWARD; in testFindRotateTargetNoWrapAroundWithGenericFpv() local
197 int direction = View.FOCUS_FORWARD; in testFindRotateTargetNoWrapAround2() local
220 int direction = View.FOCUS_FORWARD; in testFindRotateTargetNoWrapAround2WithGenericFpv() local
269 int direction = View.FOCUS_FORWARD; in testFindRotateTargetDoesNotSkipOffscreenNode() local
312 int direction = View.FOCUS_FORWARD; in testFindRotateTargetSkipNodeThatCannotPerformFocus() local
351 int direction = View.FOCUS_FORWARD; in testFindRotateTargetReturnScrollableContainer() local
379 int direction = View.FOCUS_FORWARD; in testFindRotateTargetSkipScrollableContainer() local
418 int direction = View.FOCUS_BACKWARD; in testFindRotateTargetSkipScrollableContainer2() local
[all …]
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/
DRotaryCacheTest.java78 int direction = View.FOCUS_LEFT; in testGetCachedFocusArea_inTheCache() local
86 int direction = View.FOCUS_LEFT; in testGetCachedFocusArea_notInTheCache() local
97 int direction = View.FOCUS_LEFT; in testGetCachedFocusArea_expiredCache() local
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSortBot.java70 public void sortBy(@SortDimensionId int id, @SortDirection int direction) { in sortBy()
105 private boolean sortByMenu(@SortDimensionId int id, @SortDirection int direction) { in sortByMenu()
134 private boolean sortBy(String label, @SortDirection int direction) { in sortBy()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSessionCallback.java117 @NonNull IpSecTransform ipSecTransform, @PolicyDirection int direction); in onIpSecTransformCreated()
154 @NonNull IpSecTransform ipSecTransform, @PolicyDirection int direction); in onIpSecTransformDeleted()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
DFocusArea.java554 int direction = getNudgeDirection(arguments); in performAccessibilityAction() local
586 int direction = getNudgeDirection(arguments); in nudgeToShortcutView() local
601 int direction = getNudgeDirection(arguments); in nudgeToAnotherFocusArea() local
623 private void saveFocusAreaHistory(int direction, @NonNull FocusArea sourceFocusArea, in saveFocusAreaHistory()
635 private static int getOppositeDirection(int direction) { in getOppositeDirection()
652 private FocusArea getSpecifiedFocusArea(int direction) { in getSpecifiedFocusArea()
658 private View getSpecifiedShortcut(int direction) { in getSpecifiedShortcut()
711 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants()
792 public void setNudgeShortcut(int direction, @Nullable View view) { in setNudgeShortcut()
812 public View focusSearch(View focused, int direction) { in focusSearch()
DRotaryCache.java153 void put(int direction, @NonNull FocusArea targetFocusArea, long elapsedRealtime) { in put()
160 FocusArea get(int direction, long elapsedRealtime) { in get()
208 FocusArea getCachedFocusArea(int direction, long elapsedRealtime) { in getCachedFocusArea()
213 void saveFocusArea(int direction, @NonNull FocusArea targetFocusArea, long elapsedRealtime) { in saveFocusArea()
/packages/apps/TV/src/com/android/tv/guide/
DProgramRow.java119 private boolean isDirectionStart(int direction) { in isDirectionStart()
126 private boolean isDirectionEnd(int direction) { in isDirectionEnd()
133 void focusSearchAccessibility(View focused, int direction) { in focusSearchAccessibility()
145 public View focusSearch(View focused, int direction) { in focusSearch()
259 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants()
DProgramGrid.java154 public View focusSearch(View focused, int direction) { in focusSearch()
170 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants()
245 private View focusFind(View focused, int direction) { in focusFind()
302 private void updateUpDownFocusState(View focused, int direction) { in updateUpDownFocusState()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DSidePanelHelper.java49 public UiObject2 assertNavigateToItem(int resId, Direction direction) { in assertNavigateToItem()
58 public UiObject2 assertNavigateToItem(String title, Direction direction) { in assertNavigateToItem()
DUiObject2Utils.java25 public static boolean hasSiblingInDirection(UiObject2 theUiObject, Direction direction) { in hasSiblingInDirection()
DUiDeviceUtils.java25 public static void pressDpad(UiDevice uiDevice, Direction direction) { in pressDpad()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortListFragment.java97 …blic static @StringRes int getSheetLabelId(SortDimension dimension, @SortDirection int direction) { in getSheetLabelId()
174 @SortDirection final int direction; field in SortListFragment.SortItem
183 SortItem(@SortDimensionId int id, @SortDirection int direction, @StringRes int labelId) { in SortItem()
DSortModel.java175 public void sortByUser(int dimensionId, @SortDirection int direction) { in sortByUser()
191 SortDimension newSortedDimension, @SortDirection int direction) { in sortByDimension()
322 final String direction; in getDocumentSortQuery() local
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DFanDirectionButtons.java53 void onFanDirectionClicked(@FanDirection int direction); in onFanDirectionClicked()
80 public void setFanDirection(@FanDirection int direction) { in setFanDirection()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeView.java103 public void onPull(int offset, int direction) { in onPull()
126 public void onAbsorb(int velocity, int direction) { in onAbsorb()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelScrollView.java36 public boolean arrowScroll(int direction) { in arrowScroll()
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/
DNumberPickerNudgeHandler.java50 int direction = KEYCODE_TO_DIRECTION_MAP.get(keyCode); in onKey() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DConnectedDevicesSliceBroadcastReceiver.java63 String direction = intent.getStringExtra(EXTRAS_DIRECTION); in onReceive() local
/packages/apps/TV/src/com/android/tv/menu/
DMenuView.java192 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants()
249 public View focusSearch(View focused, int direction) { in focusSearch()
259 private View getUpDownFocus(View focused, int direction) { in getUpDownFocus()
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDigitsEditText.java45 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDigitsEditText.java37 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DSplitScreenSelectState.java52 int direction = orientationHandler.getSplitTranslationDirectionFactor(splitPosition); in getSplitSelectTranslation() local

12345