Home
last modified time | relevance | path

Searched refs:endBounds (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DToggleResizeDesktopTaskTransitionHandler.kt70 val endBounds = change.endAbsBounds in <lambda>() constant
75 ValueAnimator.ofObject(rectEvaluator, startBounds, endBounds) in <lambda>()
98 endBounds.left.toFloat(), in <lambda>()
99 endBounds.top.toFloat() in <lambda>()
101 .setWindowCrop(leash, endBounds.width(), endBounds.height()) in <lambda>()
DDesktopModeVisualIndicator.java333 Rect endBounds) { in VisualIndicatorAnimator() argument
336 mEndBounds = endBounds; in VisualIndicatorAnimator()
355 final Rect endBounds = getIndicatorBounds(displayLayout, type); in fadeBoundsOut() local
356 final Rect startBounds = getMaxBounds(endBounds); in fadeBoundsOut()
360 view, startBounds, endBounds); in fadeBoundsOut()
379 final Rect endBounds = getIndicatorBounds(displayLayout, newType); in animateIndicatorType() local
381 view, startBounds, endBounds); in animateIndicatorType()
DExitDesktopTaskTransitionHandler.java148 final Rect endBounds = change.getEndAbsBounds(); in startChangeTransition() local
152 .setWindowCrop(sc, endBounds.width(), endBounds.height()) in startChangeTransition()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipAnimationControllerTest.java141 final Rect endBounds = new Rect(0, 0, 500, 1000); in pipTransitionAnimator_rotatedEndValue() local
144 .getAnimator(mTaskInfo, mLeash, null, startBounds, endBounds, null, in pipTransitionAnimator_rotatedEndValue()
148 final Rect rotatedEndBounds = new Rect(endBounds); in pipTransitionAnimator_rotatedEndValue()
149 rotateBounds(rotatedEndBounds, endBounds, ROTATION_90); in pipTransitionAnimator_rotatedEndValue()
155 endBounds.set(200, 100, 400, 500); in pipTransitionAnimator_rotatedEndValue()
157 endBounds, null, TRANSITION_DIRECTION_TO_PIP, 0, ROTATION_270); in pipTransitionAnimator_rotatedEndValue()
159 rotatedEndBounds.set(endBounds); in pipTransitionAnimator_rotatedEndValue()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationTestBase.java98 @NonNull Rect endBounds, @NonNull Rect taskBounds) { in createEmbeddedChange() argument
101 change.setEndAbsBounds(endBounds); in createEmbeddedChange()
104 && taskBounds.width() == endBounds.width() in createEmbeddedChange()
105 && taskBounds.height() == endBounds.height()) { in createEmbeddedChange()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationSpec.java152 final Rect endBounds = target.screenSpaceBounds; in createChangeBoundsChangeAnimations() local
153 float scaleX = ((float) startBounds.width()) / endBounds.width(); in createChangeBoundsChangeAnimations()
154 float scaleY = ((float) startBounds.height()) / endBounds.height(); in createChangeBoundsChangeAnimations()
172 startSet.initialize(startBounds.width(), startBounds.height(), endBounds.width(), in createChangeBoundsChangeAnimations()
173 endBounds.height()); in createChangeBoundsChangeAnimations()
184 final Animation endTranslate = new TranslateAnimation(startBounds.left - endBounds.left, 0, in createChangeBoundsChangeAnimations()
185 startBounds.top - endBounds.top, 0); in createChangeBoundsChangeAnimations()
190 final Rect endClip = new Rect(endBounds); in createChangeBoundsChangeAnimations()
DTaskFragmentAnimationAdapter.java98 final Rect endBounds = target.screenSpaceBounds; in TaskFragmentAnimationAdapter() local
102 startBounds.left - endBounds.left, in TaskFragmentAnimationAdapter()
103 startBounds.top - endBounds.top); in TaskFragmentAnimationAdapter()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationAdapter.java95 final Rect endBounds = change.getEndAbsBounds(); in ActivityEmbeddingAnimationAdapter() local
103 mContentRelOffset.set(endBounds.left - rootOffset.x, endBounds.top - rootOffset.y); in ActivityEmbeddingAnimationAdapter()
112 startBounds.left - endBounds.left, in ActivityEmbeddingAnimationAdapter()
113 startBounds.top - endBounds.top); in ActivityEmbeddingAnimationAdapter()
DActivityEmbeddingAnimationSpec.java159 final Rect endBounds = change.getEndAbsBounds(); in createChangeBoundsChangeAnimations() local
160 float scaleX = ((float) startBounds.width()) / endBounds.width(); in createChangeBoundsChangeAnimations()
161 float scaleY = ((float) startBounds.height()) / endBounds.height(); in createChangeBoundsChangeAnimations()
179 startSet.initialize(startBounds.width(), startBounds.height(), endBounds.width(), in createChangeBoundsChangeAnimations()
180 endBounds.height()); in createChangeBoundsChangeAnimations()
191 final Animation endTranslate = new TranslateAnimation(startBounds.left - endBounds.left, 0, in createChangeBoundsChangeAnimations()
192 startBounds.top - endBounds.top, 0); in createChangeBoundsChangeAnimations()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DVeiledResizeTaskPositioner.java182 final Rect endBounds = change.getEndAbsBounds(); in startAnimation() local
184 startTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height()) in startAnimation()
186 finishTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height()) in startAnimation()
DFluidResizeTaskPositioner.java181 final Rect endBounds = change.getEndAbsBounds(); in startAnimation() local
183 startTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height()) in startAnimation()
185 finishTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height()) in startAnimation()
/frameworks/base/core/java/android/transition/
DCrossfade.java181 Rect endBounds = (Rect) endVals.get(PROPNAME_BOUNDS); in createAnimator() local
242 if (mResizeBehavior == RESIZE_BEHAVIOR_SCALE && !startBounds.equals(endBounds)) { in createAnimator()
245 startBounds + ", " + endBounds); in createAnimator()
248 sRectEvaluator, startBounds, endBounds); in createAnimator()
254 sRectEvaluator, startBounds, endBounds); in createAnimator()
DChangeImageTransform.java149 Rect endBounds = (Rect) endValues.values.get(PROPNAME_BOUNDS); in createAnimator() local
152 if (startBounds == null || endBounds == null || startMatrix == null || endMatrix == null) { in createAnimator()
156 if (startBounds.equals(endBounds) && startMatrix.equals(endMatrix)) { in createAnimator()
DChangeBounds.java297 Rect endBounds = (Rect) endValues.values.get(PROPNAME_BOUNDS); in createAnimator() local
299 final int endLeft = endBounds.left; in createAnimator()
301 final int endTop = endBounds.top; in createAnimator()
303 final int endRight = endBounds.right; in createAnimator()
305 final int endBottom = endBounds.bottom; in createAnimator()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java129 final Rect endBounds = (Rect) endValues.values.get(PROPNAME_BOUNDS); in onAppear() local
130 final Rect startBounds = getEpicenterOrCenter(endBounds); in onAppear()
131 final float startX = startBounds.centerX() - endBounds.centerX(); in onAppear()
132 final float startY = startBounds.centerY() - endBounds.centerY(); in onAppear()
167 final Rect endBounds = getEpicenterOrCenter(startBounds); in onDisappear() local
168 final float endX = endBounds.centerX() - startBounds.centerX(); in onDisappear()
169 final float endY = endBounds.centerY() - startBounds.centerY(); in onDisappear()
/frameworks/base/services/core/java/com/android/server/wm/
DRemoteAnimationController.java107 Point position, Rect localBounds, Rect endBounds, Rect startBounds, in createRemoteAnimationRecord() argument
109 return createRemoteAnimationRecord(windowContainer, position, localBounds, endBounds, in createRemoteAnimationRecord()
126 Point position, Rect localBounds, Rect endBounds, Rect startBounds, in createRemoteAnimationRecord() argument
131 localBounds, endBounds, startBounds, showBackdrop, shouldCreateSnapshot); in createRemoteAnimationRecord()
468 Rect endBounds, @Nullable Rect startBounds, boolean showBackdrop,
474 mAdapter = new RemoteAnimationAdapterWrapper(this, endPos, localBounds, endBounds,
485 mAdapter = new RemoteAnimationAdapterWrapper(this, endPos, localBounds, endBounds,
539 Rect localBounds, Rect endBounds, Rect startBounds, boolean showBackdrop) {
543 mEndBounds.set(endBounds);
DWindowChangeAnimationSpec.java58 public WindowChangeAnimationSpec(Rect startBounds, Rect endBounds, DisplayInfo displayInfo, in WindowChangeAnimationSpec() argument
61 mEndBounds = new Rect(endBounds); in WindowChangeAnimationSpec()
DDeferredDisplayUpdater.java254 final Rect endBounds = new Rect(0, 0, mDisplayContent.mInitialDisplayWidth, in getCurrentDisplayChange() local
261 displayChange.setEndAbsBounds(endBounds); in getCurrentDisplayChange()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/animation/
DPipResizeAnimator.java65 @NonNull Rect endBounds, in PipResizeAnimator() argument
78 mEndBounds.set(endBounds); in PipResizeAnimator()
83 setObjectValues(startBounds, endBounds); in PipResizeAnimator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransition.java764 final Rect endBounds = new Rect(destinationBounds); in startExitAnimation() local
768 rotateBounds(endBounds, destinationBounds, rotationDelta); in startExitAnimation()
780 pipLeash, endBounds, endBounds, new Rect(), degree, x, y, in startExitAnimation()
805 final Rect endBounds = new Rect(pipChange.getEndAbsBounds()); in startExpandAndRotationAnimation() local
807 endBounds.offset(-offset.x, -offset.y); in startExpandAndRotationAnimation()
824 endBounds, startBounds, new Rect(), degree, x, y, true /* isExpanding */, in startExpandAndRotationAnimation()
832 startBounds, startBounds, endBounds, null, TRANSITION_DIRECTION_LEAVE_PIP, in startExpandAndRotationAnimation()
841 final Rect baseBounds, final Rect startBounds, final Rect endBounds, in startExpandAnimation() argument
844 taskInfo.pictureInPictureParams, endBounds); in startExpandAnimation()
847 endBounds, sourceHintRect, TRANSITION_DIRECTION_LEAVE_PIP, in startExpandAnimation()
[all …]
DPipAnimationController.java174 Rect baseBounds, Rect startBounds, Rect endBounds, Rect sourceHintRect, in getAnimator() argument
180 endBounds, sourceHintRect, direction, 0 /* startingAngle */, in getAnimator()
187 mCurrentAnimator.setDestinationBounds(endBounds); in getAnimator()
190 mCurrentAnimator.setDestinationBounds(endBounds); in getAnimator()
192 mCurrentAnimator.updateEndValue(new Rect(endBounds)); in getAnimator()
197 endBounds, sourceHintRect, direction, startingAngle, rotationDelta)); in getAnimator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/
DRemoteTransitionTest.java121 final Rect endBounds = new Rect(40, 60, 140, 200);
123 change.setEndAbsBounds(endBounds);
129 assertEquals(endBounds, wrapped.screenSpaceBounds);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentTest.java154 final Rect endBounds = new Rect(500, 0, 1000, 1000); in testShouldStartChangeTransition_relativePositionChange() local
162 mTaskFragment.setRelativeEmbeddedBounds(endBounds); in testShouldStartChangeTransition_relativePositionChange()
189 final Rect endBounds = new Rect(500, 500, 1000, 1000); in testStartChangeTransition_resetSurface() local
198 mTaskFragment.setRelativeEmbeddedBounds(endBounds); in testStartChangeTransition_resetSurface()
219 final Rect endBounds = new Rect(startBounds); in testStartChangeTransition_doNotFreezeWhenOnlyMoved() local
220 endBounds.offset(500, 0); in testStartChangeTransition_doNotFreezeWhenOnlyMoved()
226 mTaskFragment.setBounds(endBounds); in testStartChangeTransition_doNotFreezeWhenOnlyMoved()
230 verify(mTransaction).setPosition(mLeash, endBounds.left, endBounds.top); in testStartChangeTransition_doNotFreezeWhenOnlyMoved()
237 final Rect endBounds = new Rect(500, 500, 1000, 1000); in testNotOkToAnimate_doNotStartChangeTransition() local
249 mTaskFragment.setRelativeEmbeddedBounds(endBounds); in testNotOkToAnimate_doNotStartChangeTransition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultTransitionHandler.java742 final Rect endBounds = TransitionUtil.isClosingType(changeMode) in loadAnimation() local
762 a = mTransitionAnimation.createRelaunchAnimation(endBounds, mInsets, endBounds); in loadAnimation()
771 endBounds, endBounds, options.getTransitionBounds()); in loadAnimation()
774 endBounds, options.getTransitionBounds()); in loadAnimation()
779 endBounds, type, wallpaperTransit, options.getThumbnail(), in loadAnimation()
797 endBounds.width(), endBounds.height()); in loadAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaHierarchyManager.kt970 endBounds: Rect, in interpolateBounds()
975 MathUtils.lerp(startBounds.left.toFloat(), endBounds.left.toFloat(), progress).toInt() in interpolateBounds()
977 MathUtils.lerp(startBounds.top.toFloat(), endBounds.top.toFloat(), progress).toInt() in interpolateBounds()
979 MathUtils.lerp(startBounds.right.toFloat(), endBounds.right.toFloat(), progress).toInt() in interpolateBounds()
981 MathUtils.lerp(startBounds.bottom.toFloat(), endBounds.bottom.toFloat(), progress) in interpolateBounds()

12