Set start transform before animator starts.
Bug 16958319 ChangeImageTransform was waiting until the animator started before setting the image matrix. Animators with a start delay would leave the ImageView with the final transform before the animator started. Change-Id: I5ebc03b58a8697da3edf4a01c8906d60e7938f44
This commit is contained in:
@@ -182,6 +182,7 @@ public class ChangeImageTransform extends Transition {
|
||||
if (endMatrix == null) {
|
||||
endMatrix = Matrix.IDENTITY_MATRIX;
|
||||
}
|
||||
ANIMATED_TRANSFORM_PROPERTY.set(imageView, startMatrix);
|
||||
animator = createMatrixAnimator(imageView, startMatrix, endMatrix);
|
||||
}
|
||||
return animator;
|
||||
|
||||
Reference in New Issue
Block a user