Home
last modified time | relevance | path

Searched refs:TRANSITION (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAnimatingActivityRegistryTest.java24 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
75 assertTrue(activity1.isAnimating(TRANSITION)); in testDeferring()
76 assertTrue(activity2.isAnimating(TRANSITION)); in testDeferring()
98 assertTrue(window1.isAnimating(TRANSITION)); in testContainerRemoved()
99 assertTrue(window2.isAnimating(TRANSITION)); in testContainerRemoved()
DWindowContainerTests.java49 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
370 assertFalse(root.isAnimating(TRANSITION)); in testIsAnimating_TransitionFlag()
371 assertTrue(child1.isAnimating(TRANSITION)); in testIsAnimating_TransitionFlag()
420 assertFalse(root.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
421 assertTrue(child1.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
422 assertTrue(child11.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
423 assertTrue(child12.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
424 assertFalse(child2.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
425 assertFalse(child21.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
427 assertTrue(root.isAnimating(TRANSITION | CHILDREN)); in testIsAnimating_combineFlags()
[all …]
DRootTaskTests.java56 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
199 eq(TRANSITION | CHILDREN), anyInt()); in testRemoveContainer_deferRemoval()
DDisplayContentTests.java83 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
1938 doReturn(true).when(appWin1).isAnimating(PARENTS | TRANSITION, in testAttachAndShowImeScreenshotOnTarget()
2227 doReturn(true).when(nextImeAppTarget).isAnimating(PARENTS | TRANSITION, in testImeMenuDialogFocusWhenImeLayeringTargetChanges()
/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java20 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
94 if (w.isAnimating(TRANSITION | PARENTS)) { in getPreferredModeId()
128 if (w.isAnimating(TRANSITION | PARENTS)) { in getPreferredRefreshRate()
163 if (w.isAnimating(TRANSITION | PARENTS)) { in getPreferredMinRefreshRate()
173 if (w.isAnimating(TRANSITION | PARENTS)) { in getPreferredMaxRefreshRate()
DWindowAnimator.java25 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
190 final boolean rootAnimating = root.isAnimating(TRANSITION | CHILDREN /* flags */, in animate()
202 root.isAnimating(TRANSITION | CHILDREN /* flags */, in animate()
DWallpaperController.java27 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
129 && !w.mActivityRecord.isAnimating(TRANSITION | PARENTS)) {
154 && animatingContainer.isAnimating(TRANSITION | PARENTS)
191 if (w == mWallpaperTarget && w.isAnimating(TRANSITION | PARENTS)) {
258 return mWallpaperTarget != null && mWallpaperTarget.isAnimating(TRANSITION | PARENTS) in isWallpaperTargetAnimating()
DWindowState.java141 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
1165 if (isAnimating(PARENTS | TRANSITION, ANIMATION_TYPE_ALL)) { in getTouchOcclusionMode()
1837 || (isAnimating(TRANSITION | PARENTS) in hasContentToDisplay()
1913 || mActivityRecord.isAnimating(TRANSITION | PARENTS)) && isVisible(); in isWinVisibleLw()
1959 || isAnimating(TRANSITION | PARENTS)); in isOnScreen()
1965 return !isParentWindowHidden() || isAnimating(TRANSITION | PARENTS); in isOnScreen()
2013 && (parentAndClientVisible || isAnimating(TRANSITION | PARENTS)); in isReadyForDisplay()
2048 || isAnimating(TRANSITION | PARENTS)); in isDisplayed()
2056 return isAnimating(TRANSITION | PARENTS); in isAnimatingLw()
2107 && isDrawn() && !isAnimating(TRANSITION | PARENTS); in isOpaqueDrawn()
[all …]
DWindowToken.java29 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
250 final boolean delayed = isAnimating(TRANSITION | PARENTS | CHILDREN); in setExiting()
526 if (r != null && r.isAnimating(TRANSITION | PARENTS)) { in hasAnimatingFixedRotationTransition()
DWindowStateAnimator.java35 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
299 if (!mWin.mActivityRecord.isAnimating(TRANSITION)) { in resetDrawState()
580 if (DEBUG_ANIM && mWin.isAnimating(TRANSITION | PARENTS)) { in prepareSurfaceLocked()
DWindowContainer.java48 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
223 int TRANSITION = 1; field
972 return getActivity(app -> app.isAnimating(PARENTS | TRANSITION)) != null; in isAppTransitioning()
2939 if ((flags & TRANSITION) != 0 && isWaitingForTransitionStart()) { in isSelfAnimating()
DDisplayContent.java122 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
742 && mImeLayeringTarget.isAnimating(PARENTS | TRANSITION,
1689 && prevRotatedLaunchingApp.isAnimating(TRANSITION | PARENTS)) { in setFixedRotationLaunchingApp()
2987 if (isAnimating(TRANSITION | PARENTS)) { in removeIfPossible()
3816 if (mImeLayeringTarget != null && mImeLayeringTarget.isAnimating(PARENTS | TRANSITION, in setImeLayeringTargetInner()
3952 && !mImeLayeringTarget.isAnimating(PARENTS | TRANSITION, in removeImeScreenshotIfPossible()
DActivityRecord.java210 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
2731 return (isAnimating(TRANSITION | PARENTS, ANIMATION_TYPE_APP_TRANSITION) in isClosingOrEnteringPip()
3593 boolean delayed = isAnimating(TRANSITION | PARENTS | CHILDREN, in onRemovedFromDisplay()
3607 isAnimating(TRANSITION | PARENTS, ANIMATION_TYPE_APP_TRANSITION)); in onRemovedFromDisplay()
3619 if (isAnimating(TRANSITION | PARENTS, ANIMATION_TYPE_APP_TRANSITION)) { in onRemovedFromDisplay()
6028 final boolean isAnimationSet = isAnimating(TRANSITION | PARENTS, in updateDrawnWindowStates()
DActivityTaskSupervisor.java82 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
1876 final boolean animating = s.isAnimating(TRANSITION | PARENTS, in processStoppingAndFinishingActivities()
DWindowManagerService.java113 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
2571 } else if (win.mDisplayContent.okToAnimate() && win.isAnimating(TRANSITION | PARENTS, in tryStartExitingAnimation()
8099 || mRoot.isAnimating(TRANSITION | CHILDREN, ANIMATION_TYPE_ALL); in waitForAnimationsToComplete()
8113 animatingContainer = mRoot.getAnimatingContainer(TRANSITION | CHILDREN, in waitForAnimationsToComplete()
DTask.java150 import static com.android.server.wm.WindowContainer.AnimationFlags.TRANSITION;
3207 return hasWindowsAlive() && getRootTask().isAnimating(TRANSITION | CHILDREN); in shouldDeferRemoval()
7748 if (isAnimating(TRANSITION | CHILDREN)) {