android.view.animation
Class AnimationSet

java.lang.Object
  extended by android.view.animation.Animation
      extended by android.view.animation.AnimationSet
All Implemented Interfaces:
Cloneable

public class AnimationSet
extends Animation


Nested Class Summary
 
Nested classes/interfaces inherited from class android.view.animation.Animation
Animation.AnimationListener, 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
AnimationSet(boolean shareInterpolator)
           
AnimationSet(Context context, AttributeSet attrs)
           
 
Method Summary
 void addAnimation(Animation a)
           
protected  AnimationSet clone()
           
 long computeDurationHint()
           
 List<Animation> getAnimations()
           
 long getDuration()
           
 long getStartTime()
           
 boolean getTransformation(long currentTime, Transformation t)
           
 void initialize(int width, int height, int parentWidth, int parentHeight)
           
 void reset()
           
 void restrictDuration(long durationMillis)
           
 void scaleCurrentDuration(float scale)
           
 void setDuration(long durationMillis)
           
 void setFillAfter(boolean fillAfter)
           
 void setFillBefore(boolean fillBefore)
           
 void setRepeatMode(int repeatMode)
           
 void setStartOffset(long startOffset)
           
 void setStartTime(long startTimeMillis)
           
 boolean willChangeBounds()
           
 boolean willChangeTransformationMatrix()
           
 
Methods inherited from class android.view.animation.Animation
applyTransformation, cancel, ensureInterpolator, finalize, getBackgroundColor, getDetachWallpaper, getFillAfter, getFillBefore, getInterpolator, getRepeatCount, getRepeatMode, getScaleFactor, getStartOffset, getTransformation, getZAdjustment, hasEnded, hasStarted, isFillEnabled, isInitialized, resolveSize, setAnimationListener, setBackgroundColor, setDetachWallpaper, setFillEnabled, setInterpolator, setInterpolator, setRepeatCount, setZAdjustment, start, startNow
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationSet

public AnimationSet(Context context,
                    AttributeSet attrs)

AnimationSet

public AnimationSet(boolean shareInterpolator)
Method Detail

clone

protected AnimationSet clone()
                      throws CloneNotSupportedException
Overrides:
clone in class Animation
Throws:
CloneNotSupportedException

setFillAfter

public void setFillAfter(boolean fillAfter)
Overrides:
setFillAfter in class Animation

setFillBefore

public void setFillBefore(boolean fillBefore)
Overrides:
setFillBefore in class Animation

setRepeatMode

public void setRepeatMode(int repeatMode)
Overrides:
setRepeatMode in class Animation

setStartOffset

public void setStartOffset(long startOffset)
Overrides:
setStartOffset in class Animation

setDuration

public void setDuration(long durationMillis)
Overrides:
setDuration in class Animation

addAnimation

public void addAnimation(Animation a)

setStartTime

public void setStartTime(long startTimeMillis)
Overrides:
setStartTime in class Animation

getStartTime

public long getStartTime()
Overrides:
getStartTime in class Animation

restrictDuration

public void restrictDuration(long durationMillis)
Overrides:
restrictDuration in class Animation

getDuration

public long getDuration()
Overrides:
getDuration in class Animation

computeDurationHint

public long computeDurationHint()
Overrides:
computeDurationHint in class Animation

getTransformation

public boolean getTransformation(long currentTime,
                                 Transformation t)
Overrides:
getTransformation in class Animation

scaleCurrentDuration

public void scaleCurrentDuration(float scale)
Overrides:
scaleCurrentDuration in class Animation

initialize

public void initialize(int width,
                       int height,
                       int parentWidth,
                       int parentHeight)
Overrides:
initialize in class Animation

reset

public void reset()
Overrides:
reset in class Animation

getAnimations

public List<Animation> getAnimations()

willChangeTransformationMatrix

public boolean willChangeTransformationMatrix()
Overrides:
willChangeTransformationMatrix in class Animation

willChangeBounds

public boolean willChangeBounds()
Overrides:
willChangeBounds in class Animation


Copyright © 2008-2012. All Rights Reserved.