Home
last modified time | relevance | path

Searched refs:startBounds (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/view/
DRemoteAnimationTarget.java178 public final Rect startBounds; field in RemoteAnimationTarget
209 SurfaceControl startLeash, Rect startBounds, ActivityManager.RunningTaskInfo taskInfo) { in RemoteAnimationTarget() argument
212 startBounds, taskInfo, INVALID_WINDOW_TYPE); in RemoteAnimationTarget()
219 SurfaceControl startLeash, Rect startBounds, in RemoteAnimationTarget() argument
236 this.startBounds = startBounds == null ? null : new Rect(startBounds); in RemoteAnimationTarget()
256 startBounds = in.readTypedObject(Rect.CREATOR); in RemoteAnimationTarget()
282 dest.writeTypedObject(startBounds, 0 /* flags */); in writeToParcel()
322 if (startBounds != null) { in dumpDebug()
323 startBounds.dumpDebug(proto, START_BOUNDS); in dumpDebug()
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceFreezer.java74 void freeze(SurfaceControl.Transaction t, Rect startBounds) { in freeze() argument
75 mFreezeBounds.set(startBounds); in freeze()
78 t, ANIMATION_TYPE_SCREEN_ROTATION, startBounds.width(), startBounds.height(), in freeze()
79 startBounds.left, startBounds.top, false /* hidden */, in freeze()
86 freezeTarget, startBounds); in freeze()
DTaskPositioner.java333 final Rect startBounds = mTmpRect; in startDrag() local
334 mTask.getBounds(startBounds); in startDrag()
342 if (startX < startBounds.left) { in startDrag()
345 if (startX > startBounds.right) { in startDrag()
348 if (startY < startBounds.top) { in startDrag()
351 if (startY > startBounds.bottom) { in startDrag()
361 mStartOrientationWasLandscape = startBounds.width() >= startBounds.height(); in startDrag()
362 mWindowOriginalBounds.set(startBounds); in startDrag()
374 mTask.mTaskId, startBounds, RESIZE_MODE_USER_FORCED); in startDrag()
380 mWindowDragBounds.set(startBounds); in startDrag()
DRemoteAnimationController.java95 Point position, Rect localBounds, Rect stackBounds, Rect startBounds) { in createRemoteAnimationRecord() argument
99 localBounds, stackBounds, startBounds); in createRemoteAnimationRecord()
401 Rect endBounds, Rect startBounds) {
403 if (startBounds != null) {
404 mStartBounds = new Rect(startBounds);
407 mTmpRect.set(startBounds);
457 Rect localBounds, Rect rootTaskBounds, Rect startBounds) {
462 mStartBounds.set(startBounds);
DWindowChangeAnimationSpec.java58 public WindowChangeAnimationSpec(Rect startBounds, Rect endBounds, DisplayInfo displayInfo, in WindowChangeAnimationSpec() argument
60 mStartBounds = new Rect(startBounds); in WindowChangeAnimationSpec()
DTask.java2384 private void initializeChangeTransition(Rect startBounds) { in initializeChangeTransition() argument
2388 mSurfaceFreezer.freeze(getPendingTransaction(), startBounds); in initializeChangeTransition() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenTransitions.java127 final Rect startBounds = new Rect(change.getStartAbsBounds()); in playInternalAnimation() local
131 startBounds.offsetTo(change.getEndAbsBounds().left, in playInternalAnimation()
135 startBounds.offset(-info.getRootOffset().x, -info.getRootOffset().y); in playInternalAnimation()
137 startExampleResizeAnimation(leash, startBounds, endBounds); in playInternalAnimation()
257 @NonNull Rect startBounds, @NonNull Rect endBounds) { in startExampleResizeAnimation() argument
264 (int) (startBounds.width() * (1.f - fraction) + endBounds.width() * fraction), in startExampleResizeAnimation()
265 (int) (startBounds.height() * (1.f - fraction) in startExampleResizeAnimation()
268 startBounds.left * (1.f - fraction) + endBounds.left * fraction, in startExampleResizeAnimation()
269 startBounds.top * (1.f - fraction) + endBounds.top * fraction); in startExampleResizeAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DLegacySplitScreenTransitions.java165 @NonNull Rect startBounds, @NonNull Rect endBounds) { in startExampleResizeAnimation() argument
172 (int) (startBounds.width() * (1.f - fraction) + endBounds.width() * fraction), in startExampleResizeAnimation()
173 (int) (startBounds.height() * (1.f - fraction) in startExampleResizeAnimation()
176 startBounds.left * (1.f - fraction) + endBounds.left * fraction, in startExampleResizeAnimation()
177 startBounds.top * (1.f - fraction) + endBounds.top * fraction); in startExampleResizeAnimation()
254 final Rect startBounds = new Rect(change.getStartAbsBounds()); in startAnimation() local
260 startBounds.offsetTo(0, 0); in startAnimation()
263 startBounds.offset(-info.getRootOffset().x, -info.getRootOffset().y); in startAnimation()
265 startExampleResizeAnimation(leash, startBounds, endBounds); in startAnimation()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipAnimationControllerTest.java138 final Rect startBounds = new Rect(200, 700, 400, 800); in pipTransitionAnimator_rotatedEndValue() local
142 .getAnimator(mTaskInfo, mLeash, null, startBounds, endBounds, null, in pipTransitionAnimator_rotatedEndValue()
152 startBounds.set(0, 0, 1000, 500); in pipTransitionAnimator_rotatedEndValue()
154 animator = mPipAnimationController.getAnimator(mTaskInfo, mLeash, startBounds, startBounds, in pipTransitionAnimator_rotatedEndValue()
158 rotateBounds(rotatedEndBounds, startBounds, ROTATION_270); in pipTransitionAnimator_rotatedEndValue()
/frameworks/base/core/java/android/transition/
DCrossfade.java176 Rect startBounds = (Rect) startVals.get(PROPNAME_BOUNDS); in createAnimator() local
238 if (mResizeBehavior == RESIZE_BEHAVIOR_SCALE && !startBounds.equals(endBounds)) { in createAnimator()
241 startBounds + ", " + endBounds); in createAnimator()
244 sRectEvaluator, startBounds, endBounds); in createAnimator()
250 sRectEvaluator, startBounds, endBounds); in createAnimator()
DChangeImageTransform.java144 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS); in createAnimator() local
148 if (startBounds == null || endBounds == null || startMatrix == null || endMatrix == null) { in createAnimator()
152 if (startBounds.equals(endBounds) && startMatrix.equals(endMatrix)) { in createAnimator()
DChangeBounds.java292 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS); in createAnimator() local
294 final int startLeft = startBounds.left; in createAnimator()
296 final int startTop = startBounds.top; in createAnimator()
298 final int startRight = startBounds.right; in createAnimator()
300 final int startBottom = startBounds.bottom; in createAnimator()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java130 final Rect startBounds = getEpicenterOrCenter(endBounds); in onAppear() local
131 final float startX = startBounds.centerX() - endBounds.centerX(); in onAppear()
132 final float startY = startBounds.centerY() - endBounds.centerY(); in onAppear()
166 final Rect startBounds = (Rect) endValues.values.get(PROPNAME_BOUNDS); in onDisappear() local
167 final Rect endBounds = getEpicenterOrCenter(startBounds); in onDisappear()
168 final float endX = endBounds.centerX() - startBounds.centerX(); in onDisappear()
169 final float endY = endBounds.centerY() - startBounds.centerY(); in onDisappear()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRemoteAnimationControllerTest.java308 assertEquals(new Rect(0, 0, 200, 200), app.startBounds); in testChangeToSmallerSize()
313 mMockLeash, app.startBounds.left, app.startBounds.top); in testChangeToSmallerSize()
315 mMockLeash, app.startBounds.width(), app.startBounds.height()); in testChangeToSmallerSize()
361 assertEquals(new Rect(50, 100, 150, 150), app.startBounds); in testChangeTolargerSize()
366 mMockLeash, app.startBounds.left, app.startBounds.top); in testChangeTolargerSize()
368 mMockLeash, app.startBounds.width(), app.startBounds.height()); in testChangeTolargerSize()
DAppChangeTransitionTests.java80 assertNotNull(target.startBounds); in onAnimationStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaHierarchyManager.kt742 startBounds: Rect, in interpolateBounds()
747 val left = MathUtils.lerp(startBounds.left.toFloat(), in interpolateBounds()
749 val top = MathUtils.lerp(startBounds.top.toFloat(), in interpolateBounds()
751 val right = MathUtils.lerp(startBounds.right.toFloat(), in interpolateBounds()
753 val bottom = MathUtils.lerp(startBounds.bottom.toFloat(), in interpolateBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipAnimationController.java158 Rect baseBounds, Rect startBounds, Rect endBounds, Rect sourceHintRect, in getAnimator() argument
163 PipTransitionAnimator.ofBounds(taskInfo, leash, startBounds, startBounds, in getAnimator()
180 PipTransitionAnimator.ofBounds(taskInfo, leash, baseBounds, startBounds, in getAnimator()
DPipTaskOrganizer.java1054 public void scheduleUserResizePip(Rect startBounds, Rect toBounds, in scheduleUserResizePip() argument
1056 scheduleUserResizePip(startBounds, toBounds, 0 /* degrees */, updateBoundsCallback); in scheduleUserResizePip()
1063 public void scheduleUserResizePip(Rect startBounds, Rect toBounds, float degrees, in scheduleUserResizePip() argument
1071 if (startBounds.isEmpty() || toBounds.isEmpty()) { in scheduleUserResizePip()
1078 .scale(tx, mLeash, startBounds, toBounds, degrees) in scheduleUserResizePip()
1079 .round(tx, mLeash, startBounds, toBounds); in scheduleUserResizePip()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java523 final Rect startBounds = new Rect(mLastResizeBounds); in finishResize() local
542 mPipTaskOrganizer.scheduleAnimateResizePip(startBounds, mLastResizeBounds, in finishResize()