/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MultiWindowLoginActivityTest.java | 137 assertThat(emptyActivity.hasWindowFocus()).isTrue(); 140 assertThat(loginActivity.hasWindowFocus()).isFalse(); 145 assertThat(emptyActivity.hasWindowFocus()).isFalse(); 150 assertThat(emptyActivity.hasWindowFocus()).isTrue(); 153 assertThat(loginActivity.hasWindowFocus()).isFalse();
|
/cts/hostsidetests/systemui/app/src/android/systemui/cts/ |
D | TestTileService.java | 129 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 130 Log.i(TAG, TEST_PREFIX + "onWindowFocusChanged_" + hasWindowFocus); in onWindowFocusChanged() 131 if (hasWindowFocus) { in onWindowFocusChanged() 139 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
|
/cts/hostsidetests/testharness/app/src/android/testharness/app/ |
D | TestHarnessModeDeviceTest.java | 54 PollingCheck.waitFor(activity::hasWindowFocus); in dirtyDevice() 62 PollingCheck.waitFor(activity::hasWindowFocus); in testDeviceIsClean()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | WindowFocusStealerService.java | 72 public void onWindowFocusChanged(boolean hasWindowFocus) { in handleStealWindowFocus() 73 if (!mWindowInitiallyFocused && hasWindowFocus) { in handleStealWindowFocus()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | LayoutTests.java | 176 public void onWindowFocusChanged(boolean hasWindowFocus) { in testChangingFocusableFlag() 177 super.onWindowFocusChanged(hasWindowFocus); in testChangingFocusableFlag() 178 childWindowHasFocus[0] = hasWindowFocus; in testChangingFocusableFlag()
|
D | AspectRatioTestsBase.java | 48 PollingCheck.waitFor(activity::hasWindowFocus); in runAspectRatioTest()
|
D | SurfaceViewTest.java | 62 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
|
D | LocationInWindowTests.java | 165 PollingCheck.waitFor(activity::hasWindowFocus); in launchAndWait()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | FocusHandlingTest.java | 279 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() 323 TestUtils.waitOnMainUntil(() -> editText.hasWindowFocus(), TIMEOUT); in testFocusableWindowDoesNotInvalidateExistingInputConnection() 369 TestUtils.waitOnMainUntil(() -> !editText.hasWindowFocus(), TIMEOUT); in testRestartInputWhileOtherProcessHasWindowFocus() 380 TestUtils.waitOnMainUntil(() -> editText.hasWindowFocus(), TIMEOUT); in testRestartInputWhileOtherProcessHasWindowFocus()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PointerCaptureTest.java | 212 PollingCheck.waitFor(TIMEOUT_DELTA, mActivity::hasWindowFocus); in setup() 241 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mOuter.hasWindowFocus()); in testWindowFocusChangeEndsCapture() 246 PollingCheck.waitFor(TIMEOUT_DELTA, () -> mOuter.hasWindowFocus()); in testWindowFocusChangeEndsCapture() 258 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mActivity.hasWindowFocus()); in testActivityFocusChangeEndsCapture()
|
D | SearchEventTest.java | 57 PollingCheck.waitFor(5000, mActivity::hasWindowFocus); in setup()
|
D | KeyEventInterceptTest.java | 70 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
|
D | MockView.java | 458 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 460 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
|
D | TooltipTest.java | 89 PollingCheck.waitFor(TIMEOUT_DELTA, mActivity::hasWindowFocus); in setup() 293 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mActivity.hasWindowFocus()); in testTooltipHidesOnActivityFocusChange() 307 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mTooltipView.hasWindowFocus()); in testTooltipHidesOnWindowFocusChange()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | KeyboardShortcutsActivity.java | 46 while (hasWindowFocus() && stillWaiting) { in waitForMenuToBeOpen()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | KeyListenerTestCase.java | 64 PollingCheck.waitFor(5000, mActivity::hasWindowFocus); in setup()
|
D | TransformationMethodTest.java | 70 PollingCheck.waitFor(1000, mActivity::hasWindowFocus); in setup()
|
D | ForwardDeleteTest.java | 53 assertTrue(mTextView.hasWindowFocus()); in forwardDelete()
|
D | BackspaceTest.java | 53 assertTrue(mTextView.hasWindowFocus()); in backspace()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ExpandableListViewWithHeadersTest.java | 59 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
|
D | ExpandableListViewBasicTest.java | 65 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
|
D | TextViewFadingEdgeTest.java | 142 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ThemeDeviceActivity.java | 102 () -> hasWindowFocus()) in onCreate()
|
/cts/tests/app/src/android/app/cts/ |
D | AlertDialog_BuilderCursorTest.java | 107 PollingCheck.waitFor(() -> getActivity().hasWindowFocus()); in setUp()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 73 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup()
|