cn.pedant.SweetAlert
类 Rotate3dAnimation

java.lang.Object
  继承者 android.view.animation.Animation
      继承者 cn.pedant.SweetAlert.Rotate3dAnimation
所有已实现的接口:
java.lang.Cloneable

public class Rotate3dAnimation
extends android.view.animation.Animation


嵌套类摘要
protected static class Rotate3dAnimation.Description
           
 
从类 android.view.animation.Animation 继承的嵌套类/接口
android.view.animation.Animation.AnimationListener
 
字段摘要
static int ROLL_BY_X
           
static int ROLL_BY_Y
           
static int ROLL_BY_Z
           
 
从类 android.view.animation.Animation 继承的字段
ABSOLUTE, INFINITE, RELATIVE_TO_PARENT, RELATIVE_TO_SELF, RESTART, REVERSE, START_ON_FIRST_FRAME, ZORDER_BOTTOM, ZORDER_NORMAL, ZORDER_TOP
 
构造方法摘要
Rotate3dAnimation(android.content.Context context, android.util.AttributeSet attrs)
           
Rotate3dAnimation(int rollType, float fromDegrees, float toDegrees)
           
Rotate3dAnimation(int rollType, float fromDegrees, float toDegrees, float pivotX, float pivotY)
           
Rotate3dAnimation(int rollType, float fromDegrees, float toDegrees, int pivotXType, float pivotXValue, int pivotYType, float pivotYValue)
           
 
方法摘要
protected  void applyTransformation(float interpolatedTime, android.view.animation.Transformation t)
           
 void initialize(int width, int height, int parentWidth, int parentHeight)
           
 
从类 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
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

ROLL_BY_X

public static final int ROLL_BY_X
另请参见:
常量字段值

ROLL_BY_Y

public static final int ROLL_BY_Y
另请参见:
常量字段值

ROLL_BY_Z

public static final int ROLL_BY_Z
另请参见:
常量字段值
构造方法详细信息

Rotate3dAnimation

public Rotate3dAnimation(android.content.Context context,
                         android.util.AttributeSet attrs)

Rotate3dAnimation

public Rotate3dAnimation(int rollType,
                         float fromDegrees,
                         float toDegrees)

Rotate3dAnimation

public Rotate3dAnimation(int rollType,
                         float fromDegrees,
                         float toDegrees,
                         float pivotX,
                         float pivotY)

Rotate3dAnimation

public Rotate3dAnimation(int rollType,
                         float fromDegrees,
                         float toDegrees,
                         int pivotXType,
                         float pivotXValue,
                         int pivotYType,
                         float pivotYValue)
方法详细信息

initialize

public void initialize(int width,
                       int height,
                       int parentWidth,
                       int parentHeight)
覆盖:
android.view.animation.Animation 中的 initialize

applyTransformation

protected void applyTransformation(float interpolatedTime,
                                   android.view.animation.Transformation t)
覆盖:
android.view.animation.Animation 中的 applyTransformation