Animation.AnimationListener, Animation.DescriptionABSOLUTE, INFINITE, RELATIVE_TO_PARENT, RELATIVE_TO_SELF, RESTART, REVERSE, START_ON_FIRST_FRAME, ZORDER_BOTTOM, ZORDER_NORMAL, ZORDER_TOP| Constructor and Description |
|---|
TranslateAnimation(Context context,
AttributeSet attrs) |
TranslateAnimation(float fromXDelta,
float toXDelta,
float fromYDelta,
float toYDelta) |
TranslateAnimation(int fromXType,
float fromXValue,
int toXType,
float toXValue,
int fromYType,
float fromYValue,
int toYType,
float toYValue) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyTransformation(float interpolatedTime,
Transformation t) |
void |
initialize(int width,
int height,
int parentWidth,
int parentHeight) |
cancel, clone, computeDurationHint, ensureInterpolator, finalize, getBackgroundColor, getDetachWallpaper, getDuration, getFillAfter, getFillBefore, getInterpolator, getRepeatCount, getRepeatMode, getScaleFactor, getStartOffset, getStartTime, getTransformation, getTransformation, getZAdjustment, hasEnded, hasStarted, isFillEnabled, isInitialized, reset, resolveSize, restrictDuration, scaleCurrentDuration, setAnimationListener, setBackgroundColor, setDetachWallpaper, setDuration, setFillAfter, setFillBefore, setFillEnabled, setInterpolator, setInterpolator, setRepeatCount, setRepeatMode, setStartOffset, setStartTime, setZAdjustment, start, startNow, willChangeBounds, willChangeTransformationMatrixpublic TranslateAnimation(Context context, AttributeSet attrs)
public TranslateAnimation(float fromXDelta,
float toXDelta,
float fromYDelta,
float toYDelta)
public TranslateAnimation(int fromXType,
float fromXValue,
int toXType,
float toXValue,
int fromYType,
float fromYValue,
int toYType,
float toYValue)
protected void applyTransformation(float interpolatedTime,
Transformation t)
applyTransformation in class Animationpublic void initialize(int width,
int height,
int parentWidth,
int parentHeight)
initialize in class AnimationCopyright © 2008-2013. All Rights Reserved.