Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DRemoteAnimationTarget.java152 public final Rect startBounds; field in RemoteAnimationTarget
169 SurfaceControl startLeash, Rect startBounds) { in RemoteAnimationTarget() argument
182 this.startBounds = startBounds == null ? null : new Rect(startBounds); in RemoteAnimationTarget()
198 startBounds = in.readParcelable(null); in RemoteAnimationTarget()
220 dest.writeParcelable(startBounds, 0 /* flags */); in writeToParcel()
252 if (startBounds != null) { in writeToProto()
253 startBounds.writeToProto(proto, START_BOUNDS); in writeToProto()
/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/services/core/java/com/android/server/wm/
DTaskPositioner.java379 float startX, float startY, Rect startBounds) { in startDrag() argument
386 if (startX < startBounds.left) { in startDrag()
389 if (startX > startBounds.right) { in startDrag()
392 if (startY < startBounds.top) { in startDrag()
395 if (startY > startBounds.bottom) { in startDrag()
405 mStartOrientationWasLandscape = startBounds.width() >= startBounds.height(); in startDrag()
406 mWindowOriginalBounds.set(startBounds); in startDrag()
423 mTask.mTaskId, startBounds, RESIZE_MODE_USER_FORCED); in startDrag()
431 mWindowDragBounds.set(startBounds); in startDrag()
DRemoteAnimationController.java86 Point position, Rect stackBounds, Rect startBounds) { in createRemoteAnimationRecord() argument
90 new RemoteAnimationRecord(appWindowToken, position, stackBounds, startBounds); in createRemoteAnimationRecord()
318 Rect startBounds) { in RemoteAnimationRecord() argument
321 if (startBounds != null) { in RemoteAnimationRecord()
322 mStartBounds = new Rect(startBounds); in RemoteAnimationRecord()
323 mTmpRect.set(startBounds); in RemoteAnimationRecord()
DWindowChangeAnimationSpec.java58 public WindowChangeAnimationSpec(Rect startBounds, Rect endBounds, DisplayInfo displayInfo, in WindowChangeAnimationSpec() argument
60 mStartBounds = new Rect(startBounds); in WindowChangeAnimationSpec()
DAppWindowToken.java1736 private void initializeChangeTransition(Rect startBounds) { in initializeChangeTransition() argument
1740 mTransitStartRect.set(startBounds); in initializeChangeTransition()
1747 t.setWindowCrop(mTransitChangeLeash, startBounds.width(), startBounds.height()); in initializeChangeTransition()
1748 t.setPosition(mTransitChangeLeash, startBounds.left, startBounds.top); in initializeChangeTransition()
/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/
DAppChangeTransitionTests.java80 assertNotNull(target.startBounds); in onAnimationStart()
DRemoteAnimationControllerTest.java248 assertEquals(new Rect(0, 0, 200, 200), app.startBounds); in testChange()