Home
last modified time | relevance | path

Searched refs:getCurrentFocus (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DBackwardNavigationTest.java86 assertEquals("mOrderedButton1 should be focused", mActivity.getCurrentFocus(), in testBackwardNavigation()
102 PollingCheck.waitFor(() -> mActivity.getCurrentFocus() != lastFocuseView, in testBackwardNavigation()
105 focusedView = mActivity.getCurrentFocus(); in testBackwardNavigation()
116 + ", actual focused view " + mActivity.getCurrentFocus()); in testBackwardNavigation()
/cts/tests/app/src/android/app/cts/
DDialogTest.java284 assertNull(d.getCurrentFocus()); in testGetCurrentFocus()
294 assertEquals(d.getWindow().getCurrentFocus(), d.getCurrentFocus()); in testGetCurrentFocus()
717 assertNull(d.getCurrentFocus()); in testTakeKeyEvents()
725 assertNull(d.getCurrentFocus()); in testTakeKeyEvents()
DInstrumentationTest.java640 public View getCurrentFocus() { in getCurrentFocus() method in InstrumentationTest.MockActivity.MockWindow
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowTest.java340 assertNull(mWindow.getCurrentFocus()); in testGetCurrentFocus()
345 View focus = mWindow.getCurrentFocus(); in testGetCurrentFocus()
549 assertNull(mWindow.getCurrentFocus()); in testTakeKeyEvents()
924 public View getCurrentFocus() { in getCurrentFocus() method in WindowTest.MockWindow
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt4433 method @Nullable public android.view.View getCurrentFocus();
5520 method @Nullable public android.view.View getCurrentFocus();
54073 method @Nullable public abstract android.view.View getCurrentFocus();