Home
last modified time | relevance | path

Searched refs:hasFocus (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DView_FocusHandlingTest.java103 assertTrue(v1.hasFocus()); in testFocusHandling()
104 assertFalse(v2.hasFocus()); in testFocusHandling()
105 assertFalse(v3.hasFocus()); in testFocusHandling()
106 assertFalse(v4.hasFocus()); in testFocusHandling()
109 assertFalse(v1.hasFocus()); in testFocusHandling()
110 assertTrue(v2.hasFocus()); in testFocusHandling()
111 assertFalse(v3.hasFocus()); in testFocusHandling()
112 assertFalse(v4.hasFocus()); in testFocusHandling()
115 assertFalse(v1.hasFocus()); in testFocusHandling()
116 assertFalse(v2.hasFocus()); in testFocusHandling()
[all …]
DView_UsingViewsTest.java265 boolean focusWasOnEditText = mEditText.hasFocus(); in testSetFocus()
283 assertTrue(mEditText.hasFocus()); in testSetFocus()
284 assertFalse(mButtonOk.hasFocus()); in testSetFocus()
285 assertFalse(mButtonCancel.hasFocus()); in testSetFocus()
286 assertFalse(mSymbolTextView.hasFocus()); in testSetFocus()
287 assertFalse(mWarningTextView.hasFocus()); in testSetFocus()
289 assertTrue(editListener.hasFocus() || focusWasOnEditText); in testSetFocus()
290 assertFalse(okListener.hasFocus()); in testSetFocus()
291 assertFalse(cancelListener.hasFocus()); in testSetFocus()
292 assertFalse(symbolListener.hasFocus()); in testSetFocus()
[all …]
DViewTestCtsActivity.java36 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
37 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
38 if (!hasFocus) { in onWindowFocusChanged()
42 mHasWindowFocus = hasFocus; in onWindowFocusChanged()
DContentPaneFocusTest.java78 assertFalse(v1.hasFocus()); in testAccessActionBar()
79 assertTrue(actionBar.hasFocus()); in testAccessActionBar()
89 assertTrue(v1.hasFocus()); in testAccessActionBar()
103 assertTrue(v1.hasFocus()); in testAccessActionBar()
DMockView.java379 public void dispatchWindowFocusChanged(boolean hasFocus) { in dispatchWindowFocusChanged() argument
380 super.dispatchWindowFocusChanged(hasFocus); in dispatchWindowFocusChanged()
DWindowTest.java710 public void onFocusChange(View v, boolean hasFocus) { in testSetLocalFocus()
711 Log.d(TAG, "view " + v + " focus " + hasFocus); in testSetLocalFocus()
1116 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
DViewGroupTest.java841 assertFalse(vg.hasFocus()); in testHasFocus()
848 assertTrue(vg.hasFocus()); in testHasFocus()
DViewTest.java4527 public void onFocusChange(View v, boolean hasFocus) { in onFocusChange() argument
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DFocusChangeActivity.java29 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
30 if (hasFocus && !mGainedFocus) { in onWindowFocusChanged()
34 } else if (!hasFocus && mGainedFocus) { in onWindowFocusChanged()
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerCtsActivity.java69 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
70 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
71 if (!hasFocus) { in onWindowFocusChanged()
75 mHasWindowFocus = hasFocus; in onWindowFocusChanged()
/cts/hostsidetests/trustedvoice/app/src/android/trustedvoice/app/
DTrustedVoiceActivity.java51 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
52 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
53 if (hasFocus) { in onWindowFocusChanged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DMockVrActivity2.java55 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
56 Log.i(TAG, "onWindowFocusChanged called with " + hasFocus); in onWindowFocusChanged()
57 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
DMockVrActivity.java71 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
72 Log.i(TAG, "onWindowFocusChanged called with " + hasFocus); in onWindowFocusChanged()
73 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
/cts/tests/tests/widget/src/android/widget/cts/
DZoomControlsTest.java118 assertFalse(zoomControls.hasFocus()); in testHasFocus()
121 assertTrue(zoomControls.hasFocus()); in testHasFocus()
DDialerFilterTest.java94 assertTrue(mDialerFilter.hasFocus()); in testOnKeyUpDown()
DAutoCompleteTextViewTest.java432 assertTrue(mAutoCompleteTextView.hasFocus()); in testOnFilterComplete()
DListViewTest.java431 assertTrue(mListView.hasFocus()); in testDispatchKeyEvent()
/cts/tests/app/app/src/android/app/stubs/
DTestDialog.java124 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
125 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/tools/dex-tools/dex/
Dclasses.out.dex86014 public boolean hasFocus()
87932 public boolean hasFocus()
95403 public boolean hasFocus()
101370 public boolean hasFocus()
109366 public boolean hasFocus()