/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/ |
D | RepeatWhenAttachedTest.kt | 110 whenever(view.isAttachedToWindow).thenReturn(false) in repeatWhenAttached_viewStartsDetached_runsBlockWhenAttached() 114 whenever(view.isAttachedToWindow).thenReturn(true) in repeatWhenAttached_viewStartsDetached_runsBlockWhenAttached() 125 whenever(view.isAttachedToWindow).thenReturn(true) in repeatWhenAttached_viewAlreadyAttached_immediatelyRunsBlock() 137 whenever(view.isAttachedToWindow).thenReturn(true) in repeatWhenAttached_startsVisibleWithoutFocus_STARTED() 150 whenever(view.isAttachedToWindow).thenReturn(true) in repeatWhenAttached_startsWithFocusButInvisible_CREATED() 163 whenever(view.isAttachedToWindow).thenReturn(true) in repeatWhenAttached_startsVisibleAndWithFocus_RESUMED() 177 whenever(view.isAttachedToWindow).thenReturn(true) in repeatWhenAttached_becomesVisibleWithoutFocus_STARTED() 193 whenever(view.isAttachedToWindow).thenReturn(true) in repeatWhenAttached_gainsFocusButInvisible_CREATED() 209 whenever(view.isAttachedToWindow).thenReturn(true) in repeatWhenAttached_becomesVisibleAndGainsFocus_RESUMED() 229 whenever(view.isAttachedToWindow).thenReturn(true) in repeatWhenAttached_viewGetsDetached_destroysTheLifecycle() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
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()
|
D | WallpaperController.kt | 68 if (root.isAttachedToWindow && root.windowToken != null) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/ |
D | LongPressHandlingViewInteractionHandler.kt | 31 private val isAttachedToWindow: () -> Boolean, constant in com.android.systemui.common.ui.view.LongPressHandlingViewInteractionHandler 116 if (!isAttachedToWindow()) { in dispatchLongPress() 128 if (!isAttachedToWindow()) { in dispatchSingleTap()
|
D | LongPressHandlingView.kt | 79 isAttachedToWindow = ::isAttachedToWindow, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/ |
D | LongPressHandlingViewInteractionHandlerTest.kt | 53 private var isAttachedToWindow: Boolean = true in <lambda>() variable in com.android.systemui.common.ui.view.LongPressHandlingViewInteractionHandlerTest 67 isAttachedToWindow = { isAttachedToWindow }, in <lambda>() 111 isAttachedToWindow = false in <lambda>()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | ViewRootSync.kt | 19 !view.isAttachedToWindow || in synchronizeNextDraw() 21 !otherView.isAttachedToWindow || in synchronizeNextDraw()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/touch/ |
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()
|
/frameworks/base/core/java/android/view/ |
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()
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/ |
D | LayoutValidator.java | 107 if (!sPaused && view.isAttachedToWindow()) { in validate() 132 if (!sPaused && view.isAttachedToWindow()) { in buildHierarchy()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | AdminSecondaryLockScreenController.java | 73 if (mView.isAttachedToWindow() && mClient != null) { 181 if (!mView.isAttachedToWindow()) { in show() 199 if (mView.isAttachedToWindow()) { in hide() 230 if (mView.isAttachedToWindow() && userId == mSelectedUserInteractor.getSelectedUserId()) { in dismiss()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | NearestTouchFrame.java | 110 .filter(View::isAttachedToWindow) 117 if (!child.isAttachedToWindow()) { 214 .filter(View::isAttachedToWindow)
|
D | ContextualButtonGroup.java | 138 pw.println(" attached(): " + (view != null && view.isAttachedToWindow())); in dump() 145 + " attached=" + (view != null && view.isAttachedToWindow()) in dump()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | WallpaperControllerTest.kt | 66 `when`(root.isAttachedToWindow).thenReturn(true) in setup() 118 `when`(root.isAttachedToWindow).thenReturn(false) in setNotificationZoom_invalidWindow_doesNotSetZoom()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/ |
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()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | ViewRippler.java | 50 if (!mRoot.isAttachedToWindow()) return;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/compose/ |
D | ComposeInitializerTest.kt | 38 assertThat(root.isAttachedToWindow).isTrue() in testCanAddComposeViewInInitializedWindow()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRequestPreparer.java | 68 if (!view.isAttachedToWindow()) { in AccessibilityRequestPreparer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QuickStatusBarHeaderControllerTest.kt | 51 `when`(view.isAttachedToWindow).thenReturn(true) in setUp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TrustedOverlayTests.java | 115 if (rootView.isAttachedToWindow()) { in setSpyWindowDoesntCrash() 160 if (rootView.isAttachedToWindow()) { in testTrustedOverlayChildHelper()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/ |
D | OnBackAnimationCallbackExtension.kt | 100 if (isAttachedToWindow) { in registerOnBackInvokedCallbackOnViewAttached()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotViewProxy.kt | 39 val isAttachedToWindow: Boolean constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthContainerView.java | 604 if (!v.isAttachedToWindow()) { in getJankListener() 614 if (!v.isAttachedToWindow()) { in getJankListener() 623 if (!v.isAttachedToWindow()) { in getJankListener() 772 if (mCredentialView != null && mCredentialView.isAttachedToWindow()) { 885 if (isAttachedToWindow() && getRootWindowInsets().isVisible(WindowInsets.Type.ime())) { 944 if (isAttachedToWindow()) { 998 pw.println(" isAttachedToWindow=" + isAttachedToWindow());
|