Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipScheduler.java155 public void scheduleAnimateResizePip(Rect toBounds) { in scheduleAnimateResizePip() argument
156 scheduleAnimateResizePip(toBounds, false /* configAtEnd */); in scheduleAnimateResizePip()
164 public void scheduleAnimateResizePip(Rect toBounds, boolean configAtEnd) { in scheduleAnimateResizePip() argument
169 wct.setBounds(mPipTransitionState.mPipTaskToken, toBounds); in scheduleAnimateResizePip()
199 public void scheduleUserResizePip(Rect toBounds) { in scheduleUserResizePip() argument
200 scheduleUserResizePip(toBounds, 0f /* degrees */); in scheduleUserResizePip()
209 public void scheduleUserResizePip(Rect toBounds, float degrees) { in scheduleUserResizePip() argument
210 if (toBounds.isEmpty()) { in scheduleUserResizePip()
220 final float scale = (float) toBounds.width() / mPipBoundsState.getBounds().width(); in scheduleUserResizePip()
223 transformTensor.postTranslate(toBounds.left, toBounds.top); in scheduleUserResizePip()
[all …]
DPipMotionHelper.java228 void movePip(Rect toBounds) { in movePip() argument
229 movePip(toBounds, false /* isDragging */); in movePip()
239 void movePip(Rect toBounds, boolean isDragging) { in movePip() argument
250 resizePipUnchecked(toBounds); in movePip()
251 mPipBoundsState.setBounds(toBounds); in movePip()
253 mPipBoundsState.getMotionBoundsState().setBoundsInMotion(toBounds); in movePip()
254 mPipScheduler.scheduleUserResizePip(toBounds); in movePip()
262 .spring(FloatProperties.RECT_X, toBounds.left, mCatchUpSpringConfig) in movePip()
263 .spring(FloatProperties.RECT_Y, toBounds.top, mCatchUpSpringConfig); in movePip()
265 startBoundsAnimator(toBounds.left /* toX */, toBounds.top /* toY */); in movePip()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/transitions/
DClockSizeTransition.kt93 toBounds: Rect, in <lambda>()
119 val toBounds = endValues.values[PROP_BOUNDS] as Rect in <lambda>() constant
131 mutateBounds(toView, fromIsVis, toIsVis, fromBounds, toBounds, fromSSBounds, toSSBounds) in <lambda>()
132 if (fromIsVis == toIsVis && fromBounds.equals(toBounds)) { in <lambda>()
139 "bounds: $fromBounds -> $toBounds; " in <lambda>()
150 lerp(fromBounds.left, toBounds.left, fract), in <lambda>()
151 lerp(fromBounds.top, toBounds.top, fract), in <lambda>()
152 lerp(fromBounds.right, toBounds.right, fract), in <lambda>()
153 lerp(fromBounds.bottom, toBounds.bottom, fract) in <lambda>()
176 "bounds: $fromBounds -> $toBounds; " in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMotionHelper.java233 void movePip(Rect toBounds) { in movePip() argument
234 movePip(toBounds, false /* isDragging */); in movePip()
244 void movePip(Rect toBounds, boolean isDragging) { in movePip() argument
255 resizePipUnchecked(toBounds); in movePip()
256 mPipBoundsState.setBounds(toBounds); in movePip()
258 mPipBoundsState.getMotionBoundsState().setBoundsInMotion(toBounds); in movePip()
259 mPipTaskOrganizer.scheduleUserResizePip(getBounds(), toBounds, in movePip() local
270 .spring(FloatProperties.RECT_X, toBounds.left, mCatchUpSpringConfig) in movePip()
271 .spring(FloatProperties.RECT_Y, toBounds.top, mCatchUpSpringConfig); in movePip()
273 startBoundsAnimator(toBounds.left /* toX */, toBounds.top /* toY */); in movePip()
[all …]
DPipController.java1084 private void updateMovementBounds(@Nullable Rect toBounds, boolean fromRotation, in updateMovementBounds() argument
1089 final Rect outBounds = new Rect(toBounds); in updateMovementBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTaskOrganizer.java1420 public void scheduleAnimateResizePip(Rect toBounds, int duration, in scheduleAnimateResizePip() argument
1422 scheduleAnimateResizePip(toBounds, duration, TRANSITION_DIRECTION_NONE, in scheduleAnimateResizePip()
1429 public void scheduleAnimateResizePip(Rect toBounds, int duration, in scheduleAnimateResizePip() argument
1437 scheduleAnimateResizePip(mPipBoundsState.getBounds(), toBounds, 0 /* startingAngle */, in scheduleAnimateResizePip() local
1447 public void scheduleAnimateResizePip(Rect fromBounds, Rect toBounds, int duration, in scheduleAnimateResizePip() argument
1456 scheduleAnimateResizePip(fromBounds, toBounds, duration, startingAngle, in scheduleAnimateResizePip()
1460 private void scheduleAnimateResizePip(Rect fromBounds, Rect toBounds, int duration, in scheduleAnimateResizePip() argument
1467 scheduleAnimateResizePip(fromBounds, toBounds, startingAngle, null /* sourceHintRect */, in scheduleAnimateResizePip()
1499 public void scheduleResizePip(Rect toBounds, Consumer<Rect> updateBoundsCallback) { in scheduleResizePip() argument
1506 mPipBoundsState.setBounds(toBounds); in scheduleResizePip()
[all …]
DPipSurfaceTransactionHelper.java240 Rect fromBounds, Rect toBounds) { in round() argument
242 / Math.hypot(toBounds.width(), toBounds.height())); in round()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java156 private float getScaledCornerRadius(Rect fromBounds, Rect toBounds) { in getScaledCornerRadius() argument
158 / Math.hypot(toBounds.width(), toBounds.height())); in getScaledCornerRadius()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/
DPipSurfaceTransactionHelper.java237 Rect fromBounds, Rect toBounds) { in round() argument
239 / Math.hypot(toBounds.width(), toBounds.height())); in round()