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 |
|---|
ScaleAnimation(Context context,
AttributeSet attrs) |
ScaleAnimation(float fromX,
float toX,
float fromY,
float toY) |
ScaleAnimation(float fromX,
float toX,
float fromY,
float toY,
float pivotX,
float pivotY) |
ScaleAnimation(float fromX,
float toX,
float fromY,
float toY,
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 ScaleAnimation(Context context, AttributeSet attrs)
public ScaleAnimation(float fromX,
float toX,
float fromY,
float toY)
public ScaleAnimation(float fromX,
float toX,
float fromY,
float toY,
float pivotX,
float pivotY)
public ScaleAnimation(float fromX,
float toX,
float fromY,
float toY,
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.