Home
last modified time | relevance | path

Searched refs:hasFocus (Results 1 – 14 of 14) 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()
DMockView.java361 public void dispatchWindowFocusChanged(boolean hasFocus) { in dispatchWindowFocusChanged() argument
362 super.dispatchWindowFocusChanged(hasFocus); in dispatchWindowFocusChanged()
DWindowTest.java707 public void onFocusChange(View v, boolean hasFocus) { in testSetLocalFocus()
708 Log.d(TAG, "view " + v + " focus " + hasFocus); in testSetLocalFocus()
1092 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
DViewGroupTest.java836 assertFalse(vg.hasFocus()); in testHasFocus()
843 assertTrue(vg.hasFocus()); in testHasFocus()
DViewTest.java4016 public void onFocusChange(View v, boolean hasFocus) { in onFocusChange() argument
/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/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.java549 assertTrue(mListView.hasFocus()); in testDispatchKeyEvent()
/cts/tests/app/src/android/app/cts/
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/ ...