Fix typos
Test: N/A Change-Id: I4ced02e143842f9fc38be1b991873d5c1bac7efd
This commit is contained in:
@@ -158,7 +158,7 @@ public class Transformation {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The 3x3 Matrix representing the trnasformation to apply to the
|
||||
* @return The 3x3 Matrix representing the transformation to apply to the
|
||||
* coordinates of the object being animated
|
||||
*/
|
||||
public Matrix getMatrix() {
|
||||
@@ -167,7 +167,7 @@ public class Transformation {
|
||||
|
||||
/**
|
||||
* Sets the degree of transparency
|
||||
* @param alpha 1.0 means fully opaqe and 0.0 means fully transparent
|
||||
* @param alpha 1.0 means fully opaque and 0.0 means fully transparent
|
||||
*/
|
||||
public void setAlpha(@FloatRange(from=0.0, to=1.0) float alpha) {
|
||||
mAlpha = alpha;
|
||||
|
||||
@@ -650,7 +650,7 @@ public final class TransitionInfo implements Parcelable {
|
||||
return options;
|
||||
}
|
||||
|
||||
public static AnimationOptions makeThumnbnailAnimOptions(HardwareBuffer srcThumb,
|
||||
public static AnimationOptions makeThumbnailAnimOptions(HardwareBuffer srcThumb,
|
||||
int startX, int startY, boolean scaleUp) {
|
||||
AnimationOptions options = new AnimationOptions(
|
||||
scaleUp ? ANIM_THUMBNAIL_SCALE_UP : ANIM_THUMBNAIL_SCALE_DOWN);
|
||||
|
||||
@@ -4531,7 +4531,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
|
||||
pendingOptions.getStartX(), pendingOptions.getStartY(),
|
||||
pendingOptions.getAnimationStartedListener(),
|
||||
scaleUp);
|
||||
options = AnimationOptions.makeThumnbnailAnimOptions(buffer,
|
||||
options = AnimationOptions.makeThumbnailAnimOptions(buffer,
|
||||
pendingOptions.getStartX(), pendingOptions.getStartY(), scaleUp);
|
||||
startCallback = pendingOptions.getAnimationStartedListener();
|
||||
if (intent.getSourceBounds() == null && buffer != null) {
|
||||
|
||||
Reference in New Issue
Block a user