Home
last modified time | relevance | path

Searched refs:FOCUS_LEFT (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java103 assertBeamsOverlap(View.FOCUS_LEFT, rect, rect); in testSameRectBeamsOverlap()
116 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
121 assertBeamsDontOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
126 assertBeamsDontOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
132 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
137 assertBeamsDontOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
142 assertBeamsDontOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
249 assertIsNotCandidate(View.FOCUS_LEFT, src, nonCandidate); in testSomeCandidateBetterThanNonCandidate()
253 assertDirectionIsCandidate(View.FOCUS_LEFT, src, candidate); in testSomeCandidateBetterThanNonCandidate()
255 assertBetterCandidate(View.FOCUS_LEFT, src, candidate, nonCandidate); in testSomeCandidateBetterThanNonCandidate()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DHorizontalFocusSearchTest.java79 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_LEFT)); in testSearchFromLeftButton()
94 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_LEFT)); in TODO_testSearchFromMiddleLeftButton()
108 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_LEFT)); in TODO_testSearchFromMiddleRightButton()
121 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_LEFT)); in testSearchFromRightButton()
DVerticalFocusSearchTest.java93 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_LEFT)); in testSearchFromTopButton()
106 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_LEFT)); in testSearchFromMidLeft()
124 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_LEFT)); in testSearchFromMidRight()
144 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_LEFT)); in testSearchFromFromBottom()
DLinearLayoutGridTest.java78 View.FOCUS_LEFT)); in testGoLeftFromMiddle()
/frameworks/base/core/java/android/view/
DFocusFinder.java244 case View.FOCUS_LEFT: in findNextFocus()
266 case View.FOCUS_LEFT: in findNextFocus()
296 case View.FOCUS_LEFT: in findNextKeyboardNavigationCluster()
341 case View.FOCUS_LEFT: in findNextFocusInAbsoluteDirection()
516 if ((direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT)) { in beamBeats()
548 case View.FOCUS_LEFT: in isCandidate()
575 case View.FOCUS_LEFT: in beamsOverlap()
591 case View.FOCUS_LEFT: in isToDirectionOf()
615 case View.FOCUS_LEFT: in majorAxisDistanceRaw()
640 case View.FOCUS_LEFT: in majorAxisDistanceToFarEdgeRaw()
[all …]
DSoundEffectConstants.java50 case View.FOCUS_LEFT: in getContantForFocusDirection()
DView.java1758 FOCUS_LEFT,
1768 FOCUS_LEFT,
1791 public static final int FOCUS_LEFT = 0x00000011; field in View
11984 case FOCUS_LEFT:
DViewRootImpl.java5311 direction = View.FOCUS_LEFT; in performFocusNavigation()
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListButtonsDiagonalAcrossItemsTest.java79 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_LEFT)); in testPreconditions()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java490 handled = arrowScroll(View.FOCUS_LEFT); in executeKeyEvent()
492 handled = fullScroll(View.FOCUS_LEFT); in executeKeyEvent()
503 pageScroll(event.isShiftPressed() ? View.FOCUS_LEFT : View.FOCUS_RIGHT); in executeKeyEvent()
1174 boolean goLeft = direction == View.FOCUS_LEFT; in scrollAndFocus()
1219 if (direction == View.FOCUS_LEFT && getScrollX() < scrollDelta) { in arrowScroll()
1572 direction = View.FOCUS_LEFT; in onRequestFocusInDescendants()
1713 newFocused.requestFocus(movingRight ? View.FOCUS_RIGHT : View.FOCUS_LEFT); in fling()
DGridView.java1686 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_LEFT); in commonKey()
1874 if (selectedPosition > startOfRowPos && ((direction == FOCUS_LEFT && !isLayoutRtl) || in arrowScroll()
1879 } else if (selectedPosition < endOfRowPos && ((direction == FOCUS_LEFT && isLayoutRtl) || in arrowScroll()
2026 case View.FOCUS_LEFT: in isCandidateSelection()
DTabHost.java369 directionShouldChangeFocus = View.FOCUS_LEFT; in dispatchKeyEvent()
DSimpleMonthView.java489 case View.FOCUS_LEFT: { in onFocusChanged()
DListView.java2439 handled = handleHorizontalFocusWithinListItem(View.FOCUS_LEFT); in commonKey()
2611 if (direction != View.FOCUS_LEFT && direction != View.FOCUS_RIGHT) { in handleHorizontalFocusWithinListItem()
DAbsListView.java5829 case View.FOCUS_LEFT: in getDistance()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java250 case View.FOCUS_LEFT: // fall through in onFocusChanged()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java904 focusDirection = mCurItem < newCurrentItem ? View.FOCUS_RIGHT : View.FOCUS_LEFT;
2454 handled = arrowScroll(FOCUS_LEFT);
2503 if (direction == View.FOCUS_LEFT) {
2524 } else if (direction == FOCUS_LEFT || direction == FOCUS_BACKWARD) {
DLinearLayoutManager.java1635 case View.FOCUS_LEFT: in convertFocusDirectionToLayoutDirection()
DRecyclerView.java2282 ? View.FOCUS_RIGHT : View.FOCUS_LEFT; in focusSearch()
2339 ? View.FOCUS_RIGHT : View.FOCUS_LEFT; in isPreferredNextFocus()
2363 case View.FOCUS_LEFT: in isPreferredNextFocusAbsolute()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java3166 case View.FOCUS_LEFT: in enforceValidFocusDirection()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33790 field public static final int FOCUS_LEFT = 17; // 0x11
/frameworks/base/api/
Dcurrent.txt50726 field public static final int FOCUS_LEFT = 17; // 0x11