Home
last modified time | relevance | path

Searched refs:FOCUS_RIGHT (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java103 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/
DHorizontalFocusSearchTest.java82 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()
DVerticalFocusSearchTest.java95 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()
DLinearLayoutGridTest.java69 View.FOCUS_RIGHT)); in testGoRightFromMiddle()
/frameworks/support/core-ui/java/android/support/v4/widget/
DFocusStrategy.java151 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()
DExploreByTouchHelper.java314 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/
DFocusFinder.java222 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 …]
DSoundEffectConstants.java45 case View.FOCUS_RIGHT: in getContantForFocusDirection()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DGuidedStepRootLayout.java50 if (direction == FOCUS_LEFT || direction == FOCUS_RIGHT) { in focusSearch()
55 ? direction == FOCUS_LEFT : direction == FOCUS_RIGHT) { in focusSearch()
DBrowseFragment.java1030 int towardStart = isRtl ? View.FOCUS_RIGHT : View.FOCUS_LEFT;
1031 int towardEnd = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
DBrowseSupportFragment.java1033 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/
DListButtonsDiagonalAcrossItemsTest.java73 FocusFinder.getInstance().findNextFocus(mListView, mLeftButton, View.FOCUS_RIGHT)); in testPreconditions()
76 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_RIGHT)); in testPreconditions()
DListHorizontalFocusWithinItemWinsTest.java56 … FocusFinder.getInstance().findNextFocus(mListView, mTopLeftButton, View.FOCUS_RIGHT)); in testPreconditions()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DControlBarTest.java98 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/
DHorizontalScrollView.java381 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 …]
DGridView.java1672 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()
DTabHost.java363 directionShouldChangeFocus = View.FOCUS_RIGHT; in dispatchKeyEvent()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DTitleHelper.java50 final int forward = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
DPlaybackTransportRowView.java111 } else if (direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT) { in focusSearch()
DPersistentFocusWrapper.java88 && (direction == FOCUS_LEFT || direction == FOCUS_RIGHT))); in shouldPersistFocusFromDirection()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java254 case View.FOCUS_RIGHT: in onFocusChanged()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerTest.java389 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/
DViewPager.java897 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/
DViewPager.java2762 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/
DViewCompat.java73 @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})

12