/frameworks/base/core/tests/coretests/src/android/view/ |
D | FocusFinderTest.java | 103 assertBeamsOverlap(View.FOCUS_RIGHT, rect, rect); in testSameRectBeamsOverlap() 116 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge() 121 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge() 126 assertBeamsDontOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge() 132 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge() 137 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge() 142 assertBeamsDontOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge() 430 assertBetterCandidate(View.FOCUS_RIGHT, in testHomeShortcutScenarioBug1295354() 439 assertBetterCandidate(View.FOCUS_RIGHT, in testBeamAlwaysBeatsHoriz() 469 assertDirectionIsCandidate(View.FOCUS_RIGHT, in testIsCandidateOverlappingEdgeFromEmptyRect() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | HorizontalFocusSearchTest.java | 82 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_RIGHT)); in testSearchFromLeftButton() 96 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_RIGHT)); in TODO_testSearchFromMiddleLeftButton() 110 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_RIGHT)); in TODO_testSearchFromMiddleRightButton() 122 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_RIGHT)); in testSearchFromRightButton()
|
D | VerticalFocusSearchTest.java | 95 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_RIGHT)); in testSearchFromTopButton() 109 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_RIGHT)); in testSearchFromMidLeft() 126 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_RIGHT)); in testSearchFromMidRight() 146 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_RIGHT)); in testSearchFromFromBottom()
|
D | LinearLayoutGridTest.java | 69 View.FOCUS_RIGHT)); in testGoRightFromMiddle()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | FocusStrategy.java | 151 case View.FOCUS_RIGHT: in findNextFocusInAbsoluteDirection() 263 if (direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT) { in beamBeats() 301 case View.FOCUS_RIGHT: in isCandidate() 328 case View.FOCUS_RIGHT: in beamsOverlap() 346 case View.FOCUS_RIGHT: in isToDirectionOf() 373 case View.FOCUS_RIGHT: in majorAxisDistanceRaw() 401 case View.FOCUS_RIGHT: in majorAxisDistanceToFarEdgeRaw() 425 case View.FOCUS_RIGHT: in minorAxisDistance()
|
D | ExploreByTouchHelper.java | 314 return View.FOCUS_RIGHT; in keyToDirection() 389 case View.FOCUS_RIGHT: in moveFocus() 459 case View.FOCUS_RIGHT: in guessPreviouslyFocusedRect()
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 222 case View.FOCUS_RIGHT: in findNextFocus() 257 case View.FOCUS_RIGHT: in findNextFocus() 282 case View.FOCUS_RIGHT: in findNextKeyboardNavigationCluster() 334 case View.FOCUS_RIGHT: in findNextFocusInAbsoluteDirection() 506 if ((direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT)) { in beamBeats() 541 case View.FOCUS_RIGHT: in isCandidate() 566 case View.FOCUS_RIGHT: in beamsOverlap() 583 case View.FOCUS_RIGHT: in isToDirectionOf() 607 case View.FOCUS_RIGHT: in majorAxisDistanceRaw() 632 case View.FOCUS_RIGHT: in majorAxisDistanceToFarEdgeRaw() [all …]
|
D | SoundEffectConstants.java | 45 case View.FOCUS_RIGHT: in getContantForFocusDirection()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | GuidedStepRootLayout.java | 50 if (direction == FOCUS_LEFT || direction == FOCUS_RIGHT) { in focusSearch() 55 ? direction == FOCUS_LEFT : direction == FOCUS_RIGHT) { in focusSearch()
|
D | BrowseFragment.java | 1030 int towardStart = isRtl ? View.FOCUS_RIGHT : View.FOCUS_LEFT; 1031 int towardEnd = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
|
D | BrowseSupportFragment.java | 1033 int towardStart = isRtl ? View.FOCUS_RIGHT : View.FOCUS_LEFT; 1034 int towardEnd = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
D | ListButtonsDiagonalAcrossItemsTest.java | 73 FocusFinder.getInstance().findNextFocus(mListView, mLeftButton, View.FOCUS_RIGHT)); in testPreconditions() 76 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_RIGHT)); in testPreconditions()
|
D | ListHorizontalFocusWithinItemWinsTest.java | 56 … FocusFinder.getInstance().findNextFocus(mListView, mTopLeftButton, View.FOCUS_RIGHT)); in testPreconditions()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | ControlBarTest.java | 98 bar.requestFocus(View.FOCUS_RIGHT); in persistFocus() 132 bar.addFocusables(focusables, View.FOCUS_RIGHT); in getFocusables() 164 bar.addFocusables(focusables, View.FOCUS_RIGHT); in getFocusables()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 381 currentFocused, View.FOCUS_RIGHT); in executeKeyEvent() 383 nextFocused.requestFocus(View.FOCUS_RIGHT); in executeKeyEvent() 400 handled = arrowScroll(View.FOCUS_RIGHT); in executeKeyEvent() 402 handled = fullScroll(View.FOCUS_RIGHT); in executeKeyEvent() 406 pageScroll(event.isShiftPressed() ? View.FOCUS_LEFT : View.FOCUS_RIGHT); in executeKeyEvent() 1004 boolean right = direction == View.FOCUS_RIGHT; in pageScroll() 1040 boolean right = direction == View.FOCUS_RIGHT; in fullScroll() 1123 } else if (direction == View.FOCUS_RIGHT && getChildCount() > 0) { in arrowScroll() 1136 doScrollX(direction == View.FOCUS_RIGHT ? scrollDelta : -scrollDelta); in arrowScroll() 1472 direction = View.FOCUS_RIGHT; in onRequestFocusInDescendants() [all …]
|
D | GridView.java | 1672 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_RIGHT); in commonKey() 1855 (direction == FOCUS_RIGHT && isLayoutRtl))) { in arrowScroll() 1860 (direction == FOCUS_RIGHT && !isLayoutRtl))) { in arrowScroll() 1998 case View.FOCUS_RIGHT: in isCandidateSelection()
|
D | TabHost.java | 363 directionShouldChangeFocus = View.FOCUS_RIGHT; in dispatchKeyEvent()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | TitleHelper.java | 50 final int forward = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
|
D | PlaybackTransportRowView.java | 111 } else if (direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT) { in focusSearch()
|
D | PersistentFocusWrapper.java | 88 && (direction == FOCUS_LEFT || direction == FOCUS_RIGHT))); in shouldPersistFocusFromDirection()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 254 case View.FOCUS_RIGHT: in onFocusChanged()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | StaggeredGridLayoutManagerTest.java | 389 focusSearch(focusedView, View.FOCUS_RIGHT); in focusSearchFailure() 824 focusSearchAndWaitForScroll(focusedView, View.FOCUS_RIGHT); in rightUnfocusableViewsVisibility() 835 focusSearchAndWaitForScroll(focusedView, View.FOCUS_RIGHT); in rightUnfocusableViewsVisibility()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 897 focusDirection = mCurItem < newCurrentItem ? View.FOCUS_RIGHT : View.FOCUS_LEFT; 2449 handled = arrowScroll(FOCUS_RIGHT); 2505 } else if (direction == View.FOCUS_RIGHT) { 2519 } else if (direction == FOCUS_RIGHT || direction == FOCUS_FORWARD) {
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | ViewPager.java | 2762 handled = arrowScroll(FOCUS_RIGHT); 2826 } else if (direction == View.FOCUS_RIGHT) { 2840 } else if (direction == FOCUS_RIGHT || direction == FOCUS_FORWARD) {
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | ViewCompat.java | 73 @IntDef({View.FOCUS_LEFT, View.FOCUS_UP, View.FOCUS_RIGHT, View.FOCUS_DOWN, 80 @IntDef({View.FOCUS_LEFT, View.FOCUS_UP, View.FOCUS_RIGHT, View.FOCUS_DOWN})
|