Home
last modified time | relevance | path

Searched refs:PARENTS (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java19 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
94 if (w.isAnimating(TRANSITION | PARENTS)) { in getPreferredModeId()
DWallpaperController.java27 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
130 && !w.mActivityRecord.isAnimating(TRANSITION | PARENTS)) {
150 && animatingContainer.isAnimating(TRANSITION | PARENTS)
188 if (w == mWallpaperTarget && w.isAnimating(TRANSITION | PARENTS)) {
252 return mWallpaperTarget != null && mWallpaperTarget.isAnimating(TRANSITION | PARENTS) in isWallpaperTargetAnimating()
DWindowState.java124 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
1660 || (isAnimating(TRANSITION | PARENTS) in hasContentToDisplay()
1720 || mActivityRecord.isAnimating(TRANSITION | PARENTS)) && isVisible(); in isWinVisibleLw()
1766 || isAnimating(TRANSITION | PARENTS)); in isOnScreen()
1768 return !isParentWindowHidden() || isAnimating(TRANSITION | PARENTS); in isOnScreen()
1816 && (parentAndClientVisible || isAnimating(TRANSITION | PARENTS)); in isReadyForDisplay()
1852 || isAnimating(TRANSITION | PARENTS)); in isDisplayedLw()
1860 return isAnimating(TRANSITION | PARENTS); in isAnimatingLw()
1910 && isDrawnLw() && !isAnimating(TRANSITION | PARENTS); in isOpaqueDrawn()
1963 if (!visible && isVisibleNow && mActivityRecord.isAnimating(PARENTS | TRANSITION)) { in onAppVisibilityChanged()
[all …]
DWindowToken.java31 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
284 final boolean delayed = isAnimating(TRANSITION | PARENTS | CHILDREN); in setExiting()
576 if (r != null && r.isAnimating(TRANSITION | PARENTS)) { in hasAnimatingFixedRotationTransition()
DWindowContainer.java42 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
222 int PARENTS = 2; field
926 return getActivity(app -> app.isAnimating(PARENTS | TRANSITION)) != null; in isAppTransitioning()
2483 if ((flags & PARENTS) != 0) { in getAnimatingContainer()
2495 flags & ~PARENTS, typesToCheck); in getAnimatingContainer()
2525 return getAnimatingContainer(PARENTS, ANIMATION_TYPE_ALL); in getAnimatingContainer()
DActivityRecord.java199 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
2362 return (isAnimating(TRANSITION | PARENTS) && !mVisibleRequested) || mWillCloseOrEnterPip; in isClosingOrEnteringPip()
3197 boolean delayed = isAnimating(TRANSITION | PARENTS | CHILDREN); in onRemovedFromDisplay()
3207 getAnimation(), isAnimating(TRANSITION | PARENTS)); in onRemovedFromDisplay()
3219 if (isAnimating(TRANSITION | PARENTS)) { in onRemovedFromDisplay()
3566 return allDrawn && !(isAnimating(PARENTS) && hasNonDefaultColorWindow()); in canShowWindows()
4229 mChildren.get(i).onAppVisibilityChanged(visible, isAnimating(PARENTS)); in commitVisibility()
4272 final boolean delayed = isAnimating(PARENTS | CHILDREN); in postApplyAnimation()
4292 if (visible || !isAnimating(PARENTS)) { in postApplyAnimation()
5509 + ", isAnimationSet=" + isAnimating(TRANSITION | PARENTS)); in updateDrawnWindowStates()
[all …]
DWindowStateAnimator.java41 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
1217 if (DEBUG_ANIM && mWin.isAnimating(TRANSITION | PARENTS)) { in prepareSurfaceLocked()
1481 return mWin.isAnimating(PARENTS); in applyAnimationLocked()
DAppTransitionController.java53 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
543 final WindowContainer wc = app.getAnimatingContainer(PARENTS, in handleOpeningApps()
DDisplayContent.java107 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
1569 && prevRotatedLaunchingApp.isAnimating(TRANSITION | PARENTS)) { in setFixedRotationLaunchingApp()
2747 if (isAnimating(TRANSITION | PARENTS)) { in removeIfPossible()
3471 if (activity.isAnimating(PARENTS | TRANSITION)) { in computeImeTarget()
3478 + highestTarget.isAnimating(TRANSITION | PARENTS)); in computeImeTarget()
DActivityStackSupervisor.java82 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
1821 final boolean animating = s.isAnimating(TRANSITION | PARENTS, in processStoppingAndFinishingActivities()
DWindowManagerService.java102 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
2482 } else if (win.isAnimating(TRANSITION | PARENTS)) { in tryStartExitingAnimation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java44 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
379 assertFalse(child1.isAnimating(PARENTS)); in testIsAnimating_ParentsFlag()
381 assertTrue(child2.isAnimating(PARENTS)); in testIsAnimating_ParentsFlag()
383 assertTrue(child21.isAnimating(PARENTS)); in testIsAnimating_ParentsFlag()
415 assertFalse(root.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
416 assertTrue(child1.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
417 assertTrue(child11.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
418 assertTrue(child12.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
419 assertFalse(child2.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
420 assertFalse(child21.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
[all …]
DDisplayContentTests.java1135 assertTrue(mStatusBarWindow.getParent().isAnimating(WindowContainer.AnimationFlags.PARENTS, in testApplyTopFixedRotationTransform()
1137 assertTrue(mNavBarWindow.getParent().isAnimating(WindowContainer.AnimationFlags.PARENTS, in testApplyTopFixedRotationTransform()