/frameworks/base/core/java/android/view/ |
D | ImeFocusController.java | 67 void onTraversal(boolean hasWindowFocus, WindowManager.LayoutParams windowAttribute) { in onTraversal() argument 70 if (!hasWindowFocus || isInLocalFocusMode(windowAttribute)) { in onTraversal() 86 void onPreWindowFocus(boolean hasWindowFocus, WindowManager.LayoutParams windowAttribute) { in onPreWindowFocus() argument 88 if (!hasWindowFocus || !mHasImeFocus || isInLocalFocusMode(windowAttribute)) { in onPreWindowFocus() 89 if (!hasWindowFocus) { in onPreWindowFocus() 98 void onPostWindowFocus(View focusedView, boolean hasWindowFocus, in onPostWindowFocus() argument 100 if (!hasWindowFocus || !mHasImeFocus || isInLocalFocusMode(windowAttribute)) { in onPostWindowFocus()
|
D | ActionMode.java | 273 public void onWindowFocusChanged(boolean hasWindowFocus) {} in onWindowFocusChanged() argument
|
D | ViewRootImpl.java | 4230 final boolean hasWindowFocus = mAttachInfo.mHasWindowFocus && isViewVisible; in performTraversals() 4231 mImeFocusController.onTraversal(hasWindowFocus, mWindowAttributes); in performTraversals() 4585 final boolean hasWindowFocus; in handleWindowFocusChanged() 4591 hasWindowFocus = mUpcomingWindowFocus; in handleWindowFocusChanged() 4593 if (hasWindowFocus) { in handleWindowFocusChanged() 4601 dispatchFocusEvent(hasWindowFocus, false /* fakeFocus */); in handleWindowFocusChanged() 4605 getFocusedViewOrNull(), hasWindowFocus, mWindowAttributes); in handleWindowFocusChanged() local 4607 if (hasWindowFocus) { in handleWindowFocusChanged() 4628 mFirstInputStage.onWindowFocusChanged(hasWindowFocus); in handleWindowFocusChanged() 4633 if (hasWindowFocus) { in handleWindowFocusChanged() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/ |
D | RepeatWhenAttachedTest.kt | 74 whenever(view.hasWindowFocus()).thenReturn(false) in setUp() 151 whenever(view.hasWindowFocus()).thenReturn(true) in repeatWhenAttached_startsWithFocusButInvisible_CREATED() 165 whenever(view.hasWindowFocus()).thenReturn(true) in repeatWhenAttached_startsVisibleAndWithFocus_RESUMED() 198 whenever(view.hasWindowFocus()).thenReturn(true) in repeatWhenAttached_gainsFocusButInvisible_CREATED() 218 whenever(view.hasWindowFocus()).thenReturn(true) in repeatWhenAttached_becomesVisibleAndGainsFocus_RESUMED()
|
/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/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/tests/coretests/src/android/view/ |
D | ImeInsetsSourceConsumerTest.java | 202 private void verifyImeGetAndClearSkipAnimationOnce(boolean hasWindowFocus, boolean hasViewFocus, in verifyImeGetAndClearSkipAnimationOnce() argument 206 mImeConsumer.onWindowFocusGained(hasWindowFocus); in verifyImeGetAndClearSkipAnimationOnce() 207 final boolean imeVisible = hasWindowFocus && hasViewFocus; in verifyImeGetAndClearSkipAnimationOnce()
|
D | ViewInputConnectionTest.java | 89 PollingCheck.waitFor(5 * DateUtils.SECOND_IN_MILLIS, mActivity::hasWindowFocus); in before() 90 assertTrue(mActivity.hasWindowFocus()); in before()
|
D | ViewRootImplTest.java | 391 assertThat(mView.hasWindowFocus()).isFalse(); in whenDispatchFakeFocus_focusDoesNotPersist() 396 assertThat(mView.hasWindowFocus()).isFalse(); in whenDispatchFakeFocus_focusDoesNotPersist()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPasswordView.java | 314 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 315 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 316 if (hasWindowFocus) { in onWindowFocusChanged()
|
/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/tests/inputmethod/ConcurrentMultiSessionImeTest/src/com/android/server/inputmethod/multisessiontest/ |
D | MainActivity.java | 91 mEditor.isFocused(), mEditor.hasWindowFocus())); in showMyImeAndWait()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | FloatingActionMode.java | 273 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 274 mFloatingToolbarVisibilityHelper.setWindowFocused(hasWindowFocus); in onWindowFocusChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/ |
D | RepeatWhenAttached.kt | 190 !view.hasWindowFocus() -> Lifecycle.State.STARTED in updateState()
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | ImeStressTestUtil.java | 195 .that(callOnMainSync(view::hasWindowFocus)) in waitOnMainUntilWindowGainsFocus() 226 .that(callOnMainSync(view::hasWindowFocus)) in verifyWindowNeverGainsFocus()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodDebug.java | 350 sb.append(",windowFocus=" + view.hasWindowFocus()); in dumpViewInfo()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1760 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 1761 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 1765 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && !hasWindowFocus in onWindowFocusChanged() 1772 cb.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 1776 mPrimaryActionMode.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 1779 mFloatingActionMode.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 2222 elevation = hasWindowFocus() ? in updateElevation()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewProvider.java | 437 public void onWindowFocusChanged(boolean hasWindowFocus); in onWindowFocusChanged() argument
|
D | WebView.java | 2982 public void onWindowFocusChanged(boolean hasWindowFocus) { in onWindowFocusChanged() argument 2983 mProvider.getViewDelegate().onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged() 2984 super.onWindowFocusChanged(hasWindowFocus); in onWindowFocusChanged()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvView.java | 235 if (hasWindowFocus() && mSession != null) { in setMain() 1401 if (hasWindowFocus() && TvView.this == sMainTvView.get() in onSessionCreated()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodManager.java | 807 return servedView.hasWindowFocus() || isAutofillUIShowing(servedView); in canStartInput() 2519 final boolean isFocusedAndWindowFocused = view.hasWindowFocus() && view.isFocused(); in hideSoftInputFromView() 3568 if (!view.hasImeFocus() || !view.hasWindowFocus()) { in onViewFocusChangedInternal()
|