/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/ |
H A D | RepeatWhenAttachedTest.kt | 110 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 D | ViewController.java | 79 if (isAttachedToWindow()) { in init() 101 public boolean isAttachedToWindow() { in isAttachedToWindow() method in ViewController 102 return mView != null && mView.isAttachedToWindow(); in isAttachedToWindow()
|
H A D | WallpaperController.kt | 68 if (root.isAttachedToWindow && root.windowToken != null) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/ |
H A D | LongPressHandlingViewInteractionHandler.kt | 31 private val isAttachedToWindow: () -> Boolean, 114 if (!isAttachedToWindow()) { 126 if (!isAttachedToWindow()) {
|
H A D | LongPressHandlingView.kt | 71 isAttachedToWindow = ::isAttachedToWindow,
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
H A D | ClipboardOverlayWindow.java | 115 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 D | LongPressHandlingViewInteractionHandlerTest.kt | 53 private var isAttachedToWindow: Boolean = true 67 isAttachedToWindow = { isAttachedToWindow }, 110 isAttachedToWindow = false
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/touch/ |
H A D | TouchInsetManagerTest.java | 71 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 D | ViewRootSync.kt | 19 !view.isAttachedToWindow || 21 !otherView.isAttachedToWindow ||
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | ViewRootRectTracker.java | 58 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 D | AdminSecondaryLockScreenController.java | 71 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 D | NearestTouchFrameTest.java | 117 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 D | NearestTouchFrame.java | 110 .filter(View::isAttachedToWindow) 117 if (!child.isAttachedToWindow()) { 214 .filter(View::isAttachedToWindow)
|
H A D | ContextualButtonGroup.java | 138 pw.println(" attached(): " + (view != null && view.isAttachedToWindow())); in dump() 145 + " attached=" + (view != null && view.isAttachedToWindow()) in dump()
|
H A D | RotationContextButton.java | 77 return currentView != null && currentView.isAttachedToWindow(); in acceptRotationProposal()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/ |
H A D | RegionSamplingHelper.java | 192 && (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 D | WallpaperControllerTest.kt | 72 `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 D | ViewRippler.java | 50 if (!mRoot.isAttachedToWindow()) return;
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | AuthContainerView.java | 588 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 D | ComposeInitializerTest.kt | 42 assertThat(root.isAttachedToWindow).isTrue()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
H A D | QuickStatusBarHeaderControllerTest.kt | 51 `when`(view.isAttachedToWindow).thenReturn(true)
|
/aosp14/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 162 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 D | AccessibilityRequestPreparer.java | 68 if (!view.isAttachedToWindow()) { in AccessibilityRequestPreparer()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
H A D | AuthContainerViewTest.kt | 148 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 D | OnBackAnimationCallbackExtension.kt | 100 if (isAttachedToWindow) {
|