Home
last modified time | relevance | path

Searched refs:hasWindowFocus (Results 1 – 25 of 38) sorted by relevance

12

/cts/hostsidetests/systemui/app/src/android/systemui/cts/
DTestTileService.java127 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
128 Log.i(TAG, TEST_PREFIX + "onWindowFocusChanged_" + hasWindowFocus); in onWindowFocusChanged()
129 if (hasWindowFocus) { in onWindowFocusChanged()
137 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
/cts/tests/tests/view/src/android/view/cts/
DViewTestCtsActivity.java54 mHasWindowFocus = hasWindowFocus(); in waitForWindowFocus()
DSearchEventTest.java55 PollingCheck.waitFor(5000, mActivity::hasWindowFocus); in setup()
DPointerCaptureTest.java202 PollingCheck.waitFor(TIMEOUT_DELTA, mActivity::hasWindowFocus); in setup()
228 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mOuter.hasWindowFocus()); in testWindowFocusChangeEndsCapture()
232 PollingCheck.waitFor(TIMEOUT_DELTA, () -> mOuter.hasWindowFocus()); in testWindowFocusChangeEndsCapture()
244 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mActivity.hasWindowFocus()); in testActivityFocusChangeEndsCapture()
DMockView.java445 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
447 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
DSurfaceViewTest.java62 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
DTooltipTest.java85 PollingCheck.waitFor(TIMEOUT_DELTA, mActivity::hasWindowFocus); in setup()
281 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mActivity.hasWindowFocus()); in testTooltipHidesOnActivityFocusChange()
295 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mTooltipView.hasWindowFocus()); in testTooltipHidesOnWindowFocusChange()
DViewTreeObserverTest.java71 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerTestCase.java50 PollingCheck.waitFor(5000, mActivity::hasWindowFocus); in setup()
DKeyListenerCtsActivity.java86 mHasWindowFocus = hasWindowFocus(); in waitForWindowFocus()
DTransformationMethodTest.java69 PollingCheck.waitFor(1000, mActivity::hasWindowFocus); in setup()
DForwardDeleteTest.java52 assertTrue(mTextView.hasWindowFocus()); in forwardDelete()
DBackspaceTest.java52 assertTrue(mTextView.hasWindowFocus()); in backspace()
DPasswordTransformationMethodTest.java90 PollingCheck.waitFor(1000, mActivity::hasWindowFocus); in setup()
/cts/tests/app/app/src/android/app/stubs/
DKeyboardShortcutsActivity.java46 while (hasWindowFocus() && stillWaiting) { in waitForMenuToBeOpen()
/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListViewWithHeadersTest.java57 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
DExpandableListViewBasicTest.java63 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
DTextViewFadingEdgeTest.java142 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
DAutoCompleteTextViewTest.java135 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
542 assertTrue(mAutoCompleteTextView.hasWindowFocus()); in testOnFilterComplete()
DAbsSeekBarTest.java226 PollingCheck.waitFor(1000, seekBar::hasWindowFocus); in testAccessKeyProgressIncrement()
DAbsListView_ScrollTest.java85 PollingCheck.waitFor(() -> activity.hasWindowFocus()); in setup()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodManagerTest.java81 PollingCheck.waitFor(1000, view::hasWindowFocus); in testInputMethodManager()
DBaseInputConnectionTest.java76 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderCursorTest.java105 PollingCheck.waitFor(() -> getActivity().hasWindowFocus()); in setUp()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java69 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()

12