/frameworks/base/core/java/android/view/ |
SoundEffectConstants.java | 36 * {@link View#FOCUS_LEFT}, {@link View#FOCUS_RIGHT}, {@link View#FOCUS_FORWARD} 48 case View.FOCUS_LEFT: 55 + "{FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_FORWARD, FOCUS_BACKWARD}.");
|
FocusFinder.java | 142 case View.FOCUS_LEFT: 164 case View.FOCUS_LEFT: 213 case View.FOCUS_LEFT: 342 if ((direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT)) { 374 case View.FOCUS_LEFT: 388 + "{FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); 401 case View.FOCUS_LEFT: 409 + "{FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); 417 case View.FOCUS_LEFT: 427 + "{FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}.") [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
FocusFinderTest.java | 102 assertBeamsOverlap(View.FOCUS_LEFT, rect, rect); 115 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); 120 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); 125 assertBeamsDontOverlap(View.FOCUS_LEFT, rect1, rect2); 131 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); 136 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); 141 assertBeamsDontOverlap(View.FOCUS_LEFT, rect1, rect2); 248 assertIsNotCandidate(View.FOCUS_LEFT, src, nonCandidate); 252 assertDirectionIsCandidate(View.FOCUS_LEFT, src, candidate); 254 assertBetterCandidate(View.FOCUS_LEFT, src, candidate, nonCandidate) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
HorizontalFocusSearchTest.java | 78 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_LEFT)); 93 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_LEFT)); 107 mFocusFinder.findNextFocus(mLayout, mMidShort2Bottom, View.FOCUS_LEFT)); 120 mFocusFinder.findNextFocus(mLayout, mRightTall, View.FOCUS_LEFT));
|
VerticalFocusSearchTest.java | 92 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_LEFT)); 105 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_LEFT)); 123 mFocusFinder.findNextFocus(mLayout, mMidSkinny2Right, View.FOCUS_LEFT)); 143 mFocusFinder.findNextFocus(mLayout, mBottomWide, View.FOCUS_LEFT));
|
LinearLayoutGridTest.java | 78 View.FOCUS_LEFT));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
GuidedStepRootLayout.java | 52 if (direction == FOCUS_LEFT || direction == FOCUS_RIGHT) { 57 direction == FOCUS_LEFT : direction == FOCUS_RIGHT) {
|
/cts/tests/tests/view/src/android/view/cts/ |
SoundEffectConstantsTest.java | 39 .getContantForFocusDirection(View.FOCUS_LEFT));
|
FocusFinderTest.java | 73 assertNextFocus(mBottomRight, View.FOCUS_LEFT, mBottomLeft); 78 assertNextFocus(null, View.FOCUS_LEFT, mBottomRight); 102 assertNextFocusFromRect(rect, View.FOCUS_LEFT, mTopLeft); 153 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_LEFT, deltas);
|
View_FocusHandlingTest.java | 93 assertSame(v1, v2.focusSearch(View.FOCUS_LEFT)); 100 assertSame(v3, v4.focusSearch(View.FOCUS_LEFT)); 176 assertTrue(v1.requestFocus(View.FOCUS_LEFT, null));
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
FocusStrategy.java | 148 case View.FOCUS_LEFT: 162 + "{FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); 263 if (direction == View.FOCUS_LEFT || direction == View.FOCUS_RIGHT) { 298 case View.FOCUS_LEFT: 312 + "{FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); 327 case View.FOCUS_LEFT: 335 + "{FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); 344 case View.FOCUS_LEFT: 354 + "{FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); 371 case View.FOCUS_LEFT [all...] |
ExploreByTouchHelper.java | 312 return View.FOCUS_LEFT; 389 case View.FOCUS_LEFT: 413 + "FOCUS_LEFT, FOCUS_RIGHT}."); 455 case View.FOCUS_LEFT: 469 + "{FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListHorizontalFocusWithinItemWinsTest.java | 59 FocusFinder.getInstance().findNextFocus(mListView, mTopRightButton, View.FOCUS_LEFT));
|
ListButtonsDiagonalAcrossItemsTest.java | 79 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_LEFT));
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/view/ |
Focus2AndroidTest.java | 111 mFocusFinder.findNextFocus(mRoot, mRightButton, View.FOCUS_LEFT));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
TitleHelper.java | 50 final int forward = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
|
PersistentFocusWrapper.java | 88 (!mPersistFocusVertical && (direction == FOCUS_LEFT || direction == FOCUS_RIGHT)));
|
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 267 mScrollView.fullScroll(View.FOCUS_LEFT); 286 mScrollView.fullScroll(View.FOCUS_LEFT); 524 assertTrue(mScrollView.pageScroll(View.FOCUS_LEFT)); 528 assertFalse(mScrollView.pageScroll(View.FOCUS_LEFT)); 543 assertTrue(mScrollView.fullScroll(View.FOCUS_LEFT)); 546 assertFalse(mScrollView.fullScroll(View.FOCUS_LEFT)); 567 assertTrue(mScrollView.arrowScroll(View.FOCUS_LEFT)); 572 assertFalse(mScrollView.arrowScroll(View.FOCUS_LEFT)); [all...] |
/packages/apps/TV/src/com/android/tv/guide/ |
ProgramRow.java | 140 ? direction == View.FOCUS_LEFT : direction == View.FOCUS_RIGHT; 146 ? direction == View.FOCUS_RIGHT : direction == View.FOCUS_LEFT;
|
/frameworks/base/core/java/android/widget/ |
HorizontalScrollView.java | 385 handled = arrowScroll(View.FOCUS_LEFT); 387 handled = fullScroll(View.FOCUS_LEFT); 398 pageScroll(event.isShiftPressed() ? View.FOCUS_LEFT : View.FOCUS_RIGHT); [all...] |
GridView.java | [all...] |
TabHost.java | 323 directionShouldChangeFocus = View.FOCUS_LEFT;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionView.java | 244 case View.FOCUS_LEFT: // fall through
|
/frameworks/base/core/tests/coretests/src/android/util/ |
InternalSelectionView.java | 253 case View.FOCUS_LEFT: // fall through
|
/cts/tests/tests/text/src/android/text/method/cts/ |
ArrowKeyMovementMethodTest.java | 126 mArrowKeyMovementMethod.onTakeFocus(mTextView, mEditable, View.FOCUS_LEFT); 153 mArrowKeyMovementMethod.onTakeFocus(mTextView, mEditable, View.FOCUS_LEFT); [all...] |