OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:requestFocus
(Results
1 - 25
of
227
) sorted by null
1
2
3
4
5
6
7
8
9
10
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DescendantFocusabilityTest.java
62
assertTrue(a.beforeDescendants.
requestFocus
());
66
a.beforeDescendants.
requestFocus
();
75
assertTrue(a.afterDescendants.
requestFocus
());
79
assertTrue(a.afterDescendants.
requestFocus
());
87
assertTrue(a.blocksDescendants.
requestFocus
());
92
assertFalse(a.blocksDescendants.
requestFocus
());
100
assertFalse(a.blocksDescendantsChild.
requestFocus
());
108
a.beforeDescendantsChild.
requestFocus
();
125
a.afterDescendantsChild.
requestFocus
();
RequestFocus.java
27
* Exercises cases where elements of the UI are
requestFocus
()ed.
29
public class
RequestFocus
extends Activity {
38
bottomRightButton.
requestFocus
();
RequestFocusTest.java
40
public class RequestFocusTest extends ActivityInstrumentationTestCase2<
RequestFocus
> {
49
super(
RequestFocus
.class);
56
final
RequestFocus
a = getActivity();
73
assertTrue("
requestFocus
() should work from onCreate.", mBottomRightButton.hasFocus());
76
// Test that a posted
requestFocus
works.
80
mBottomLeftButton.
requestFocus
();
92
// Test that a
requestFocus
from the wrong thread fails.
96
mTopRightButton.
requestFocus
();
97
fail("
requestFocus
from wrong thread should raise exception.");
129
clearingFocusButton.
requestFocus
();
[
all
...]
GoneParentFocusedChild.java
81
mButton.
requestFocus
();
/packages/apps/Launcher2/src/com/android/launcher2/
FocusHelper.java
99
shop.
requestFocus
();
108
contents.
requestFocus
();
161
parent.getChildAt(widgetIndex - 1).
requestFocus
();
167
if (child != null) child.
requestFocus
();
178
parent.getChildAt(widgetIndex + 1).
requestFocus
();
184
if (child != null) child.
requestFocus
();
197
if (child != null) child.
requestFocus
();
199
tabs.
requestFocus
();
210
if (child != null) child.
requestFocus
();
236
if (child != null) child.
requestFocus
();
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
FocusHelper.java
98
shop.
requestFocus
();
107
contents.
requestFocus
();
160
parent.getChildAt(widgetIndex - 1).
requestFocus
();
166
if (child != null) child.
requestFocus
();
177
parent.getChildAt(widgetIndex + 1).
requestFocus
();
183
if (child != null) child.
requestFocus
();
196
if (child != null) child.
requestFocus
();
198
tabs.
requestFocus
();
209
if (child != null) child.
requestFocus
();
235
if (child != null) child.
requestFocus
();
[
all
...]
/frameworks/base/core/tests/coretests/src/android/widget/
AutoCompleteTextViewCallbacks.java
42
textView.
requestFocus
();
67
textView.
requestFocus
();
116
textView.
requestFocus
();
AutoCompleteTextViewPopup.java
51
textView.
requestFocus
();
83
textView.
requestFocus
();
110
textView.
requestFocus
();
143
textView.
requestFocus
();
180
textView.
requestFocus
();
/cts/tests/src/android/widget/cts/
SeekBarStubActivity.java
42
v.
requestFocus
();
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
ButtonActivityTest.java
41
button.
requestFocus
();
/developers/build/prebuilts/gradle/ActivityInstrumentation/ActivityInstrumentationSample/tests/src/com/example/android/activityinstrumentation/
SampleTests.java
75
spinner1.
requestFocus
();
105
spinner2.
requestFocus
();
/developers/samples/android/testing/ActivityInstrumentation/ActivityInstrumentationSample/tests/src/com/example/android/activityinstrumentation/
SampleTests.java
75
spinner1.
requestFocus
();
105
spinner2.
requestFocus
();
/development/samples/ApiDemos/src/com/example/android/apis/media/
VideoViewDemo.java
48
mVideoView.
requestFocus
();
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
AudioFocusHelper.java
40
public boolean
requestFocus
() {
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
StateListDrawableTest.java
51
mockView.
requestFocus
();
63
mockView.
requestFocus
();
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
WebSearchSuggestionView.java
81
consumed = mIcon2.
requestFocus
();
83
consumed =
requestFocus
();
/packages/apps/Browser/src/com/android/browser/
HttpAuthenticationDialog.java
84
mUsernameView.
requestFocus
();
104
mDialog.findViewById(focusId).
requestFocus
();
106
mUsernameView.
requestFocus
();
/packages/services/Telephony/src/com/android/phone/
ChangeIccPinScreen.java
171
mNewPin1.
requestFocus
();
173
mNewPin2.
requestFocus
();
175
mButton.
requestFocus
();
225
mPUKSubmit.
requestFocus
();
265
mPUKCode.
requestFocus
();
272
mPUKCode.
requestFocus
();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ViewGroupTest.java
175
child1.
requestFocus
();
181
child3b.
requestFocus
();
187
root.
requestFocus
();
193
child3a.
requestFocus
();
201
root.
requestFocus
();
208
child3a.
requestFocus
();
215
child3a.
requestFocus
();
216
child3.
requestFocus
();
/cts/tests/tests/view/src/android/view/cts/
View_FocusHandlingTest.java
102
assertTrue(v1.
requestFocus
());
160
// test
requestFocus
170
assertTrue(v2.
requestFocus
(View.FOCUS_UP));
176
assertTrue(v1.
requestFocus
(View.FOCUS_LEFT, null));
182
assertTrue(v3.
requestFocus
());
/development/samples/ApiDemos/tests/src/com/example/android/apis/view/
Focus2ActivityTest.java
100
mRightButton.
requestFocus
();
/frameworks/base/core/tests/coretests/src/android/view/
DisabledLongpressTest.java
75
mSimpleView.
requestFocus
();
LongpressTest.java
71
mSimpleView.
requestFocus
();
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
OneEditTextActivityNotSelected.java
56
button.
requestFocus
();
OneEditTextActivitySelected.java
52
editText.
requestFocus
();
Completed in 380 milliseconds
1
2
3
4
5
6
7
8
9
10