/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/java/android/view/ |
D | FocusFinder.java | 127 case View.FOCUS_RIGHT: in findNextFocus() 162 case View.FOCUS_RIGHT: in findNextFocus() 212 case View.FOCUS_RIGHT: in findNextFocusInAbsoluteDirection() 338 if ((direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT)) { in beamBeats() 373 case View.FOCUS_RIGHT: in isCandidate() 398 case View.FOCUS_RIGHT: in beamsOverlap() 415 case View.FOCUS_RIGHT: in isToDirectionOf() 439 case View.FOCUS_RIGHT: in majorAxisDistanceRaw() 464 case View.FOCUS_RIGHT: in majorAxisDistanceToFarEdgeRaw() 486 case View.FOCUS_RIGHT: in minorAxisDistance() [all …]
|
D | SoundEffectConstants.java | 43 case View.FOCUS_RIGHT: in getContantForFocusDirection()
|
D | View.java | 1126 FOCUS_RIGHT, 1136 FOCUS_RIGHT, 1167 public static final int FOCUS_RIGHT = 0x00000042; field in View 8120 case FOCUS_RIGHT: in findUserSetNextFocus()
|
D | ViewRootImpl.java | 4167 direction = View.FOCUS_RIGHT; in processKeyEvent()
|
/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/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/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 365 currentFocused, View.FOCUS_RIGHT); in executeKeyEvent() 367 nextFocused.requestFocus(View.FOCUS_RIGHT); in executeKeyEvent() 384 handled = arrowScroll(View.FOCUS_RIGHT); in executeKeyEvent() 386 handled = fullScroll(View.FOCUS_RIGHT); in executeKeyEvent() 390 pageScroll(event.isShiftPressed() ? View.FOCUS_LEFT : View.FOCUS_RIGHT); in executeKeyEvent() 979 boolean right = direction == View.FOCUS_RIGHT; in pageScroll() 1015 boolean right = direction == View.FOCUS_RIGHT; in fullScroll() 1098 } else if (direction == View.FOCUS_RIGHT && getChildCount() > 0) { in arrowScroll() 1111 doScrollX(direction == View.FOCUS_RIGHT ? scrollDelta : -scrollDelta); in arrowScroll() 1442 direction = View.FOCUS_RIGHT; in onRequestFocusInDescendants() [all …]
|
D | GridView.java | 1655 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_RIGHT); in commonKey() 1863 (direction == FOCUS_RIGHT && isLayoutRtl))) { in arrowScroll() 1868 (direction == FOCUS_RIGHT && !isLayoutRtl))) { in arrowScroll() 2006 case View.FOCUS_RIGHT: in isCandidateSelection()
|
D | TabHost.java | 328 directionShouldChangeFocus = View.FOCUS_RIGHT; in dispatchKeyEvent()
|
D | ListView.java | 2226 handled = handleHorizontalFocusWithinListItem(View.FOCUS_RIGHT); in commonKey() 2419 if (direction != View.FOCUS_LEFT && direction != View.FOCUS_RIGHT) { in handleHorizontalFocusWithinListItem()
|
D | AbsListView.java | 5528 case View.FOCUS_RIGHT: in getDistance()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | TitleHelper.java | 52 final int forward = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
|
D | PersistentFocusWrapper.java | 88 (!mPersistFocusVertical && (direction == FOCUS_LEFT || direction == FOCUS_RIGHT))); in shouldPersistFocusFromDirection()
|
D | GridLayoutManager.java | 2820 case View.FOCUS_RIGHT: in getMovement() 2835 case View.FOCUS_RIGHT: in getMovement()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 254 case View.FOCUS_RIGHT: in onFocusChanged()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BrowseSupportFragment.java | 480 int towardStart = isRtl ? View.FOCUS_RIGHT : View.FOCUS_LEFT; 481 int towardEnd = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
|
D | BrowseFragment.java | 478 int towardStart = isRtl ? View.FOCUS_RIGHT : View.FOCUS_LEFT; 479 int towardEnd = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 959 focusDirection = mCurItem < newCurrentItem ? View.FOCUS_RIGHT : View.FOCUS_LEFT; 2583 handled = arrowScroll(FOCUS_RIGHT); 2643 } else if (direction == View.FOCUS_RIGHT) { 2657 } else if (direction == FOCUS_RIGHT || direction == FOCUS_FORWARD) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 922 focusDirection = mCurItem < newCurrentItem ? View.FOCUS_RIGHT : View.FOCUS_LEFT; 2460 handled = arrowScroll(FOCUS_RIGHT); 2516 } else if (direction == View.FOCUS_RIGHT) { 2530 } else if (direction == FOCUS_RIGHT || direction == FOCUS_FORWARD) {
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityNodeInfo.java | 2530 case View.FOCUS_RIGHT: in enforceValidFocusDirection()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearLayoutManager.java | 1468 case View.FOCUS_RIGHT: in convertFocusDirectionToLayoutDirection()
|