Home
last modified time | relevance | path

Searched refs:FOCUS_UP (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java42 assertIsNotCandidate(View.FOCUS_UP, in testBelowNotCandidateForDirectionUp()
55 assertDirectionIsCandidate(View.FOCUS_UP, src, dest); in testAboveShareEdgeEdgeOkForDirectionUp()
105 assertBeamsOverlap(View.FOCUS_UP, rect, rect); in testSameRectBeamsOverlap()
153 assertBeamsOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
158 assertBeamsDontOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
163 assertBeamsDontOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
169 assertBeamsOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
174 assertBeamsDontOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
179 assertBeamsDontOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
193 assertBetterCandidate(View.FOCUS_UP, src, directlyAbove, aboveLeft); in testDirectlyAboveTrumpsAboveLeft()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DHorizontalFocusSearchTest.java75 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_UP)); in testSearchFromLeftButton()
88 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_UP)); in TODO_testSearchFromMiddleLeftButton()
103 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_UP)); in TODO_testSearchFromMiddleRightButton()
116 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_UP)); in testSearchFromRightButton()
DVerticalFocusSearchTest.java90 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_UP)); in testSearchFromTopButton()
114 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_UP)); in testSearchFromMidLeft()
131 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_UP)); in testSearchFromMidRight()
151 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_UP)); in testSearchFromFromBottom()
DLinearLayoutGridTest.java60 View.FOCUS_UP)); in testGoUpFromMiddle()
/frameworks/base/core/java/android/view/
DFocusFinder.java245 case View.FOCUS_UP: in findNextFocus()
264 case View.FOCUS_UP: in findNextFocus()
295 case View.FOCUS_UP: in findNextKeyboardNavigationCluster()
347 case View.FOCUS_UP: in findNextFocusInAbsoluteDirection()
554 case View.FOCUS_UP: in isCandidate()
578 case View.FOCUS_UP: in beamsOverlap()
595 case View.FOCUS_UP: in isToDirectionOf()
619 case View.FOCUS_UP: in majorAxisDistanceRaw()
644 case View.FOCUS_UP: in majorAxisDistanceToFarEdgeRaw()
669 case View.FOCUS_UP: in minorAxisDistance()
[all …]
DSoundEffectConstants.java53 case View.FOCUS_UP: in getContantForFocusDirection()
DView.java1826 FOCUS_UP,
1836 FOCUS_UP,
1863 public static final int FOCUS_UP = 0x00000021; field in View
12515 case FOCUS_UP:
DViewRootImpl.java5491 direction = View.FOCUS_UP; in performFocusNavigation()
/frameworks/base/core/java/android/widget/
DGridView.java1698 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_UP); in commonKey()
1700 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
1714 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_UP); in commonKey()
1716 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
1730 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
1786 if (direction == FOCUS_UP) { in pageScroll()
1811 if (direction == FOCUS_UP) { in fullScroll()
1857 case FOCUS_UP: in arrowScroll()
2029 case View.FOCUS_UP: in isCandidateSelection()
DScrollView.java523 handled = arrowScroll(View.FOCUS_UP); in executeKeyEvent()
525 handled = fullScroll(View.FOCUS_UP); in executeKeyEvent()
536 pageScroll(event.isShiftPressed() ? View.FOCUS_UP : View.FOCUS_DOWN); in executeKeyEvent()
1197 boolean up = direction == View.FOCUS_UP; in scrollAndFocus()
1242 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) { in arrowScroll()
1611 direction = View.FOCUS_UP; in onRequestFocusInDescendants()
DListView.java2404 if (arrowScroll(FOCUS_UP)) { in commonKey()
2412 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
2447 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_UP); in commonKey()
2449 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
2463 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
2481 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_UP); in commonKey()
2520 if (direction == FOCUS_UP) { in pageScroll()
2567 if (direction == FOCUS_UP) { in fullScroll()
2756 scrollListItemsBy((direction == View.FOCUS_UP) ? amountToScroll : -amountToScroll); in arrowScrollImpl()
2827 if (direction == View.FOCUS_UP) { in handleNewSelectionChange()
[all …]
DTabHost.java363 int directionShouldChangeFocus = View.FOCUS_UP; in dispatchKeyEvent()
385 directionShouldChangeFocus = View.FOCUS_UP; in dispatchKeyEvent()
DSimpleMonthView.java500 case View.FOCUS_UP: { in onFocusChanged()
DAbsListView.java5835 case View.FOCUS_UP: in getDistance()
DTextView.java8645 if (focusSearch(FOCUS_UP) != null) { in onCreateInputConnection()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java247 case View.FOCUS_UP: in onFocusChanged()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1629 case View.FOCUS_UP: in convertFocusDirectionToLayoutDirection()
DRecyclerView.java2271 direction == View.FOCUS_FORWARD ? View.FOCUS_DOWN : View.FOCUS_UP; in focusSearch()
2346 return isPreferredNextFocusAbsolute(focused, next, View.FOCUS_UP); in isPreferredNextFocus()
2371 case View.FOCUS_UP: in isPreferredNextFocusAbsolute()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java3165 case View.FOCUS_UP: in enforceValidFocusDirection()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33792 field public static final int FOCUS_UP = 33; // 0x21
/frameworks/base/non-updatable-api/
Dcurrent.txt52092 field public static final int FOCUS_UP = 33; // 0x21
/frameworks/base/api/
Dcurrent.txt52236 field public static final int FOCUS_UP = 33; // 0x21