Home
last modified time | relevance | path

Searched refs:isAttachedToWindow (Results 1 – 25 of 118) sorted by relevance

12345

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/
H A DRepeatWhenAttachedTest.kt110 whenever(view.isAttachedToWindow).thenReturn(false)
114 whenever(view.isAttachedToWindow).thenReturn(true)
125 whenever(view.isAttachedToWindow).thenReturn(true)
137 whenever(view.isAttachedToWindow).thenReturn(true)
150 whenever(view.isAttachedToWindow).thenReturn(true)
163 whenever(view.isAttachedToWindow).thenReturn(true)
177 whenever(view.isAttachedToWindow).thenReturn(true)
193 whenever(view.isAttachedToWindow).thenReturn(true)
209 whenever(view.isAttachedToWindow).thenReturn(true)
229 whenever(view.isAttachedToWindow).thenReturn(true)
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DViewController.java79 if (isAttachedToWindow()) { in init()
101 public boolean isAttachedToWindow() { in isAttachedToWindow() method in ViewController
102 return mView != null && mView.isAttachedToWindow(); in isAttachedToWindow()
H A DWallpaperController.kt68 if (root.isAttachedToWindow && root.windowToken != null) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/
H A DLongPressHandlingViewInteractionHandler.kt31 private val isAttachedToWindow: () -> Boolean,
114 if (!isAttachedToWindow()) {
126 if (!isAttachedToWindow()) {
H A DLongPressHandlingView.kt71 isAttachedToWindow = ::isAttachedToWindow,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
H A DClipboardOverlayWindow.java115 if (decorView != null && decorView.isAttachedToWindow()) { in remove()
126 if (decorView.isAttachedToWindow()) { in withWindowAttached()
147 if (decorView.isAttachedToWindow()) { in attach()
170 if (decorView != null && decorView.isAttachedToWindow()) { in setWindowFocusable()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/
H A DLongPressHandlingViewInteractionHandlerTest.kt53 private var isAttachedToWindow: Boolean = true
67 isAttachedToWindow = { isAttachedToWindow },
110 isAttachedToWindow = false
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/touch/
H A DTouchInsetManagerTest.java71 when(view.isAttachedToWindow()).thenReturn(false); in testViewOnAttachedHandling()
83 when(view.isAttachedToWindow()).thenReturn(true); in testViewOnAttachedHandling()
101 when(view.isAttachedToWindow()).thenReturn(true); in testViewOnDetachedHandling()
112 when(view.isAttachedToWindow()).thenReturn(false); in testViewOnDetachedHandling()
241 when(view.isAttachedToWindow()).thenReturn(true); in createView()
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DViewRootSync.kt19 !view.isAttachedToWindow ||
21 !otherView.isAttachedToWindow ||
/aosp14/frameworks/base/core/java/android/view/
H A DViewRootRectTracker.java58 if (v == null || !v.isAttachedToWindow() || !v.isAggregatedVisible()) { in updateRectsForView()
69 if (!found && view.isAttachedToWindow()) { in updateRectsForView()
175 if (view == null || !view.isAttachedToWindow() in update()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DAdminSecondaryLockScreenController.java71 if (mView.isAttachedToWindow() && mClient != null) {
178 if (!mView.isAttachedToWindow()) { in show()
196 if (mView.isAttachedToWindow()) { in hide()
227 if (mView.isAttachedToWindow() && userId == KeyguardUpdateMonitor.getCurrentUser()) { in dismiss()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
H A DNearestTouchFrameTest.java117 when(left.isAttachedToWindow()).thenReturn(false); in testNearestView_DetachedViewsExcluded()
199 when(view.isAttachedToWindow()).thenReturn(false); in testViewNotAttachedNoCrash()
214 when(view2.isAttachedToWindow()).thenReturn(false); in testViewMiddleChildNotAttachedCrash()
268 when(v.isAttachedToWindow()).thenReturn(true); in mockViewAt()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DNearestTouchFrame.java110 .filter(View::isAttachedToWindow)
117 if (!child.isAttachedToWindow()) {
214 .filter(View::isAttachedToWindow)
H A DContextualButtonGroup.java138 pw.println(" attached(): " + (view != null && view.isAttachedToWindow())); in dump()
145 + " attached=" + (view != null && view.isAttachedToWindow()) in dump()
H A DRotationContextButton.java77 return currentView != null && currentView.isAttachedToWindow(); in acceptRotationProposal()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/
H A DRegionSamplingHelper.java192 && (mSampledView.isAttachedToWindow() || mFirstSamplingAfterStart); in updateSamplingListener()
304 pw.println(prefix + "\tsampleView isAttached: " + mSampledView.isAttachedToWindow());
305 pw.println(prefix + "\tsampleView isScValid: " + (mSampledView.isAttachedToWindow()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DWallpaperControllerTest.kt72 `when`(root.isAttachedToWindow).thenReturn(true)
126 `when`(root.isAttachedToWindow).thenReturn(false)
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
H A DViewRippler.java50 if (!mRoot.isAttachedToWindow()) return;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthContainerView.java588 if (!v.isAttachedToWindow()) { in getJankListener()
598 if (!v.isAttachedToWindow()) { in getJankListener()
607 if (!v.isAttachedToWindow()) { in getJankListener()
714 if (mCredentialView != null && mCredentialView.isAttachedToWindow()) {
842 if (isAttachedToWindow() && getRootWindowInsets().isVisible(WindowInsets.Type.ime())) {
897 if (isAttachedToWindow()) {
951 pw.println(" isAttachedToWindow=" + isAttachedToWindow());
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/compose/
H A DComposeInitializerTest.kt42 assertThat(root.isAttachedToWindow).isTrue()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQuickStatusBarHeaderControllerTest.kt51 `when`(view.isAttachedToWindow).thenReturn(true)
/aosp14/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java162 final boolean addToOverlay = !view.isAttachedToWindow(); in createViewBitmap()
166 if (sceneRoot == null || !sceneRoot.isAttachedToWindow()) { in createViewBitmap()
/aosp14/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityRequestPreparer.java68 if (!view.isAttachedToWindow()) { in AccessibilityRequestPreparer()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthContainerViewTest.kt148 if (authContainer?.isAttachedToWindow == true) {
174 assertThat(root.isAttachedToWindow).isFalse()
189 assertThat(root.isAttachedToWindow).isFalse()
555 assertThat(isAttachedToWindow()).isTrue()
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
H A DOnBackAnimationCallbackExtension.kt100 if (isAttachedToWindow) {

12345