Home
last modified time | relevance | path

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

12

/cts/tests/autofillservice/src/android/autofillservice/cts/
DMultiWindowLoginActivityTest.java122 assertThat(emptyActivity.hasWindowFocus()).isTrue(); in testSplitWindow()
125 assertThat(loginActivity.hasWindowFocus()).isFalse(); in testSplitWindow()
130 assertThat(emptyActivity.hasWindowFocus()).isFalse(); in testSplitWindow()
135 assertThat(emptyActivity.hasWindowFocus()).isTrue(); in testSplitWindow()
138 assertThat(loginActivity.hasWindowFocus()).isFalse(); in testSplitWindow()
/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/inputmethod/src/android/view/inputmethod/cts/util/
DWindowFocusStealerService.java71 public void onWindowFocusChanged(boolean hasWindowFocus) { in handleStealWindowFocus()
72 if (!mWindowInitiallyFocused && hasWindowFocus) { in handleStealWindowFocus()
/cts/tests/app/app/src/android/app/stubs/
DKeyboardShortcutsActivity.java46 while (hasWindowFocus() && stillWaiting) { in waitForMenuToBeOpen()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DFocusHandlingTest.java277 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
321 TestUtils.waitOnMainUntil(() -> editText.hasWindowFocus(), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
367 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testRestartInputWhileOtherProcessHasWindowFocus()
378 TestUtils.waitOnMainUntil(() -> editText.hasWindowFocus(), TIMEOUT); in testRestartInputWhileOtherProcessHasWindowFocus()
/cts/tests/tests/view/src/android/view/cts/
DSearchEventTest.java55 PollingCheck.waitFor(5000, mActivity::hasWindowFocus); in setup()
DKeyEventInterceptTest.java62 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
DPointerCaptureTest.java207 PollingCheck.waitFor(TIMEOUT_DELTA, mActivity::hasWindowFocus); in setup()
236 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mOuter.hasWindowFocus()); in testWindowFocusChangeEndsCapture()
241 PollingCheck.waitFor(TIMEOUT_DELTA, () -> mOuter.hasWindowFocus()); in testWindowFocusChangeEndsCapture()
253 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.java88 PollingCheck.waitFor(TIMEOUT_DELTA, mActivity::hasWindowFocus); in setup()
292 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mActivity.hasWindowFocus()); in testTooltipHidesOnActivityFocusChange()
306 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mTooltipView.hasWindowFocus()); in testTooltipHidesOnWindowFocusChange()
/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()
DMagnifierTest.java74 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerTestCase.java63 PollingCheck.waitFor(5000, mActivity::hasWindowFocus); in setup()
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/framework/base/activitymanager/src/android/server/am/
DAspectRatioTests.java136 PollingCheck.waitFor(testActivity::hasWindowFocus); in testMaxAspectRatioResizeableActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DLocationInWindowTests.java167 PollingCheck.waitFor(activity::hasWindowFocus); in launchAndWait()
DLocationOnScreenTests.java151 PollingCheck.waitFor(activity::hasWindowFocus); in launchAndWait()
/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.java71 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()

12