Merge "Ensure we pass correct values into the next transition start bounds." into nyc-mr1-dev
This commit is contained in:
@@ -604,7 +604,7 @@ public class AppTransition implements Dump {
|
|||||||
float scaleH = mTmpRect.height() / (float) appHeight;
|
float scaleH = mTmpRect.height() / (float) appHeight;
|
||||||
Animation scale = new ScaleAnimation(scaleW, 1, scaleH, 1,
|
Animation scale = new ScaleAnimation(scaleW, 1, scaleH, 1,
|
||||||
computePivot(mTmpRect.left, scaleW),
|
computePivot(mTmpRect.left, scaleW),
|
||||||
computePivot(mTmpRect.right, scaleH));
|
computePivot(mTmpRect.top, scaleH));
|
||||||
scale.setInterpolator(mDecelerateInterpolator);
|
scale.setInterpolator(mDecelerateInterpolator);
|
||||||
|
|
||||||
Animation alpha = new AlphaAnimation(0, 1);
|
Animation alpha = new AlphaAnimation(0, 1);
|
||||||
@@ -1615,8 +1615,7 @@ public class AppTransition implements Dump {
|
|||||||
if (isTransitionSet()) {
|
if (isTransitionSet()) {
|
||||||
clear();
|
clear();
|
||||||
mNextAppTransitionType = NEXT_TRANSIT_TYPE_SCALE_UP;
|
mNextAppTransitionType = NEXT_TRANSIT_TYPE_SCALE_UP;
|
||||||
putDefaultNextAppTransitionCoordinates(startX, startY, startX + startWidth,
|
putDefaultNextAppTransitionCoordinates(startX, startY, startWidth, startHeight, null);
|
||||||
startY + startHeight, null);
|
|
||||||
postAnimationCallback();
|
postAnimationCallback();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user