Home
last modified time | relevance | path

Searched refs:FOCUS_DOWN (Results 1 – 25 of 43) 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/base/core/java/android/view/
DFocusFinder.java131 case View.FOCUS_DOWN: in findNextFocus()
163 case View.FOCUS_DOWN: in findNextFocus()
222 case View.FOCUS_DOWN: in findNextFocusInAbsoluteDirection()
383 case View.FOCUS_DOWN: in isCandidate()
405 case View.FOCUS_DOWN: in beamsOverlap()
423 case View.FOCUS_DOWN: in isToDirectionOf()
447 case View.FOCUS_DOWN: in majorAxisDistanceRaw()
472 case View.FOCUS_DOWN: in majorAxisDistanceToFarEdgeRaw()
496 case View.FOCUS_DOWN: in minorAxisDistance()
553 case View.FOCUS_DOWN: in findNearestTouchable()
[all …]
DSoundEffectConstants.java46 case View.FOCUS_DOWN: in getContantForFocusDirection()
/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.java530 currentFocused, View.FOCUS_DOWN); in executeKeyEvent()
533 && nextFocused.requestFocus(View.FOCUS_DOWN); in executeKeyEvent()
550 handled = arrowScroll(View.FOCUS_DOWN); in executeKeyEvent()
552 handled = fullScroll(View.FOCUS_DOWN); in executeKeyEvent()
556 pageScroll(event.isShiftPressed() ? View.FOCUS_UP : View.FOCUS_DOWN); in executeKeyEvent()
1105 boolean down = direction == View.FOCUS_DOWN; in pageScroll()
1141 boolean down = direction == View.FOCUS_DOWN; in fullScroll()
1224 } else if (direction == View.FOCUS_DOWN) { in arrowScroll()
1236 doScrollY(direction == View.FOCUS_DOWN ? scrollDelta : -scrollDelta); in arrowScroll()
1574 direction = View.FOCUS_DOWN; in onRequestFocusInDescendants()
DExploreByTouchHelper.java318 return View.FOCUS_DOWN; in keyToDirection()
392 case View.FOCUS_DOWN: in moveFocus()
464 case View.FOCUS_DOWN: in guessPreviouslyFocusedRect()
/frameworks/base/core/java/android/widget/
DScrollView.java398 currentFocused, View.FOCUS_DOWN); in executeKeyEvent()
401 && nextFocused.requestFocus(View.FOCUS_DOWN); in executeKeyEvent()
418 handled = arrowScroll(View.FOCUS_DOWN); in executeKeyEvent()
420 handled = fullScroll(View.FOCUS_DOWN); in executeKeyEvent()
424 pageScroll(event.isShiftPressed() ? View.FOCUS_UP : View.FOCUS_DOWN); in executeKeyEvent()
1004 boolean down = direction == View.FOCUS_DOWN; in pageScroll()
1040 boolean down = direction == View.FOCUS_DOWN; in fullScroll()
1123 } else if (direction == View.FOCUS_DOWN) { in arrowScroll()
1135 doScrollY(direction == View.FOCUS_DOWN ? scrollDelta : -scrollDelta); in arrowScroll()
1482 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()
1771 } else if (direction == FOCUS_DOWN) { in pageScroll()
1799 } else if (direction == FOCUS_DOWN) { in fullScroll()
1847 case FOCUS_DOWN: in arrowScroll()
2005 case View.FOCUS_DOWN: in isCandidateSelection()
DListView.java2322 if (arrowScroll(FOCUS_DOWN)) { in commonKey()
2330 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
2356 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_DOWN); in commonKey()
2358 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
2370 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
2380 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_DOWN); in commonKey()
2424 } else if (direction == FOCUS_DOWN) { in pageScroll()
2478 } else if (direction == FOCUS_DOWN) { in fullScroll()
2584 if (direction == View.FOCUS_DOWN) { in nextSelectedPositionForDirection()
2608 return lookForSelectablePosition(nextSelected, direction == View.FOCUS_DOWN); in nextSelectedPositionForDirection()
[all …]
DTabHost.java333 directionShouldChangeFocus = View.FOCUS_DOWN; in dispatchKeyEvent()
DSimpleMonthView.java493 case View.FOCUS_DOWN: { in onFocusChanged()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DRequireScrollHelper.java52 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) {
DPersistentFocusWrapper.java87 return ((mPersistFocusVertical && (direction == FOCUS_UP || direction == FOCUS_DOWN)) || in shouldPersistFocusFromDirection()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DRequireScrollHelperTest.java96 if (direction == FOCUS_DOWN) { in pageScroll()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java247 case View.FOCUS_DOWN: in onFocusChanged()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java227 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) { in onFocusSearchFailed()
DAnimatedRecyclerView.java608 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/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFocusManager.java170 searchDir = View.FOCUS_DOWN; in findTargetPosition()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBrowseSupportFragment.java956 direction == View.FOCUS_DOWN) {
974 } else if (direction == View.FOCUS_DOWN && mShowingHeaders) {
DBrowseFragment.java954 direction == View.FOCUS_DOWN) {
972 } else if (direction == View.FOCUS_DOWN && mShowingHeaders) {

12