Home
last modified time | relevance | path

Searched refs:FOCUS_RIGHT (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/view/
DFocusFinder.java80 case View.FOCUS_RIGHT: in findNextFocus()
165 case View.FOCUS_RIGHT: in findNextFocus()
265 if ((direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT)) { in beamBeats()
300 case View.FOCUS_RIGHT: in isCandidate()
325 case View.FOCUS_RIGHT: in beamsOverlap()
342 case View.FOCUS_RIGHT: in isToDirectionOf()
366 case View.FOCUS_RIGHT: in majorAxisDistanceRaw()
391 case View.FOCUS_RIGHT: in majorAxisDistanceToFarEdgeRaw()
413 case View.FOCUS_RIGHT: in minorAxisDistance()
470 case View.FOCUS_RIGHT: in findNearestTouchable()
[all …]
DSoundEffectConstants.java43 case View.FOCUS_RIGHT: in getContantForFocusDirection()
DView.java1038 public static final int FOCUS_RIGHT = 0x00000042; field in View
5083 case FOCUS_RIGHT: in findUserSetNextFocus()
DViewRootImpl.java3332 direction = View.FOCUS_RIGHT; in deliverKeyEventPostIme()
/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java103 assertBeamsOverlap(View.FOCUS_RIGHT, rect, rect); in testSameRectBeamsOverlap()
116 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
121 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
126 assertBeamsDontOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
132 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
137 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
142 assertBeamsDontOverlap(View.FOCUS_RIGHT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
430 assertBetterCandidate(View.FOCUS_RIGHT, in testHomeShortcutScenarioBug1295354()
439 assertBetterCandidate(View.FOCUS_RIGHT, in testBeamAlwaysBeatsHoriz()
469 assertDirectionIsCandidate(View.FOCUS_RIGHT, in testIsCandidateOverlappingEdgeFromEmptyRect()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DHorizontalFocusSearchTest.java82 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_RIGHT)); in testSearchFromLeftButton()
96 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_RIGHT)); in TODO_testSearchFromMiddleLeftButton()
110 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_RIGHT)); in TODO_testSearchFromMiddleRightButton()
122 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_RIGHT)); in testSearchFromRightButton()
DVerticalFocusSearchTest.java95 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_RIGHT)); in testSearchFromTopButton()
109 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_RIGHT)); in testSearchFromMidLeft()
126 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_RIGHT)); in testSearchFromMidRight()
146 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_RIGHT)); in testSearchFromFromBottom()
DLinearLayoutGridTest.java69 View.FOCUS_RIGHT)); in testGoRightFromMiddle()
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListButtonsDiagonalAcrossItemsTest.java73 FocusFinder.getInstance().findNextFocus(mListView, mLeftButton, View.FOCUS_RIGHT)); in testPreconditions()
76 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_RIGHT)); in testPreconditions()
DListHorizontalFocusWithinItemWinsTest.java56 … FocusFinder.getInstance().findNextFocus(mListView, mTopLeftButton, View.FOCUS_RIGHT)); in testPreconditions()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java353 currentFocused, View.FOCUS_RIGHT); in executeKeyEvent()
355 nextFocused.requestFocus(View.FOCUS_RIGHT); in executeKeyEvent()
372 handled = arrowScroll(View.FOCUS_RIGHT); in executeKeyEvent()
374 handled = fullScroll(View.FOCUS_RIGHT); in executeKeyEvent()
378 pageScroll(event.isShiftPressed() ? View.FOCUS_LEFT : View.FOCUS_RIGHT); in executeKeyEvent()
874 boolean right = direction == View.FOCUS_RIGHT; in pageScroll()
910 boolean right = direction == View.FOCUS_RIGHT; in fullScroll()
993 } else if (direction == View.FOCUS_RIGHT && getChildCount() > 0) { in arrowScroll()
1006 doScrollX(direction == View.FOCUS_RIGHT ? scrollDelta : -scrollDelta); in arrowScroll()
1338 direction = View.FOCUS_RIGHT; in onRequestFocusInDescendants()
[all …]
DGridView.java1529 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_RIGHT); in commonKey()
1740 case FOCUS_RIGHT: in arrowScroll()
1881 case View.FOCUS_RIGHT: in isCandidateSelection()
DListView.java2107 handled = handleHorizontalFocusWithinListItem(View.FOCUS_RIGHT); in commonKey()
2295 if (direction != View.FOCUS_LEFT && direction != View.FOCUS_RIGHT) { in handleHorizontalFocusWithinListItem()
DAbsListView.java5041 case View.FOCUS_RIGHT: in getDistance()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java246 case View.FOCUS_RIGHT: in onFocusChanged()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1537 handled = arrowScroll(FOCUS_RIGHT); in executeKeyEvent()
1568 } else if (direction == View.FOCUS_RIGHT) { in arrowScroll()
1580 } else if (direction == FOCUS_RIGHT || direction == FOCUS_FORWARD) { in arrowScroll()
/frameworks/base/core/java/android/webkit/
DWebView.java7556 case View.FOCUS_RIGHT: in requestFocus()
/frameworks/base/api/
Dcurrent.txt23204 field public static final int FOCUS_RIGHT = 66; // 0x42
D14.txt23204 field public static final int FOCUS_RIGHT = 66; // 0x42