Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java52 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
428 assertFalse(child1.isAnimating(PARENTS)); in testIsAnimating_ParentsFlag()
430 assertTrue(child2.isAnimating(PARENTS)); in testIsAnimating_ParentsFlag()
432 assertTrue(child21.isAnimating(PARENTS)); in testIsAnimating_ParentsFlag()
464 assertFalse(root.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
465 assertTrue(child1.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
466 assertTrue(child11.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
467 assertTrue(child12.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
468 assertFalse(child2.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
469 assertFalse(child21.isAnimating(TRANSITION | PARENTS)); in testIsAnimating_combineFlags()
[all …]
DDisplayContentTests.java83 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
1559 assertTrue(statusBar.isAnimating(PARENTS, ANIMATION_TYPE_TOKEN_TRANSFORM)); in testHybridRotationAnimation()
1614 assertTrue(mStatusBarWindow.isAnimating(PARENTS, ANIMATION_TYPE_TOKEN_TRANSFORM)); in testApplyTopFixedRotationTransform()
1615 assertTrue(mNavBarWindow.isAnimating(PARENTS, ANIMATION_TYPE_TOKEN_TRANSFORM)); in testApplyTopFixedRotationTransform()
1617 assertFalse(mNotificationShadeWindow.isAnimating(PARENTS, ANIMATION_TYPE_TOKEN_TRANSFORM)); in testApplyTopFixedRotationTransform()
1688 assertTrue(mImeWindow.isAnimating(PARENTS, ANIMATION_TYPE_TOKEN_TRANSFORM)); in testApplyTopFixedRotationTransform()
/frameworks/base/services/core/java/com/android/server/wm/
DWallpaperController.java29 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
131 && !w.mActivityRecord.isAnimating(TRANSITION | PARENTS)) {
152 && animatingContainer.isAnimating(TRANSITION | PARENTS)
191 if (w == mWallpaperTarget && w.isAnimating(TRANSITION | PARENTS)) {
312 return mWallpaperTarget != null && mWallpaperTarget.isAnimating(TRANSITION | PARENTS) in isWallpaperTargetAnimating()
DWindowState.java130 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
1210 if (isAnimating(PARENTS | TRANSITION, ANIMATION_TYPE_ALL) || inTransition()) { in getTouchOcclusionMode()
1764 || (isAnimating(TRANSITION | PARENTS) in hasContentToDisplay()
1921 return !isParentWindowHidden() || isAnimating(TRANSITION | PARENTS); in isOnScreen()
1980 && (parentAndClientVisible || isAnimating(TRANSITION | PARENTS)); in isReadyForDisplay()
2024 return isAnimating(TRANSITION | PARENTS); in isAnimatingLw()
2075 && isDrawn() && !isAnimating(TRANSITION | PARENTS); in isOpaqueDrawn()
2136 if (!visible && isVisibleNow && mActivityRecord.isAnimating(PARENTS | TRANSITION)) { in onAppVisibilityChanged()
2435 isAnimating(TRANSITION | PARENTS), in removeIfPossible()
2436 mActivityRecord != null && mActivityRecord.isAnimating(PARENTS | TRANSITION), in removeIfPossible()
[all …]
DAppTransitionController.java73 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
200 if (!activity.isAnimating(PARENTS, ANIMATION_TYPE_RECENTS)) { in handleAppTransitionReady()
1171 final WindowContainer wc = app.getAnimatingContainer(PARENTS, in handleOpeningApps()
DWindowContainer.java55 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
263 int PARENTS = 2; field
1234 return getActivity(app -> app.isAnimating(PARENTS | TRANSITION)) != null; in isAppTransitioning()
1244 return isAnimating(PARENTS | TRANSITION, in inTransitionSelfOrParent()
3532 if ((flags & PARENTS) != 0) { in getAnimatingContainer()
3544 flags & ~PARENTS, typesToCheck); in getAnimatingContainer()
3574 return getAnimatingContainer(PARENTS, ANIMATION_TYPE_ALL); in getAnimatingContainer()
DActivityRecord.java256 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
4510 boolean delayed = isAnimating(TRANSITION | PARENTS | CHILDREN, in onRemovedFromDisplay()
4534 isAnimating(TRANSITION | PARENTS, ANIMATION_TYPE_APP_TRANSITION)); in onRemovedFromDisplay()
4546 if (isAnimating(TRANSITION | PARENTS, ANIMATION_TYPE_APP_TRANSITION)) { in onRemovedFromDisplay()
5701 if (isActivityTypeHome() || !isAnimating(PARENTS, ANIMATION_TYPE_RECENTS)) { in deferCommitVisibilityChange()
5781 : isAnimating(PARENTS, ANIMATION_TYPE_APP_TRANSITION); in commitVisibility()
5856 final boolean delayed = !usingShellTransitions && isAnimating(PARENTS | CHILDREN, in postApplyAnimation()
5880 PARENTS, ANIMATION_TYPE_APP_TRANSITION | ANIMATION_TYPE_RECENTS)))) { in postApplyAnimation()
7201 final boolean isAnimationSet = isAnimating(TRANSITION | PARENTS, in updateDrawnWindowStates()
7848 || isAnimating(PARENTS, ANIMATION_TYPE_APP_TRANSITION | ANIMATION_TYPE_RECENTS in prepareSurfaces()
[all …]
DTransition.java72 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
1387 && !ar.isAnimating(PARENTS, ANIMATION_TYPE_PREDICT_BACK)) { in finishTransition()
DDisplayContent.java136 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
3311 return isAnimating(TRANSITION | PARENTS) in shouldDeferRemoval()
DTask.java116 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
3326 final boolean show = visible || isAnimating(TRANSITION | PARENTS | CHILDREN);
DWindowManagerService.java134 import static com.android.server.wm.WindowContainer.AnimationFlags.PARENTS;
2777 } else if (win.isAnimating(PARENTS | TRANSITION, in tryStartExitingAnimation()