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 |
|---|
RotateAnimation(Context context,
AttributeSet attrs) |
RotateAnimation(float fromDegrees,
float toDegrees) |
RotateAnimation(float fromDegrees,
float toDegrees,
float pivotX,
float pivotY) |
RotateAnimation(float fromDegrees,
float toDegrees,
int pivotXType,
float pivotXValue,
int pivotYType,
float pivotYValue) |
| 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 RotateAnimation(Context context, AttributeSet attrs)
public RotateAnimation(float fromDegrees,
float toDegrees)
public RotateAnimation(float fromDegrees,
float toDegrees,
float pivotX,
float pivotY)
public RotateAnimation(float fromDegrees,
float toDegrees,
int pivotXType,
float pivotXValue,
int pivotYType,
float pivotYValue)
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.