Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DFocusFinderTest.java61 View.FOCUS_DOWN, in testCompletelyContainedNotCandidate()
70 View.FOCUS_DOWN, in testContinaedWithCommonBottomNotCandidate()
79 View.FOCUS_DOWN, in testOverlappingIsCandidateWhenBothEdgesAreInDirection()
88 View.FOCUS_DOWN, in testTopEdgeOfDestAtOrAboveTopOfSrcNotCandidateForDown()
93 View.FOCUS_DOWN, in testTopEdgeOfDestAtOrAboveTopOfSrcNotCandidateForDown()
263 assertBetterCandidate(View.FOCUS_DOWN, in testVerticalFocusSearchScenario()
271 assertBetterCandidate(View.FOCUS_DOWN, in testVerticalFocusSearchScenario()
288 assertBetterCandidate(View.FOCUS_DOWN, in testBeamsOverlapMajorAxisCloserMinorAxisFurther()
312 assertBetterCandidate(View.FOCUS_DOWN, in testOutOfBeamOverlapBeatsOutOfBeamFurtherOnMajorAxis()
326 assertBetterCandidate(View.FOCUS_DOWN, in testInBeamTrumpsOutOfBeamOverlapping()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DHorizontalFocusSearchTest.java77 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_DOWN)); in testSearchFromLeftButton()
91 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_DOWN)); in TODO_testSearchFromMiddleLeftButton()
105 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_DOWN)); in TODO_testSearchFromMiddleRightButton()
118 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_DOWN)); in testSearchFromRightButton()
H A DVerticalFocusSearchTest.java101 .findNextFocus(mLayout, mTopWide, View.FOCUS_DOWN)); in testSearchFromTopButton()
118 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_DOWN)); in testSearchFromMidLeft()
135 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_DOWN)); in testSearchFromMidRight()
141 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_DOWN)); in testSearchFromFromBottom()
H A DLinearLayoutGridTest.java51 View.FOCUS_DOWN)); in testGoDownFromMiddle()
/aosp14/frameworks/base/core/java/android/view/
H A DFocusFinder.java265 case View.FOCUS_DOWN: in findNextFocus()
291 case View.FOCUS_DOWN: in findNextKeyboardNavigationCluster()
353 case View.FOCUS_DOWN: in findNextFocusInAbsoluteDirection()
560 case View.FOCUS_DOWN: in isCandidate()
582 case View.FOCUS_DOWN: in beamsOverlap()
600 case View.FOCUS_DOWN: in isToDirectionOf()
624 case View.FOCUS_DOWN: in majorAxisDistanceRaw()
649 case View.FOCUS_DOWN: in majorAxisDistanceToFarEdgeRaw()
673 case View.FOCUS_DOWN: in minorAxisDistance()
730 case View.FOCUS_DOWN: in findNearestTouchable()
[all …]
H A DSoundEffectConstants.java98 case View.FOCUS_DOWN: in getContantForFocusDirection()
125 case View.FOCUS_DOWN: in getConstantForFocusDirection()
H A DViewGroup.java3433 return restoreFocusInCluster(View.FOCUS_DOWN); in restoreFocusNotInCluster()
3440 return super.requestFocus(FOCUS_DOWN, null); in restoreFocusNotInCluster()
3443 && super.requestFocus(FOCUS_DOWN, null)) { in restoreFocusNotInCluster()
3454 return super.requestFocus(FOCUS_DOWN, null); in restoreFocusNotInCluster()
H A DView.java1943 FOCUS_DOWN
1953 FOCUS_DOWN
1988 public static final int FOCUS_DOWN = 0x00000082; field in View
14058 case FOCUS_DOWN: in findUserSetNextFocus()
14401 return requestFocus(View.FOCUS_DOWN); in requestFocus()
14428 return requestFocus(View.FOCUS_DOWN); in restoreFocusNotInCluster()
14438 return requestFocus(View.FOCUS_DOWN); in restoreDefaultFocus()
14547 return requestFocus(View.FOCUS_DOWN); in requestFocusFromTouch()
H A DViewRootImpl.java7073 direction = View.FOCUS_DOWN; in performFocusNavigation()
7133 realDirection = View.FOCUS_DOWN; in performKeyboardGroupNavigation()
/aosp14/frameworks/base/core/java/android/widget/
H A DScrollView.java525 currentFocused, View.FOCUS_DOWN); in executeKeyEvent()
528 && nextFocused.requestFocus(View.FOCUS_DOWN); in executeKeyEvent()
545 handled = arrowScroll(View.FOCUS_DOWN); in executeKeyEvent()
547 handled = fullScroll(View.FOCUS_DOWN); in executeKeyEvent()
554 handled = fullScroll(View.FOCUS_DOWN); in executeKeyEvent()
560 handled = pageScroll(View.FOCUS_DOWN); in executeKeyEvent()
1193 boolean down = direction == View.FOCUS_DOWN; in pageScroll()
1229 boolean down = direction == View.FOCUS_DOWN; in fullScroll()
1312 } else if (direction == View.FOCUS_DOWN) { in arrowScroll()
1324 doScrollY(direction == View.FOCUS_DOWN ? scrollDelta : -scrollDelta); in arrowScroll()
[all …]
H A DGridView.java1707 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_DOWN); in commonKey()
1709 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
1723 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_DOWN); in commonKey()
1725 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
1737 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
1789 } else if (direction == FOCUS_DOWN) { in pageScroll()
1817 } else if (direction == FOCUS_DOWN) { in fullScroll()
1865 case FOCUS_DOWN: in arrowScroll()
2024 case View.FOCUS_DOWN: in isCandidateSelection()
H A DListView.java2419 if (arrowScroll(FOCUS_DOWN)) { in commonKey()
2427 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
2453 handled = resurrectSelectionIfNeeded() || pageScroll(FOCUS_DOWN); in commonKey()
2455 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
2467 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
2521 } else if (direction == FOCUS_DOWN) { in pageScroll()
2575 } else if (direction == FOCUS_DOWN) { in fullScroll()
2682 if (direction == View.FOCUS_DOWN) { in nextSelectedPositionForDirection()
2941 if (direction == View.FOCUS_DOWN) { in amountToScroll()
3051 if (direction == View.FOCUS_DOWN) { in lookForSelectablePositionOnScreen()
[all …]
H A DTabHost.java395 directionShouldChangeFocus = View.FOCUS_DOWN; in dispatchKeyEvent()
H A DSimpleMonthView.java501 case View.FOCUS_DOWN: { in onFocusChanged()
H A DTextView.java9661 View v = focusSearch(FOCUS_DOWN); in onKeyUp()
9664 if (!v.requestFocus(FOCUS_DOWN)) { in onKeyUp()
9745 if (hasEditorInFocusSearchDirection(FOCUS_DOWN)) { in onCreateInputConnection()
H A DAbsListView.java6072 case View.FOCUS_DOWN: in getDistance()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java244 case View.FOCUS_DOWN: in onFocusChanged()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAbstractAccessibilityServiceConnectionTest.java39 import static android.view.View.FOCUS_DOWN;
509 mServiceConnection.focusSearch(PIP_WINDOWID, ROOT_NODE_ID, FOCUS_DOWN, INTERACTION_ID, in focusSearch_withPipWindow_shouldReplaceCallback()
511 verify(mMockIA11yInteractionConnection).focusSearch(eq(ROOT_NODE_ID), eq(FOCUS_DOWN), in focusSearch_withPipWindow_shouldReplaceCallback()
808 () -> mServiceConnection.focusSearch(WINDOWID, ROOT_NODE_ID, FOCUS_DOWN, in initTestFunctions()
/aosp14/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java368 if ((dir & (View.FOCUS_FORWARD | View.FOCUS_DOWN)) != 0) { in onTakeFocus()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutManager.java1632 case View.FOCUS_DOWN: in convertFocusDirectionToLayoutDirection()
H A DRecyclerView.java2291 direction == View.FOCUS_FORWARD ? View.FOCUS_DOWN : View.FOCUS_UP; in focusSearch()
2364 return isPreferredNextFocusAbsolute(focused, next, View.FOCUS_DOWN); in isPreferredNextFocus()
2395 case View.FOCUS_DOWN: in isPreferredNextFocusAbsolute()
/aosp14/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java3971 case View.FOCUS_DOWN: in enforceValidFocusDirection()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt52720 field public static final int FOCUS_DOWN = 130; // 0x82