Searched refs:hasWindowFocus (Results 1 – 7 of 7) sorted by relevance
299 private static Matcher<Root> hasWindowFocus() { in hasWindowFocus() method in PopupMenuTest309 return rootView.hasWindowFocus(); in hasWindowFocus()506 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))515 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))518 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))523 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))571 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))580 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))583 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
99 return mActivity.hasWindowFocus(); in verifySpinnerPopupTheming()
99 waitFor(() -> mActivity.hasWindowFocus()); in setUp()
135 PollingCheck.waitFor { activity.hasWindowFocus() } in setLocalesAndWaitForRecreate()
131 PollingCheck.waitFor { activity.hasWindowFocus() } in setNightModeAndWaitForRecreate()
1283 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument1284 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()1916 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument1917 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()1919 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
156 public boolean hasWindowFocus() { in hasWindowFocus() method in DropDownListView157 return mHijackFocus || super.hasWindowFocus(); in hasWindowFocus()