Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java104 assertBeamsOverlap(View.FOCUS_RIGHT, rect, rect); in testSameRectBeamsOverlap()
117 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
122 assertBeamsDontOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
127 assertBeamsDontOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
133 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
138 assertBeamsDontOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
143 assertBeamsDontOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
431 assertBetterCandidate(View.FOCUS_RIGHT, in testHomeShortcutScenarioBug1295354()
440 assertBetterCandidate(View.FOCUS_RIGHT, in testBeamAlwaysBeatsHoriz()
470 assertDirectionIsCandidate(View.FOCUS_RIGHT, in testIsCandidateOverlappingEdgeFromEmptyRect()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DHorizontalFocusSearchTest.java83 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_RIGHT)); in testSearchFromLeftButton()
97 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_RIGHT)); in TODO_testSearchFromMiddleLeftButton()
111 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_RIGHT)); in TODO_testSearchFromMiddleRightButton()
123 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_RIGHT)); in testSearchFromRightButton()
DVerticalFocusSearchTest.java96 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_RIGHT)); in testSearchFromTopButton()
110 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_RIGHT)); in testSearchFromMidLeft()
127 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_RIGHT)); in testSearchFromMidRight()
147 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_RIGHT)); in testSearchFromFromBottom()
DLinearLayoutGridTest.java69 View.FOCUS_RIGHT)); in testGoRightFromMiddle()
/frameworks/base/core/java/android/view/
DFocusFinder.java232 case View.FOCUS_RIGHT: in findNextFocus()
267 case View.FOCUS_RIGHT: in findNextFocus()
292 case View.FOCUS_RIGHT: in findNextKeyboardNavigationCluster()
354 case View.FOCUS_RIGHT: in findNextFocusInAbsoluteDirection()
530 if ((direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT)) { in beamBeats()
565 case View.FOCUS_RIGHT: in isCandidate()
590 case View.FOCUS_RIGHT: in beamsOverlap()
607 case View.FOCUS_RIGHT: in isToDirectionOf()
631 case View.FOCUS_RIGHT: in majorAxisDistanceRaw()
656 case View.FOCUS_RIGHT: in majorAxisDistanceToFarEdgeRaw()
[all …]
DSoundEffectConstants.java95 case View.FOCUS_RIGHT: in getContantForFocusDirection()
122 case View.FOCUS_RIGHT: in getConstantForFocusDirection()
DView.java2042 FOCUS_RIGHT,
2052 FOCUS_RIGHT,
2083 public static final int FOCUS_RIGHT = 0x00000042; field in View
14759 case FOCUS_RIGHT:
DViewRootImpl.java7741 direction = View.FOCUS_RIGHT; in performFocusNavigation()
/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()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java495 currentFocused, View.FOCUS_RIGHT); in executeKeyEvent()
497 nextFocused.requestFocus(View.FOCUS_RIGHT); in executeKeyEvent()
514 handled = arrowScroll(View.FOCUS_RIGHT); in executeKeyEvent()
516 handled = fullScroll(View.FOCUS_RIGHT); in executeKeyEvent()
520 pageScroll(event.isShiftPressed() ? View.FOCUS_LEFT : View.FOCUS_RIGHT); in executeKeyEvent()
1160 boolean right = direction == View.FOCUS_RIGHT; in pageScroll()
1196 boolean right = direction == View.FOCUS_RIGHT; in fullScroll()
1279 } else if (direction == View.FOCUS_RIGHT && getChildCount() > 0) { in arrowScroll()
1292 doScrollX(direction == View.FOCUS_RIGHT ? scrollDelta : -scrollDelta); in arrowScroll()
1669 direction = View.FOCUS_RIGHT; in onRequestFocusInDescendants()
[all …]
DGridView.java1693 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_RIGHT); in commonKey()
1876 (direction == FOCUS_RIGHT && isLayoutRtl))) { in arrowScroll()
1881 (direction == FOCUS_RIGHT && !isLayoutRtl))) { in arrowScroll()
2020 case View.FOCUS_RIGHT: in isCandidateSelection()
DTabHost.java390 directionShouldChangeFocus = View.FOCUS_RIGHT; in dispatchKeyEvent()
DSimpleMonthView.java495 case View.FOCUS_RIGHT: { in onFocusChanged()
DListView.java2439 handled = handleHorizontalFocusWithinListItem(View.FOCUS_RIGHT); in commonKey()
2605 if (direction != View.FOCUS_LEFT && direction != View.FOCUS_RIGHT) { in handleHorizontalFocusWithinListItem()
DAbsListView.java6112 case View.FOCUS_RIGHT: in getDistance()
/frameworks/base/core/tests/coretests/src/android/widget/
DInternalSelectionView.java252 case View.FOCUS_RIGHT: in onFocusChanged()
/frameworks/base/services/core/java/com/android/server/input/debug/
DFocusEventDebugView.java181 (view, l, t, r, b, ol, ot, or, ob) -> scroller.fullScroll(View.FOCUS_RIGHT)); in handleUpdateShowKeyPresses()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java904 focusDirection = mCurItem < newCurrentItem ? View.FOCUS_RIGHT : View.FOCUS_LEFT;
2501 handled = arrowScroll(FOCUS_RIGHT);
2557 } else if (direction == View.FOCUS_RIGHT) {
2571 } else if (direction == FOCUS_RIGHT || direction == FOCUS_FORWARD) {
DLinearLayoutManager.java1638 case View.FOCUS_RIGHT: in convertFocusDirectionToLayoutDirection()
DRecyclerView.java2302 ? View.FOCUS_RIGHT : View.FOCUS_LEFT; in focusSearch()
2359 ? View.FOCUS_RIGHT : View.FOCUS_LEFT; in isPreferredNextFocus()
2387 case View.FOCUS_RIGHT: in isPreferredNextFocusAbsolute()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentTest.java933 assertFalse(mWm.moveFocusToAdjacentWindow(winLeftBottom, View.FOCUS_RIGHT)); in testMoveFocusToAdjacentWindow()
938 assertTrue(mWm.moveFocusToAdjacentWindow(winLeftTop, View.FOCUS_RIGHT)); in testMoveFocusToAdjacentWindow()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java4111 case View.FOCUS_RIGHT: in enforceValidFocusDirection()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java9411 case View.FOCUS_RIGHT: in moveFocusToAdjacentWindow()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33791 field public static final int FOCUS_RIGHT = 66; // 0x42

12