/frameworks/base/core/java/android/view/ |
D | ImeFocusController.java | 75 void onTraversal(boolean hasWindowFocus, WindowManager.LayoutParams windowAttribute) { in onTraversal() argument 77 if (!hasWindowFocus || isInLocalFocusMode(windowAttribute)) { in onTraversal() 92 void onPreWindowFocus(boolean hasWindowFocus, WindowManager.LayoutParams windowAttribute) { in onPreWindowFocus() argument 96 if (hasWindowFocus) { in onPreWindowFocus() 112 void onPostWindowFocus(View focusedView, boolean hasWindowFocus, in onPostWindowFocus() argument 114 if (!hasWindowFocus || !mHasImeFocus || isInLocalFocusMode(windowAttribute)) { in onPostWindowFocus() 181 if (!view.hasImeFocus() || !view.hasWindowFocus()) { in onViewFocusChanged()
|
D | ActionMode.java | 273 public void onWindowFocusChanged(boolean hasWindowFocus) {} in onWindowFocusChanged() argument
|
D | ViewRootImpl.java | 3623 final boolean hasWindowFocus = mAttachInfo.mHasWindowFocus && isViewVisible; in performTraversals() 3624 final boolean regainedFocus = hasWindowFocus && mLostWindowFocus; in performTraversals() 3627 } else if (!hasWindowFocus && mHadWindowFocus) { in performTraversals() 3644 mHadWindowFocus = hasWindowFocus; in performTraversals() 3646 mImeFocusController.onTraversal(hasWindowFocus, mWindowAttributes); in performTraversals() 3815 final boolean hasWindowFocus; in handleWindowFocusChanged() 3821 hasWindowFocus = mUpcomingWindowFocus; in handleWindowFocusChanged() 3825 if (hasWindowFocus) { in handleWindowFocusChanged() 3833 dispatchFocusEvent(hasWindowFocus, false /* fakeFocus */); in handleWindowFocusChanged() 3837 getFocusedViewOrNull(), hasWindowFocus, mWindowAttributes); in handleWindowFocusChanged() local [all …]
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | ImeOpenCloseStressTest.java | 76 waitOnMainUntil("activity should gain focus", editText::hasWindowFocus); in testShowHide_waitingVisibilityChange() 92 waitOnMainUntil("activity should gain focus", editText::hasWindowFocus); in testShowHide_waitingAnimationEnd() 114 waitOnMainUntil("activity should gain focus", editText::hasWindowFocus); in testShowHide_intervalAfterHide() 131 waitOnMainUntil("activity should gain focus", editText::hasWindowFocus); in testShowHideInSameFrame()
|
D | AutoShowTest.java | 65 waitOnMainUntil("activity should gain focus", editText::hasWindowFocus); in autoShow()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ImeInsetsSourceConsumerTest.java | 149 private void verifyImeGetAndClearSkipAnimationOnce(boolean hasWindowFocus, boolean hasViewFocus, in verifyImeGetAndClearSkipAnimationOnce() argument 153 mImeConsumer.onWindowFocusGained(hasWindowFocus); in verifyImeGetAndClearSkipAnimationOnce() 154 final boolean imeVisible = hasWindowFocus && hasViewFocus; in verifyImeGetAndClearSkipAnimationOnce()
|
D | ViewRootImplTest.java | 306 assertThat(view.hasWindowFocus()).isFalse(); in whenDispatchFakeFocus_focusDoesNotPersist() 311 assertThat(view.hasWindowFocus()).isFalse(); in whenDispatchFakeFocus_focusDoesNotPersist()
|
D | ViewInputConnectionTest.java | 89 PollingCheck.waitFor(5 * DateUtils.SECOND_IN_MILLIS, mActivity::hasWindowFocus); in before() 90 assertTrue(mActivity.hasWindowFocus()); in before()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/ |
D | RepeatWhenAttachedTest.kt | 63 whenever(view.hasWindowFocus()).thenReturn(false) in setUp() 126 whenever(view.hasWindowFocus()).thenReturn(true) in <lambda>() 138 whenever(view.hasWindowFocus()).thenReturn(true) in <lambda>() 167 whenever(view.hasWindowFocus()).thenReturn(true) in <lambda>() 185 whenever(view.hasWindowFocus()).thenReturn(true) in <lambda>()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | IllustrationVideoView.java | 139 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 140 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 141 if (hasWindowFocus) { in onWindowFocusChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPasswordView.java | 259 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 260 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 261 if (hasWindowFocus) { in onWindowFocusChanged()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | ExtractButton.java | 47 @Override public boolean hasWindowFocus() { in hasWindowFocus() method in ExtractButton
|
D | ExtractEditText.java | 139 @Override public boolean hasWindowFocus() { in hasWindowFocus() method in ExtractEditText
|
/frameworks/base/core/java/android/widget/ |
D | DropDownListView.java | 326 public boolean hasWindowFocus() { in hasWindowFocus() method in DropDownListView 327 return mHijackFocus || super.hasWindowFocus(); in hasWindowFocus()
|
D | AutoCompleteTextView.java | 1154 if (hasFocus() && hasWindowFocus() && mPopupCanBeUpdated) { in updateDropDownForFilter() 1167 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 1168 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 1169 if (!hasWindowFocus && !mPopup.isDropDownAlwaysVisible()) { in onWindowFocusChanged()
|
D | SearchView.java | 1387 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 1388 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 2013 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 2014 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 2016 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 581 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 583 if (!hasWindowFocus) { in onWindowFocusChanged() 587 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | FloatingActionMode.java | 272 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 273 mFloatingToolbarVisibilityHelper.setWindowFocused(hasWindowFocus); in onWindowFocusChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/ |
D | RepeatWhenAttached.kt | 178 !view.hasWindowFocus() -> Lifecycle.State.STARTED in updateState()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipMenuView.java | 498 public void onWindowFocusChanged(boolean hasWindowFocus) { 499 super.onWindowFocusChanged(hasWindowFocus); 500 if (!hasWindowFocus) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthContainerView.java | 451 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 452 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 453 if (!hasWindowFocus) { in onWindowFocusChanged()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1781 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 1782 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 1786 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && !hasWindowFocus in onWindowFocusChanged() 1793 cb.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 1797 mPrimaryActionMode.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 1800 mFloatingActionMode.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 2543 elevation = hasWindowFocus() ? in updateElevation()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2970 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 2971 mProvider.getViewDelegate().onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 2972 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
|
D | WebViewProvider.java | 436 public void onWindowFocusChanged(boolean hasWindowFocus); in onWindowFocusChanged() argument
|
/frameworks/base/media/java/android/media/tv/ |
D | TvView.java | 225 if (hasWindowFocus() && mSession != null) { in setMain() 1155 if (hasWindowFocus() && TvView.this == sMainTvView.get() in onSessionCreated()
|