Class ResizeAnimation
java.lang.Object
android.view.animation.Animation
com.appscend.utilities.ResizeAnimation
- All Implemented Interfaces:
Cloneable
public class ResizeAnimation
extends android.view.animation.Animation
an animation for resizing the view.
-
Nested Class Summary
Nested classes/interfaces inherited from class android.view.animation.Animation
android.view.animation.Animation.AnimationListener, android.view.animation.Animation.Description -
Field Summary
Fields inherited from class android.view.animation.Animation
ABSOLUTE, INFINITE, RELATIVE_TO_PARENT, RELATIVE_TO_SELF, RESTART, REVERSE, START_ON_FIRST_FRAME, ZORDER_BOTTOM, ZORDER_NORMAL, ZORDER_TOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyTransformation(float interpolatedTime, android.view.animation.Transformation t) voidinitialize(int width, int height, int parentWidth, int parentHeight) booleanMethods inherited from class android.view.animation.Animation
cancel, clone, computeDurationHint, ensureInterpolator, finalize, getBackdropColor, getBackgroundColor, getDetachWallpaper, getDuration, getFillAfter, getFillBefore, getInterpolator, getRepeatCount, getRepeatMode, getScaleFactor, getShowBackdrop, getStartOffset, getStartTime, getTransformation, getTransformation, getZAdjustment, hasEnded, hasStarted, isFillEnabled, isInitialized, reset, resolveSize, restrictDuration, scaleCurrentDuration, setAnimationListener, setBackdropColor, setBackgroundColor, setDetachWallpaper, setDuration, setFillAfter, setFillBefore, setFillEnabled, setInterpolator, setInterpolator, setRepeatCount, setRepeatMode, setShowBackdrop, setStartOffset, setStartTime, setZAdjustment, start, startNow, willChangeTransformationMatrix
-
Constructor Details
-
ResizeAnimation
public ResizeAnimation(android.view.View view, int targetWidth, int targetHeight)
-
-
Method Details
-
applyTransformation
protected void applyTransformation(float interpolatedTime, android.view.animation.Transformation t) - Overrides:
applyTransformationin classandroid.view.animation.Animation
-
initialize
public void initialize(int width, int height, int parentWidth, int parentHeight) - Overrides:
initializein classandroid.view.animation.Animation
-
willChangeBounds
public boolean willChangeBounds()- Overrides:
willChangeBoundsin classandroid.view.animation.Animation
-