Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DPopupMenuTest.java289 private static Matcher<Root> hasWindowFocus() { in hasWindowFocus() method in PopupMenuTest
299 return rootView.hasWindowFocus(); in hasWindowFocus()
491 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
500 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
503 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
508 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
556 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
565 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
568 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDropDownListView.java253 public boolean hasWindowFocus() { in hasWindowFocus() method in DropDownListView
254 return mHijackFocus || super.hasWindowFocus(); in hasWindowFocus()
DSearchView.java1266 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
1267 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
1896 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
1897 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
1899 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
/frameworks/base/core/java/android/inputmethodservice/
DExtractButton.java47 @Override public boolean hasWindowFocus() { in hasWindowFocus() method in ExtractButton
DExtractEditText.java139 @Override public boolean hasWindowFocus() { in hasWindowFocus() method in ExtractEditText
/frameworks/base/core/java/android/widget/
DDropDownListView.java326 public boolean hasWindowFocus() { in hasWindowFocus() method in DropDownListView
327 return mHijackFocus || super.hasWindowFocus(); in hasWindowFocus()
DAutoCompleteTextView.java1085 if (hasFocus() && hasWindowFocus() && mPopupCanBeUpdated) { in updateDropDownForFilter()
1098 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
1099 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
1100 if (!hasWindowFocus && !mPopup.isDropDownAlwaysVisible()) { in onWindowFocusChanged()
DSearchView.java1336 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
1337 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
1959 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
1960 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
1962 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
DAbsListView.java3003 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
3004 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
3008 if (!hasWindowFocus) { in onWindowFocusChanged()
DTextView.java9605 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
9606 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
9608 if (mEditor != null) mEditor.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
9610 startStopMarquee(hasWindowFocus); in onWindowFocusChanged()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivity.java62 mHasWindowFocus = hasWindowFocus(); in waitForWindowFocus()
/frameworks/base/core/java/android/view/
DActionMode.java271 public void onWindowFocusChanged(boolean hasWindowFocus) {} in onWindowFocusChanged() argument
DViewRootImpl.java2293 final boolean hasWindowFocus = mAttachInfo.mHasWindowFocus && isViewVisible; in performTraversals()
2294 final boolean regainedFocus = hasWindowFocus && mLostWindowFocus; in performTraversals()
2297 } else if (!hasWindowFocus && mHadWindowFocus) { in performTraversals()
2315 mHadWindowFocus = hasWindowFocus; in performTraversals()
2317 if (hasWindowFocus && !isInLocalFocusMode()) { in performTraversals()
2324 imm.onPreWindowFocus(mView, hasWindowFocus); in performTraversals()
3813 boolean hasWindowFocus = msg.arg1 != 0; in handleMessage()
3814 mAttachInfo.mHasWindowFocus = hasWindowFocus; in handleMessage()
3816 profileRendering(hasWindowFocus); in handleMessage()
3818 if (hasWindowFocus) { in handleMessage()
[all …]
DView.java6935 if (enter && hasWindowFocus() && isFocused()) {
6944 } else if (!hasWindowFocus() || !isFocused()) {
11597 if (hasWindowFocus() && hasFocus()) {
11987 public void onWindowFocusChanged(boolean hasWindowFocus) {
11989 if (!hasWindowFocus) {
12004 notifyEnterOrExitForAutoFillIfNeeded(hasWindowFocus);
12015 public boolean hasWindowFocus() {
20175 if (hasWindowFocus()) viewStateIndex |= StateSet.VIEW_STATE_WINDOW_FOCUSED;
20204 + " wf=" + hasWindowFocus()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java575 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
577 if (!hasWindowFocus) { in onWindowFocusChanged()
581 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
/frameworks/base/core/java/com/android/internal/view/
DFloatingActionMode.java245 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
246 mFloatingToolbarVisibilityHelper.setWindowFocused(hasWindowFocus); in onWindowFocusChanged()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java501 if (mServedView != null && mServedView.hasWindowFocus()) { in handleMessage()
1414 if (false && view.hasWindowFocus()) { in focusOut()
1560 public void onPreWindowFocus(View rootView, boolean hasWindowFocus) { in onPreWindowFocus() argument
1564 } if (hasWindowFocus) { in onPreWindowFocus()
2450 sb.append(",windowFocus=" + view.hasWindowFocus()); in dumpViewInfo()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1527 public void onWindowFocusChanged(boolean hasWindowFocus) {
1528 super.onWindowFocusChanged(hasWindowFocus);
1532 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && !hasWindowFocus
1539 cb.onWindowFocusChanged(hasWindowFocus);
1543 mPrimaryActionMode.onWindowFocusChanged(hasWindowFocus);
1546 mFloatingActionMode.onWindowFocusChanged(hasWindowFocus);
2242 elevation = hasWindowFocus() ?
/frameworks/base/core/java/android/webkit/
DWebView.java2818 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
2819 mProvider.getViewDelegate().onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
2820 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
DWebViewProvider.java385 public void onWindowFocusChanged(boolean hasWindowFocus); in onWindowFocusChanged() argument
/frameworks/base/media/java/android/media/tv/
DTvView.java205 if (hasWindowFocus() && mSession != null) { in setMain()
1082 if (hasWindowFocus() && TvView.this == sMainTvView.get()) { in onSessionCreated()
DTvInputService.java1424 if (!mOverlayViewContainer.hasWindowFocus()) {
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java855 if (hasWindowFocus()) { in dispatchOnDrawerClosed()
880 if (hasWindowFocus()) { in dispatchOnDrawerOpened()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java3282 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
3283 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
3284 if (!hasWindowFocus) { in onWindowFocusChanged()
/frameworks/base/core/java/android/app/
DActivity.java3175 public boolean hasWindowFocus() { in hasWindowFocus() method in Activity
3180 return d.hasWindowFocus(); in hasWindowFocus()

12