/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | HorizontalFocusSearchTest.java | 39 private FocusSearchAlg mFocusFinder; field in HorizontalFocusSearchTest 56 mFocusFinder = new NewFocusSearchAlg(); in setUp() 75 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_UP)); in testSearchFromLeftButton() 77 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_DOWN)); in testSearchFromLeftButton() 79 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_LEFT)); in testSearchFromLeftButton() 83 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_RIGHT)); in testSearchFromLeftButton() 88 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_UP)); in TODO_testSearchFromMiddleLeftButton() 91 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_DOWN)); in TODO_testSearchFromMiddleLeftButton() 94 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_LEFT)); in TODO_testSearchFromMiddleLeftButton() 97 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_RIGHT)); in TODO_testSearchFromMiddleLeftButton() [all …]
|
D | VerticalFocusSearchTest.java | 45 private FocusSearchAlg mFocusFinder; field in VerticalFocusSearchTest 77 mFocusFinder = new NewFocusSearchAlg(); in setUp() 90 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_UP)); in testSearchFromTopButton() 93 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_LEFT)); in testSearchFromTopButton() 96 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_RIGHT)); in testSearchFromTopButton() 100 mFocusFinder in testSearchFromTopButton() 106 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_LEFT)); in testSearchFromMidLeft() 110 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_RIGHT)); in testSearchFromMidLeft() 114 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_UP)); in testSearchFromMidLeft() 118 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_DOWN)); in testSearchFromMidLeft() [all …]
|
/frameworks/base/core/java/android/view/ |
D | FocusFinderHelper.java | 27 private FocusFinder mFocusFinder; field in FocusFinderHelper 33 mFocusFinder = focusFinder; in FocusFinderHelper() 37 return mFocusFinder.isBetterCandidate(direction, source, rect1, rect2); in isBetterCandidate() 41 return mFocusFinder.beamBeats(direction, source, rect1, rect2); in beamBeats() 45 return mFocusFinder.isCandidate(srcRect, destRect, direction); in isCandidate() 49 return mFocusFinder.beamsOverlap(direction, rect1, rect2); in beamsOverlap()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | FocusFinderTest.java | 26 private FocusFinderHelper mFocusFinder; field in FocusFinderTest 32 mFocusFinder = new FocusFinderHelper(FocusFinder.getInstance()); in setUp() 37 assertNotNull("focus finder instance", mFocusFinder); in testPreconditions() 480 assertTrue(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2)); in assertBeamsOverlap() 487 assertFalse(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2)); in assertBeamsDontOverlap() 509 mFocusFinder.isBetterCandidate(direction, srcRect, in assertBetterCandidate() 519 mFocusFinder.isBetterCandidate(direction, srcRect, in assertBetterCandidate() 530 assertFalse(assertMsg, mFocusFinder.isCandidate(src, dest, direction)); in assertIsNotCandidate() 540 assertTrue(assertMsg, mFocusFinder.beamBeats(direction, srcRect, rect1, rect2)); in assertBeamBeats() 551 assertTrue(assertMsg, mFocusFinder.isCandidate(src, dest, direction)); in assertDirectionIsCandidate()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 59998 Landroid/view/FocusFinderHelper;->mFocusFinder:Landroid/view/FocusFinder;
|