/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/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | ControlBarTest.java | 56 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/ |
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 | 563 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()
|
D | ExploreByTouchHelper.java | 316 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/ |
D | FocusFinder.java | 223 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 …]
|
D | SoundEffectConstants.java | 48 case View.FOCUS_DOWN: in getContantForFocusDirection()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 408 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()
|
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() 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()
|
D | ListView.java | 2404 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 …]
|
D | TabHost.java | 368 directionShouldChangeFocus = View.FOCUS_DOWN; in dispatchKeyEvent()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ScrollViewScrollHandlingDelegate.java | 77 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 | PlaybackTransportRowView.java | 103 } else if (direction == View.FOCUS_DOWN) { in focusSearch()
|
D | ControlBar.java | 66 if ((direction == ViewGroup.FOCUS_UP || direction == ViewGroup.FOCUS_DOWN)) {
|
D | PersistentFocusWrapper.java | 86 return ((mPersistFocusVertical && (direction == FOCUS_UP || direction == FOCUS_DOWN)) in shouldPersistFocusFromDirection()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 247 case View.FOCUS_DOWN: in onFocusChanged()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerTest.java | 217 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()
|
D | StaggeredGridLayoutManagerTest.java | 318 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/ |
D | RecyclerViewActivity.java | 226 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/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/ |
D | NativeMidi.java | 87 mMessagesContainer.fullScroll(View.FOCUS_DOWN);
|