Home
last modified time | relevance | path

Searched refs:toBounds (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMotionHelper.java141 void movePip(Rect toBounds) { in movePip() argument
143 resizePipUnchecked(toBounds); in movePip()
144 mBounds.set(toBounds); in movePip()
206 Rect toBounds = mSnapAlgorithm.findClosestSnapBounds(movementBounds, stackBounds); in getClosestMinimizedBounds() local
207 mSnapAlgorithm.applyMinimizedOffset(toBounds, movementBounds, displaySize, mStableInsets); in getClosestMinimizedBounds()
208 return toBounds; in getClosestMinimizedBounds()
252 Rect toBounds = mSnapAlgorithm.findClosestSnapBounds(movementBounds, mBounds, in flingToMinimizedState() local
254 if (!mBounds.equals(toBounds)) { in flingToMinimizedState()
255 mBoundsAnimator = createAnimationToBounds(mBounds, toBounds, 0, FAST_OUT_SLOW_IN); in flingToMinimizedState()
257 distanceBetweenRectOffsets(mBounds, toBounds), in flingToMinimizedState()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java1701 void animateResizePinnedStack(Rect toBounds, Rect sourceHintBounds, in animateResizePinnedStack() argument
1713 final boolean toFullscreen = toBounds == null; in animateResizePinnedStack()
1725 toBounds = new Rect(mTmpToBounds); in animateResizePinnedStack()
1728 toBounds = new Rect(); in animateResizePinnedStack()
1729 getDisplayContent().getBounds(toBounds); in animateResizePinnedStack()
1735 setAnimationFinalBounds(sourceHintBounds, toBounds, toFullscreen); in animateResizePinnedStack()
1737 final Rect finalToBounds = toBounds; in animateResizePinnedStack()
1747 if (toBounds.width() == fromBounds.width() in animateResizePinnedStack()
1748 && toBounds.height() == fromBounds.height()) { in animateResizePinnedStack()
DActivityStack.java5640 void animateResizePinnedStack(Rect sourceHintBounds, Rect toBounds, int animationDuration, in animateResizePinnedStack() argument
5643 if (skipResizeAnimation(toBounds == null /* toFullscreen */)) { in animateResizePinnedStack()
5647 getTaskStack().animateResizePinnedStack(toBounds, sourceHintBounds, in animateResizePinnedStack()