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.java137 void movePip(Rect toBounds) { in movePip() argument
139 resizePipUnchecked(toBounds); in movePip()
140 mBounds.set(toBounds); in movePip()
200 Rect toBounds = mSnapAlgorithm.findClosestSnapBounds(movementBounds, stackBounds); in getClosestMinimizedBounds() local
201 mSnapAlgorithm.applyMinimizedOffset(toBounds, movementBounds, displaySize, mStableInsets); in getClosestMinimizedBounds()
202 return toBounds; in getClosestMinimizedBounds()
246 Rect toBounds = mSnapAlgorithm.findClosestSnapBounds(movementBounds, mBounds, in flingToMinimizedState() local
248 if (!mBounds.equals(toBounds)) { in flingToMinimizedState()
249 mBoundsAnimator = createAnimationToBounds(mBounds, toBounds, 0, FAST_OUT_SLOW_IN); in flingToMinimizedState()
251 distanceBetweenRectOffsets(mBounds, toBounds), in flingToMinimizedState()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedStackWindowController.java79 public void animateResizePinnedStack(Rect toBounds, Rect sourceHintBounds, in animateResizePinnedStack() argument
93 final boolean toFullscreen = toBounds == null; in animateResizePinnedStack()
105 toBounds = new Rect(mTmpToBounds); in animateResizePinnedStack()
108 toBounds = new Rect(); in animateResizePinnedStack()
109 mContainer.getDisplayContent().getBounds(toBounds); in animateResizePinnedStack()
115 mContainer.setAnimationFinalBounds(sourceHintBounds, toBounds, toFullscreen); in animateResizePinnedStack()
117 final Rect finalToBounds = toBounds; in animateResizePinnedStack()
/frameworks/base/services/core/java/com/android/server/am/
DPinnedActivityStack.java55 void animateResizePinnedStack(Rect sourceHintBounds, Rect toBounds, int animationDuration, in animateResizePinnedStack() argument
57 if (skipResizeAnimation(toBounds == null /* toFullscreen */)) { in animateResizePinnedStack()
60 getWindowContainerController().animateResizePinnedStack(toBounds, sourceHintBounds, in animateResizePinnedStack()