android.view.animation
Class RotateAnimation
java.lang.Object
android.view.animation.Animation
android.view.animation.RotateAnimation
- All Implemented Interfaces:
- Cloneable
public class RotateAnimation
- extends Animation
Constructor Summary |
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)
|
Methods inherited from class android.view.animation.Animation |
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, willChangeTransformationMatrix |
RotateAnimation
public RotateAnimation(Context context,
AttributeSet attrs)
RotateAnimation
public RotateAnimation(float fromDegrees,
float toDegrees)
RotateAnimation
public RotateAnimation(float fromDegrees,
float toDegrees,
float pivotX,
float pivotY)
RotateAnimation
public RotateAnimation(float fromDegrees,
float toDegrees,
int pivotXType,
float pivotXValue,
int pivotYType,
float pivotYValue)
applyTransformation
protected void applyTransformation(float interpolatedTime,
Transformation t)
- Overrides:
applyTransformation
in class Animation
initialize
public void initialize(int width,
int height,
int parentWidth,
int parentHeight)
- Overrides:
initialize
in class Animation
Copyright © 2008-2012. All Rights Reserved.