Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java102 assertBeamsOverlap(View.FOCUS_LEFT, rect, rect); in testSameRectBeamsOverlap()
115 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
120 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
125 assertBeamsDontOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
131 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
136 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
141 assertBeamsDontOverlap(View.FOCUS_LEFT, rect1, rect2); in testOverlapBeamsRightLeftUpToEdge()
248 assertIsNotCandidate(View.FOCUS_LEFT, src, nonCandidate); in testSomeCandidateBetterThanNonCandidate()
252 assertDirectionIsCandidate(View.FOCUS_LEFT, src, candidate); in testSomeCandidateBetterThanNonCandidate()
254 assertBetterCandidate(View.FOCUS_LEFT, src, candidate, nonCandidate); in testSomeCandidateBetterThanNonCandidate()
[all …]
/frameworks/base/core/java/android/view/
DFocusFinder.java88 case View.FOCUS_LEFT: in findNextFocus()
162 case View.FOCUS_LEFT: in findNextFocus()
265 if ((direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT)) { in beamBeats()
297 case View.FOCUS_LEFT: in isCandidate()
324 case View.FOCUS_LEFT: in beamsOverlap()
340 case View.FOCUS_LEFT: in isToDirectionOf()
364 case View.FOCUS_LEFT: in majorAxisDistanceRaw()
389 case View.FOCUS_LEFT: in majorAxisDistanceToFarEdgeRaw()
412 case View.FOCUS_LEFT: in minorAxisDistance()
467 case View.FOCUS_LEFT: in findNearestTouchable()
[all …]
DSoundEffectConstants.java48 case View.FOCUS_LEFT: in getContantForFocusDirection()
DView.java1028 public static final int FOCUS_LEFT = 0x00000011; field in View
5080 case FOCUS_LEFT: in findUserSetNextFocus()
DViewRootImpl.java3327 direction = View.FOCUS_LEFT; in deliverKeyEventPostIme()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DHorizontalFocusSearchTest.java78 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_LEFT)); in testSearchFromLeftButton()
93 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_LEFT)); in TODO_testSearchFromMiddleLeftButton()
107 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_LEFT)); in TODO_testSearchFromMiddleRightButton()
120 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_LEFT)); in testSearchFromRightButton()
DVerticalFocusSearchTest.java92 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_LEFT)); in testSearchFromTopButton()
105 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_LEFT)); in testSearchFromMidLeft()
123 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_LEFT)); in testSearchFromMidRight()
143 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_LEFT)); in testSearchFromFromBottom()
DLinearLayoutGridTest.java78 View.FOCUS_LEFT)); in testGoLeftFromMiddle()
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListHorizontalFocusWithinItemWinsTest.java59 … FocusFinder.getInstance().findNextFocus(mListView, mTopRightButton, View.FOCUS_LEFT)); in testPreconditions()
DListButtonsDiagonalAcrossItemsTest.java79 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_LEFT)); in testPreconditions()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java365 handled = arrowScroll(View.FOCUS_LEFT); in executeKeyEvent()
367 handled = fullScroll(View.FOCUS_LEFT); in executeKeyEvent()
378 pageScroll(event.isShiftPressed() ? View.FOCUS_LEFT : View.FOCUS_RIGHT); in executeKeyEvent()
946 boolean goLeft = direction == View.FOCUS_LEFT; in scrollAndFocus()
991 if (direction == View.FOCUS_LEFT && getScrollX() < scrollDelta) { in arrowScroll()
1340 direction = View.FOCUS_LEFT; in onRequestFocusInDescendants()
1445 newFocused.requestFocus(movingRight ? View.FOCUS_RIGHT : View.FOCUS_LEFT); in fling()
DGridView.java1523 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_LEFT); in commonKey()
1733 case FOCUS_LEFT: in arrowScroll()
1888 case View.FOCUS_LEFT: in isCandidateSelection()
DListView.java2101 handled = handleHorizontalFocusWithinListItem(View.FOCUS_LEFT); in commonKey()
2295 if (direction != View.FOCUS_LEFT && direction != View.FOCUS_RIGHT) { in handleHorizontalFocusWithinListItem()
DAbsListView.java5053 case View.FOCUS_LEFT: in getDistance()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java245 case View.FOCUS_LEFT: // fall through in onFocusChanged()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1534 handled = arrowScroll(FOCUS_LEFT); in executeKeyEvent()
1560 if (direction == View.FOCUS_LEFT) { in arrowScroll()
1577 } else if (direction == FOCUS_LEFT || direction == FOCUS_BACKWARD) { in arrowScroll()
/frameworks/base/core/java/android/webkit/
DWebView.java7553 case View.FOCUS_LEFT: in requestFocus()
/frameworks/base/api/
Dcurrent.txt23203 field public static final int FOCUS_LEFT = 17; // 0x11
D14.txt23203 field public static final int FOCUS_LEFT = 17; // 0x11