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
279
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/Launcher3/src/com/android/launcher3/
FocusHelper.java
114
itemContainer.getChildAt(iconIndex - 1).
requestFocus
();
123
child.
requestFocus
();
136
itemContainer.getChildAt(iconIndex + 1).
requestFocus
();
145
child.
requestFocus
();
159
itemContainer.getChildAt(newiconIndex).
requestFocus
();
172
itemContainer.getChildAt(newiconIndex).
requestFocus
();
189
child.
requestFocus
();
194
itemContainer.getChildAt(0).
requestFocus
();
210
child.
requestFocus
();
215
itemContainer.getChildAt(itemCount - 1).
requestFocus
();
[
all
...]
/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
...]
/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
...]
/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
();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ControlBar.java
40
public boolean
requestFocus
(int direction, Rect previouslyFocusedRect) {
42
if (getChildAt(getChildCount() / 2).
requestFocus
(direction, previouslyFocusedRect)) {
46
return super.
requestFocus
(direction, previouslyFocusedRect);
/cts/tests/tests/widget/src/android/widget/cts/
SeekBarCtsActivity.java
42
v.
requestFocus
();
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
ButtonActivityTest.java
41
button.
requestFocus
();
/developers/build/prebuilts/gradle/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/
SampleTests.java
75
spinner1.
requestFocus
();
105
spinner2.
requestFocus
();
/developers/samples/android/testing/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/
SampleTests.java
75
spinner1.
requestFocus
();
105
spinner2.
requestFocus
();
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
ContentViewCoreFocusTest.java
60
assertTrue(view.
requestFocus
());
69
assertTrue(urlBox.
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
();
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
FullScreenView.java
53
public boolean
requestFocus
(final int direction, final Rect previouslyFocusedRect) {
54
mAwViewMethods.
requestFocus
();
55
return super.
requestFocus
(direction, previouslyFocusedRect);
AwViewMethods.java
37
* @see android.view.View#
requestFocus
39
void
requestFocus
();
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardPinBasedInputView.java
55
mPasswordEntry.
requestFocus
();
62
return mPasswordEntry.
requestFocus
(direction, previouslyFocusedRect);
202
mPasswordEntry.
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
();
Completed in 392 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>