public class ClipRectLRAnimation extends ClipRectAnimation
Animation.AnimationListener, Animation.Description
mFromRect, mToRect
ABSOLUTE, INFINITE, RELATIVE_TO_PARENT, RELATIVE_TO_SELF, RESTART, REVERSE, START_ON_FIRST_FRAME, ZORDER_BOTTOM, ZORDER_NORMAL, ZORDER_TOP
Constructor and Description |
---|
ClipRectLRAnimation(int fromL,
int fromR,
int toL,
int toR)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyTransformation(float it,
Transformation tr)
Calculates and sets clip rect on given transformation.
|
willChangeTransformationMatrix
cancel, clone, computeDurationHint, detach, ensureInterpolator, finalize, getBackgroundColor, getDetachWallpaper, getDuration, getFillAfter, getFillBefore, getInterpolator, getInvalidateRegion, getRepeatCount, getRepeatMode, getScaleFactor, getStartOffset, getStartTime, getTransformation, getTransformation, getZAdjustment, hasAlpha, hasEnded, hasStarted, initialize, initializeInvalidateRegion, isFillEnabled, isInitialized, reset, resolveSize, restrictDuration, scaleCurrentDuration, setAnimationListener, setBackgroundColor, setDetachWallpaper, setDuration, setFillAfter, setFillBefore, setFillEnabled, setInterpolator, setInterpolator, setListenerHandler, setRepeatCount, setRepeatMode, setStartOffset, setStartTime, setZAdjustment, start, startNow, willChangeBounds
public ClipRectLRAnimation(int fromL, int fromR, int toL, int toR)
protected void applyTransformation(float it, Transformation tr)
applyTransformation
in class ClipRectAnimation
it
- The value of the normalized time (0.0 to 1.0)
after it has been run through the interpolation function.tr
- The Transformation object to fill in with the current
transforms.