Class of android.view.animation · TranslateAnimation.java · Android's reference
public class TranslateAnimation extends Animation
TranslateAnimation ← Animation
An animation of the position of a view.
public TranslateAnimation(Context context, AttributeSet attrs) sourcepublic TranslateAnimation(float fromXDelta, float toXDelta, float fromYDelta, float toYDelta) sourcepublic TranslateAnimation(int fromXType, float fromXValue, int toXType, float toXValue, int fromYType, float fromYValue, int toYType, float toYValue) sourcepublic void initialize(int width, int height, int parentWidth, int parentHeight) sourceprotected void applyTransformation(float interpolatedTime, Transformation t) sourcepublic boolean willChangeBounds() sourceMade 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.