/frameworks/base/core/tests/coretests/src/android/view/ |
D | FocusFinderTest.java | 60 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/ |
D | HorizontalFocusSearchTest.java | 76 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()
|
D | VerticalFocusSearchTest.java | 100 .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()
|
D | LinearLayoutGridTest.java | 51 View.FOCUS_DOWN)); in testGoDownFromMiddle()
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 131 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 …]
|
D | SoundEffectConstants.java | 46 case View.FOCUS_DOWN: in getContantForFocusDirection()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | FocusStrategy.java | 157 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()
|
D | NestedScrollView.java | 530 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()
|
D | ExploreByTouchHelper.java | 318 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/ |
D | ScrollView.java | 398 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()
|
D | GridView.java | 1686 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()
|
D | ListView.java | 2322 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 …]
|
D | TabHost.java | 333 directionShouldChangeFocus = View.FOCUS_DOWN; in dispatchKeyEvent()
|
D | SimpleMonthView.java | 493 case View.FOCUS_DOWN: { in onFocusChanged()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | RequireScrollHelper.java | 52 mScrollView.pageScroll(ScrollView.FOCUS_DOWN); in pageScrollDown()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | TitleHelper.java | 51 if (mTitleView.hasFocus() && direction == View.FOCUS_DOWN || direction == forward) {
|
D | PersistentFocusWrapper.java | 87 return ((mPersistFocusVertical && (direction == FOCUS_UP || direction == FOCUS_DOWN)) || in shouldPersistFocusFromDirection()
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | RequireScrollHelperTest.java | 96 if (direction == FOCUS_DOWN) { in pageScroll()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 247 case View.FOCUS_DOWN: in onFocusChanged()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | RecyclerViewActivity.java | 227 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) { in onFocusSearchFailed()
|
D | AnimatedRecyclerView.java | 608 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) { in onFocusSearchFailed()
|
/frameworks/base/core/java/android/text/method/ |
D | ArrowKeyMovementMethod.java | 317 if ((dir & (View.FOCUS_FORWARD | View.FOCUS_DOWN)) != 0) { in onTakeFocus()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | FocusManager.java | 170 searchDir = View.FOCUS_DOWN; in findTargetPosition()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BrowseSupportFragment.java | 956 direction == View.FOCUS_DOWN) { 974 } else if (direction == View.FOCUS_DOWN && mShowingHeaders) {
|
D | BrowseFragment.java | 954 direction == View.FOCUS_DOWN) { 972 } else if (direction == View.FOCUS_DOWN && mShowingHeaders) {
|