OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mFocusFinder
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/core/tests/coretests/src/android/widget/focus/
HorizontalFocusSearchTest.java
38
private FocusSearchAlg
mFocusFinder
;
55
mFocusFinder
= new NewFocusSearchAlg();
74
mFocusFinder
.findNextFocus(mLayout, mLeftTall, View.FOCUS_UP));
76
mFocusFinder
.findNextFocus(mLayout, mLeftTall, View.FOCUS_DOWN));
78
mFocusFinder
.findNextFocus(mLayout, mLeftTall, View.FOCUS_LEFT));
82
mFocusFinder
.findNextFocus(mLayout, mLeftTall, View.FOCUS_RIGHT));
87
mFocusFinder
.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_UP));
90
mFocusFinder
.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_DOWN));
93
mFocusFinder
.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_LEFT));
96
mFocusFinder
.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_RIGHT))
[
all
...]
VerticalFocusSearchTest.java
44
private FocusSearchAlg
mFocusFinder
;
76
mFocusFinder
= new NewFocusSearchAlg();
89
mFocusFinder
.findNextFocus(mLayout, mTopWide, View.FOCUS_UP));
92
mFocusFinder
.findNextFocus(mLayout, mTopWide, View.FOCUS_LEFT));
95
mFocusFinder
.findNextFocus(mLayout, mTopWide, View.FOCUS_RIGHT));
99
mFocusFinder
105
mFocusFinder
.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_LEFT));
109
mFocusFinder
.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_RIGHT));
113
mFocusFinder
.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_UP));
117
mFocusFinder
.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_DOWN))
[
all
...]
/frameworks/base/core/java/android/view/
FocusFinderHelper.java
27
private FocusFinder
mFocusFinder
;
33
mFocusFinder
= focusFinder;
37
return
mFocusFinder
.isBetterCandidate(direction, source, rect1, rect2);
41
return
mFocusFinder
.beamBeats(direction, source, rect1, rect2);
45
return
mFocusFinder
.isCandidate(srcRect, destRect, direction);
49
return
mFocusFinder
.beamsOverlap(direction, rect1, rect2);
/cts/tests/tests/view/src/android/view/cts/
FocusFinderTest.java
29
private FocusFinder
mFocusFinder
;
43
mFocusFinder
= FocusFinder.getInstance();
52
mFocusFinder
= null;
53
mFocusFinder
= FocusFinder.getInstance();
54
assertNotNull(
mFocusFinder
);
79
View actualNextFocus =
mFocusFinder
.findNextFocus(mLayout, currentFocus, direction);
119
View actualNextFocus =
mFocusFinder
.findNextFocusFromRect(mLayout, rect, direction);
140
View view =
mFocusFinder
.findNearestTouchable(mLayout, x, y, View.FOCUS_DOWN, deltas);
149
view =
mFocusFinder
.findNearestTouchable(mLayout, x, y, View.FOCUS_LEFT, deltas);
158
view =
mFocusFinder
.findNearestTouchable(mLayout, x, y, View.FOCUS_RIGHT, deltas)
[
all
...]
/development/samples/ApiDemos/tests/src/com/example/android/apis/view/
Focus2AndroidTest.java
57
private FocusFinder
mFocusFinder
;
69
mFocusFinder
= FocusFinder.getInstance();
104
mFocusFinder
.findNextFocus(mRoot, mLeftButton, View.FOCUS_RIGHT));
111
mFocusFinder
.findNextFocus(mRoot, mRightButton, View.FOCUS_LEFT));
/frameworks/base/core/tests/coretests/src/android/view/
FocusFinderTest.java
25
private FocusFinderHelper
mFocusFinder
;
31
mFocusFinder
= new FocusFinderHelper(FocusFinder.getInstance());
36
assertNotNull("focus finder instance",
mFocusFinder
);
479
assertTrue(assertMsg,
mFocusFinder
.beamsOverlap(direction, rect1, rect2));
486
assertFalse(assertMsg,
mFocusFinder
.beamsOverlap(direction, rect1, rect2));
508
mFocusFinder
.isBetterCandidate(direction, srcRect,
518
mFocusFinder
.isBetterCandidate(direction, srcRect,
529
assertFalse(assertMsg,
mFocusFinder
.isCandidate(src, dest, direction));
539
assertTrue(assertMsg,
mFocusFinder
.beamBeats(direction, srcRect, rect1, rect2));
550
assertTrue(assertMsg,
mFocusFinder
.isCandidate(src, dest, direction))
[
all
...]
Completed in 637 milliseconds