Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java41 assertIsNotCandidate(View.FOCUS_UP, in testBelowNotCandidateForDirectionUp()
54 assertDirectionIsCandidate(View.FOCUS_UP, src, dest); in testAboveShareEdgeEdgeOkForDirectionUp()
104 assertBeamsOverlap(View.FOCUS_UP, rect, rect); in testSameRectBeamsOverlap()
152 assertBeamsOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
157 assertBeamsOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
162 assertBeamsDontOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
168 assertBeamsOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
173 assertBeamsOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
178 assertBeamsDontOverlap(View.FOCUS_UP, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
192 assertBetterCandidate(View.FOCUS_UP, src, directlyAbove, aboveLeft); in testDirectlyAboveTrumpsAboveLeft()
[all …]
/frameworks/base/core/java/android/view/
DFocusFinder.java89 case View.FOCUS_UP: in findNextFocus()
168 case View.FOCUS_UP: in findNextFocus()
303 case View.FOCUS_UP: in isCandidate()
327 case View.FOCUS_UP: in beamsOverlap()
344 case View.FOCUS_UP: in isToDirectionOf()
368 case View.FOCUS_UP: in majorAxisDistanceRaw()
393 case View.FOCUS_UP: in majorAxisDistanceToFarEdgeRaw()
418 case View.FOCUS_UP: in minorAxisDistance()
473 case View.FOCUS_UP: in findNearestTouchable()
496 case View.FOCUS_UP: in findNearestTouchable()
[all …]
DSoundEffectConstants.java51 case View.FOCUS_UP: in getContantForFocusDirection()
DView.java1033 public static final int FOCUS_UP = 0x00000021; field in View
5086 case FOCUS_UP: in findUserSetNextFocus()
DViewRootImpl.java3337 direction = View.FOCUS_UP; in deliverKeyEventPostIme()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DHorizontalFocusSearchTest.java74 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_UP)); in testSearchFromLeftButton()
87 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_UP)); in TODO_testSearchFromMiddleLeftButton()
102 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_UP)); in TODO_testSearchFromMiddleRightButton()
115 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_UP)); in testSearchFromRightButton()
DVerticalFocusSearchTest.java89 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_UP)); in testSearchFromTopButton()
113 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_UP)); in testSearchFromMidLeft()
130 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_UP)); in testSearchFromMidRight()
150 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_UP)); in testSearchFromFromBottom()
DLinearLayoutGridTest.java60 View.FOCUS_UP)); in testGoUpFromMiddle()
/frameworks/base/core/java/android/widget/
DGridView.java1535 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_UP); in commonKey()
1537 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
1566 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_UP); in commonKey()
1573 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_UP); in commonKey()
1575 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
1589 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
1648 if (direction == FOCUS_UP) { in pageScroll()
1673 if (direction == FOCUS_UP) { in fullScroll()
1719 case FOCUS_UP: in arrowScroll()
1891 case View.FOCUS_UP: in isCandidateSelection()
DListView.java2070 if (arrowScroll(FOCUS_UP)) { in commonKey()
2078 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
2128 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_UP); in commonKey()
2136 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_UP); in commonKey()
2138 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
2152 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
2173 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_UP); in commonKey()
2213 if (direction == FOCUS_UP) { in pageScroll()
2257 if (direction == FOCUS_UP) { in fullScroll()
2397 scrollListItemsBy((direction == View.FOCUS_UP) ? amountToScroll : -amountToScroll); in arrowScrollImpl()
[all …]
DScrollView.java376 handled = arrowScroll(View.FOCUS_UP); in executeKeyEvent()
378 handled = fullScroll(View.FOCUS_UP); in executeKeyEvent()
389 pageScroll(event.isShiftPressed() ? View.FOCUS_UP : View.FOCUS_DOWN); in executeKeyEvent()
952 boolean up = direction == View.FOCUS_UP; in scrollAndFocus()
997 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) { in arrowScroll()
1354 direction = View.FOCUS_UP; in onRequestFocusInDescendants()
DTabHost.java308 && (mCurrentView.findFocus().focusSearch(View.FOCUS_UP) == null)) { in dispatchKeyEvent()
DAbsListView.java5059 case View.FOCUS_UP: in getDistance()
DTextView.java5567 if (focusSearch(FOCUS_UP) != null) { in onCreateInputConnection()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java242 case View.FOCUS_UP: in onFocusChanged()
/frameworks/base/core/java/android/webkit/
DWebView.java7547 case View.FOCUS_UP: in requestFocus()
/frameworks/base/api/
Dcurrent.txt23205 field public static final int FOCUS_UP = 33; // 0x21
D14.txt23205 field public static final int FOCUS_UP = 33; // 0x21