Home
last modified time | relevance | path

Searched refs:FOCUS_DOWN (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java60 View.FOCUS_DOWN, in testCompletelyContainedNotCandidate()
69 View.FOCUS_DOWN, in testContinaedWithCommonBottomNotCandidate()
78 View.FOCUS_DOWN, in testOverlappingIsCandidateWhenBothEdgesAreInDirection()
87 View.FOCUS_DOWN, in testTopEdgeOfDestAtOrAboveTopOfSrcNotCandidateForDown()
92 View.FOCUS_DOWN, in testTopEdgeOfDestAtOrAboveTopOfSrcNotCandidateForDown()
105 assertBeamsOverlap(View.FOCUS_DOWN, rect, rect); in testSameRectBeamsOverlap()
153 assertBeamsOverlap(View.FOCUS_DOWN, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
158 assertBeamsOverlap(View.FOCUS_DOWN, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
163 assertBeamsDontOverlap(View.FOCUS_DOWN, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
169 assertBeamsOverlap(View.FOCUS_DOWN, rect1, rect2); in testOverlapBeamsUpDownUpToEdge()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DHorizontalFocusSearchTest.java76 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_DOWN)); in testSearchFromLeftButton()
90 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_DOWN)); in TODO_testSearchFromMiddleLeftButton()
104 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_DOWN)); in TODO_testSearchFromMiddleRightButton()
117 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_DOWN)); in testSearchFromRightButton()
DVerticalFocusSearchTest.java100 .findNextFocus(mLayout, mTopWide, View.FOCUS_DOWN)); in testSearchFromTopButton()
117 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_DOWN)); in testSearchFromMidLeft()
134 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_DOWN)); in testSearchFromMidRight()
140 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_DOWN)); in testSearchFromFromBottom()
DLinearLayoutGridTest.java51 View.FOCUS_DOWN)); in testGoDownFromMiddle()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DControlBarTest.java56 bar.requestFocus(View.FOCUS_DOWN); in defaultFocus()
81 v3.requestFocus(View.FOCUS_DOWN); in persistFocus()
121 bar.addFocusables(focusables, View.FOCUS_DOWN); in getFocusables()
139 v3.requestFocus(View.FOCUS_DOWN); in getFocusables()
153 bar.addFocusables(focusables, View.FOCUS_DOWN); in getFocusables()
/frameworks/support/core-ui/java/android/support/v4/widget/
DFocusStrategy.java157 case View.FOCUS_DOWN: in findNextFocusInAbsoluteDirection()
307 case View.FOCUS_DOWN: in isCandidate()
331 case View.FOCUS_DOWN: in beamsOverlap()
350 case View.FOCUS_DOWN: in isToDirectionOf()
377 case View.FOCUS_DOWN: in majorAxisDistanceRaw()
405 case View.FOCUS_DOWN: in majorAxisDistanceToFarEdgeRaw()
430 case View.FOCUS_DOWN: in minorAxisDistance()
DNestedScrollView.java563 currentFocused, View.FOCUS_DOWN); in executeKeyEvent()
566 && nextFocused.requestFocus(View.FOCUS_DOWN); in executeKeyEvent()
583 handled = arrowScroll(View.FOCUS_DOWN); in executeKeyEvent()
585 handled = fullScroll(View.FOCUS_DOWN); in executeKeyEvent()
589 pageScroll(event.isShiftPressed() ? View.FOCUS_UP : View.FOCUS_DOWN); in executeKeyEvent()
1134 boolean down = direction == View.FOCUS_DOWN; in pageScroll()
1170 boolean down = direction == View.FOCUS_DOWN; in fullScroll()
1253 } else if (direction == View.FOCUS_DOWN) { in arrowScroll()
1265 doScrollY(direction == View.FOCUS_DOWN ? scrollDelta : -scrollDelta); in arrowScroll()
1631 direction = View.FOCUS_DOWN; in onRequestFocusInDescendants()
DExploreByTouchHelper.java316 return View.FOCUS_DOWN; in keyToDirection()
390 case View.FOCUS_DOWN: in moveFocus()
462 case View.FOCUS_DOWN: in guessPreviouslyFocusedRect()
/frameworks/base/core/java/android/view/
DFocusFinder.java223 case View.FOCUS_DOWN: in findNextFocus()
255 case View.FOCUS_DOWN: in findNextFocus()
281 case View.FOCUS_DOWN: in findNextKeyboardNavigationCluster()
340 case View.FOCUS_DOWN: in findNextFocusInAbsoluteDirection()
547 case View.FOCUS_DOWN: in isCandidate()
569 case View.FOCUS_DOWN: in beamsOverlap()
587 case View.FOCUS_DOWN: in isToDirectionOf()
611 case View.FOCUS_DOWN: in majorAxisDistanceRaw()
636 case View.FOCUS_DOWN: in majorAxisDistanceToFarEdgeRaw()
660 case View.FOCUS_DOWN: in minorAxisDistance()
[all …]
DSoundEffectConstants.java48 case View.FOCUS_DOWN: in getContantForFocusDirection()
/frameworks/base/core/java/android/widget/
DScrollView.java408 currentFocused, View.FOCUS_DOWN); in executeKeyEvent()
411 && nextFocused.requestFocus(View.FOCUS_DOWN); in executeKeyEvent()
428 handled = arrowScroll(View.FOCUS_DOWN); in executeKeyEvent()
430 handled = fullScroll(View.FOCUS_DOWN); in executeKeyEvent()
434 pageScroll(event.isShiftPressed() ? View.FOCUS_UP : View.FOCUS_DOWN); in executeKeyEvent()
1019 boolean down = direction == View.FOCUS_DOWN; in pageScroll()
1055 boolean down = direction == View.FOCUS_DOWN; in fullScroll()
1138 } else if (direction == View.FOCUS_DOWN) { in arrowScroll()
1150 doScrollY(direction == View.FOCUS_DOWN ? scrollDelta : -scrollDelta); in arrowScroll()
1499 direction = View.FOCUS_DOWN; in onRequestFocusInDescendants()
DGridView.java1686 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_DOWN); in commonKey()
1688 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
1702 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_DOWN); in commonKey()
1704 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
1716 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
1768 } else if (direction == FOCUS_DOWN) { in pageScroll()
1796 } else if (direction == FOCUS_DOWN) { in fullScroll()
1844 case FOCUS_DOWN: in arrowScroll()
2002 case View.FOCUS_DOWN: in isCandidateSelection()
DListView.java2404 if (arrowScroll(FOCUS_DOWN)) { in commonKey()
2412 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
2438 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_DOWN); in commonKey()
2440 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
2452 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
2462 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_DOWN); in commonKey()
2506 } else if (direction == FOCUS_DOWN) { in pageScroll()
2560 } else if (direction == FOCUS_DOWN) { in fullScroll()
2666 if (direction == View.FOCUS_DOWN) { in nextSelectedPositionForDirection()
2690 return lookForSelectablePosition(nextSelected, direction == View.FOCUS_DOWN); in nextSelectedPositionForDirection()
[all …]
DTabHost.java368 directionShouldChangeFocus = View.FOCUS_DOWN; in dispatchKeyEvent()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DScrollViewScrollHandlingDelegate.java77 mScrollView.pageScroll(ScrollView.FOCUS_DOWN); in pageScrollDown()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DTitleHelper.java51 if (mTitleView.hasFocus() && (direction == View.FOCUS_DOWN || direction == forward)) {
DPlaybackTransportRowView.java103 } else if (direction == View.FOCUS_DOWN) { in focusSearch()
DControlBar.java66 if ((direction == ViewGroup.FOCUS_UP || direction == ViewGroup.FOCUS_DOWN)) {
DPersistentFocusWrapper.java86 return ((mPersistFocusVertical && (direction == FOCUS_UP || direction == FOCUS_DOWN)) in shouldPersistFocusFromDirection()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java247 case View.FOCUS_DOWN: in onFocusChanged()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerTest.java217 focusSearch(mRecyclerView.getFocusedChild(), View.FOCUS_DOWN, true); in bottomUnfocusableViewsVisibility()
468 final View nextView = focusSearch(mRecyclerView.getFocusedChild(), View.FOCUS_DOWN, true); in unfocusableScrollingWhenFocusCleared()
486 View focusedChild = focusSearch(v, View.FOCUS_DOWN, true); in unfocusableScrollingWhenFocusCleared()
DStaggeredGridLayoutManagerTest.java318 int focusDir = scrollDown ? View.FOCUS_DOWN : View.FOCUS_UP; in focusSearchFailure()
607 focusSearchAndWaitForScroll(focusedView, View.FOCUS_DOWN); in bottomUnfocusableViewsVisibility()
618 focusSearchAndWaitForScroll(focusedView, View.FOCUS_DOWN); in bottomUnfocusableViewsVisibility()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java226 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) { in onFocusSearchFailed()
/frameworks/base/core/java/android/text/method/
DArrowKeyMovementMethod.java317 if ((dir & (View.FOCUS_FORWARD | View.FOCUS_DOWN)) != 0) { in onTakeFocus()
/frameworks/base/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/
DNativeMidi.java87 mMessagesContainer.fullScroll(View.FOCUS_DOWN);

12