Home
last modified time | relevance | path

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

12

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustrationVideoView.java109 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
110 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
111 if (hasWindowFocus) { in onWindowFocusChanged()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DPopupMenuTest.java293 private static Matcher<Root> hasWindowFocus() { in hasWindowFocus() method in PopupMenuTest
303 return rootView.hasWindowFocus(); in hasWindowFocus()
505 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
514 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
517 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
522 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
570 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
579 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
582 .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.java2996 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
2997 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
3001 if (!hasWindowFocus) { in onWindowFocusChanged()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivity.java62 mHasWindowFocus = hasWindowFocus(); in waitForWindowFocus()
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
DExtractButtonCompat.java58 public boolean hasWindowFocus() { in hasWindowFocus() method in ExtractButtonCompat
/frameworks/base/core/java/android/view/
DActionMode.java272 public void onWindowFocusChanged(boolean hasWindowFocus) {} in onWindowFocusChanged() argument
DViewRootImpl.java2305 final boolean hasWindowFocus = mAttachInfo.mHasWindowFocus && isViewVisible; in performTraversals()
2306 final boolean regainedFocus = hasWindowFocus && mLostWindowFocus; in performTraversals()
2309 } else if (!hasWindowFocus && mHadWindowFocus) { in performTraversals()
2327 mHadWindowFocus = hasWindowFocus; in performTraversals()
2329 if (hasWindowFocus && !isInLocalFocusMode()) { in performTraversals()
2336 imm.onPreWindowFocus(mView, hasWindowFocus); in performTraversals()
3832 boolean hasWindowFocus = msg.arg1 != 0; in handleMessage()
3833 mAttachInfo.mHasWindowFocus = hasWindowFocus; in handleMessage()
3835 profileRendering(hasWindowFocus); in handleMessage()
3837 if (hasWindowFocus) { in handleMessage()
[all …]
DView.java6973 if (enter && hasWindowFocus() && isFocused()) {
6982 } else if (!hasWindowFocus() || !isFocused()) {
11652 if (hasWindowFocus() && hasFocus()) {
12042 public void onWindowFocusChanged(boolean hasWindowFocus) {
12044 if (!hasWindowFocus) {
12059 notifyEnterOrExitForAutoFillIfNeeded(hasWindowFocus);
12070 public boolean hasWindowFocus() {
20248 if (hasWindowFocus()) viewStateIndex |= StateSet.VIEW_STATE_WINDOW_FOCUSED;
20277 + " 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.java1559 public void onWindowFocusChanged(boolean hasWindowFocus) {
1560 super.onWindowFocusChanged(hasWindowFocus);
1564 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && !hasWindowFocus
1571 cb.onWindowFocusChanged(hasWindowFocus);
1575 mPrimaryActionMode.onWindowFocusChanged(hasWindowFocus);
1578 mFloatingActionMode.onWindowFocusChanged(hasWindowFocus);
2274 elevation = hasWindowFocus() ?
/frameworks/base/core/java/android/webkit/
DWebView.java2864 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
2865 mProvider.getViewDelegate().onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
2866 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
DWebViewProvider.java385 public void onWindowFocusChanged(boolean hasWindowFocus); in onWindowFocusChanged() argument
/frameworks/base/media/java/android/media/tv/
DTvView.java207 if (hasWindowFocus() && mSession != null) { in setMain()
1091 if (hasWindowFocus() && TvView.this == sMainTvView.get() in onSessionCreated()
DTvInputService.java1424 if (!mOverlayViewContainer.hasWindowFocus()) {
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java810 if (hasWindowFocus()) { in dispatchOnDrawerClosed()
835 if (hasWindowFocus()) { in dispatchOnDrawerOpened()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java3310 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument
3311 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
3312 if (!hasWindowFocus) { in onWindowFocusChanged()

12