ScaleAnimation

Class of android.view.animation · ScaleAnimation.java · Android's reference

public class ScaleAnimation extends Animation

ScaleAnimation ← Animation

An animation of the scale of a view around a pivot.

Constructors

public ScaleAnimation(Context context, AttributeSet attrs) source
public ScaleAnimation(float fromX, float toX, float fromY, float toY) source
public ScaleAnimation(float fromX, float toX, float fromY, float toY, float pivotX, float pivotY) source
public ScaleAnimation(float fromX, float toX, float fromY, float toY, int pivotXType, float pivotXValue, int pivotYType, float pivotYValue) source

Methods

public void initialize(int width, int height, int parentWidth, int parentHeight) source
protected void applyTransformation(float interpolatedTime, Transformation t) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.