Home
last modified time | relevance | path

Searched refs:FOCUS_RIGHT (Results 1 – 25 of 27) 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/java/android/view/
DFocusFinder.java127 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 …]
DSoundEffectConstants.java43 case View.FOCUS_RIGHT: in getContantForFocusDirection()
DView.java1126 FOCUS_RIGHT,
1136 FOCUS_RIGHT,
1167 public static final int FOCUS_RIGHT = 0x00000042; field in View
8120 case FOCUS_RIGHT: in findUserSetNextFocus()
DViewRootImpl.java4167 direction = View.FOCUS_RIGHT; in processKeyEvent()
/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/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/base/core/java/android/widget/
DHorizontalScrollView.java365 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 …]
DGridView.java1655 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()
DTabHost.java328 directionShouldChangeFocus = View.FOCUS_RIGHT; in dispatchKeyEvent()
DListView.java2226 handled = handleHorizontalFocusWithinListItem(View.FOCUS_RIGHT); in commonKey()
2419 if (direction != View.FOCUS_LEFT && direction != View.FOCUS_RIGHT) { in handleHorizontalFocusWithinListItem()
DAbsListView.java5528 case View.FOCUS_RIGHT: in getDistance()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DTitleHelper.java52 final int forward = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
DPersistentFocusWrapper.java88 (!mPersistFocusVertical && (direction == FOCUS_LEFT || direction == FOCUS_RIGHT))); in shouldPersistFocusFromDirection()
DGridLayoutManager.java2820 case View.FOCUS_RIGHT: in getMovement()
2835 case View.FOCUS_RIGHT: in getMovement()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java254 case View.FOCUS_RIGHT: in onFocusChanged()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBrowseSupportFragment.java480 int towardStart = isRtl ? View.FOCUS_RIGHT : View.FOCUS_LEFT;
481 int towardEnd = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
DBrowseFragment.java478 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/
DViewPager.java959 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/
DViewPager.java922 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/
DAccessibilityNodeInfo.java2530 case View.FOCUS_RIGHT: in enforceValidFocusDirection()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java1468 case View.FOCUS_RIGHT: in convertFocusDirectionToLayoutDirection()

12