RotateAnimation

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

public class RotateAnimation extends Animation

RotateAnimation ← Animation

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

Constructors

public RotateAnimation(Context context, AttributeSet attrs) source
public RotateAnimation(float fromDegrees, float toDegrees) source
public RotateAnimation(float fromDegrees, float toDegrees, float pivotX, float pivotY) source
public RotateAnimation(float fromDegrees, float toDegrees, 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.