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
    Constructor
    Description
    ResizeAnimation(android.view.View view, int targetWidth, int targetHeight)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    applyTransformation(float interpolatedTime, android.view.animation.Transformation t)
     
    void
    initialize(int width, int height, int parentWidth, int parentHeight)
     
    boolean
     

    Methods 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

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      applyTransformation in class android.view.animation.Animation
    • initialize

      public void initialize(int width, int height, int parentWidth, int parentHeight)
      Overrides:
      initialize in class android.view.animation.Animation
    • willChangeBounds

      public boolean willChangeBounds()
      Overrides:
      willChangeBounds in class android.view.animation.Animation