public class BlinkScaleProcessor extends IconicsAnimationProcessor
| Modifier and Type | Field and Description |
|---|---|
static int |
defaultDuration
Duration used for all instances of this processor by default.
|
INFINITE, mDuration, mInterpolator, mIsStartImmediately, mRepeatCount, mRepeatMode, RESTART, REVERSE| Constructor and Description |
|---|
BlinkScaleProcessor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
animationTag() |
float |
getMaximumScale() |
float |
getMinimumScale() |
BlinkScaleProcessor |
maximumScale(float maximumScale) |
BlinkScaleProcessor |
minimumScale(float minimumScale) |
protected void |
processPostDraw(android.graphics.Canvas canvas)
Will be called after
.draw(Canvas). |
protected void |
processPreDraw(android.graphics.Canvas canvas,
IconicsBrush<android.text.TextPaint> iconBrush,
IconicsBrush<android.graphics.Paint> iconContourBrush,
IconicsBrush<android.graphics.Paint> backgroundBrush,
IconicsBrush<android.graphics.Paint> backgroundContourBrush)
Will be called before
.draw(Canvas). |
addListener, addPauseListener, cancel, duration, end, getAnimatedPercent, getDrawableBounds, getDrawableState, interpolator, isPaused, isRunning, isStarted, onDrawableAttached, onDrawableDetached, pause, removeAllListeners, removeListener, removePauseListener, repeatCount, repeatMode, resume, reverse, start, startImmediatelypublic static int defaultDuration
public BlinkScaleProcessor minimumScale(float minimumScale)
minimumScale - The scale which will be used as minimal available value.public BlinkScaleProcessor maximumScale(float maximumScale)
maximumScale - The scale which will be used as maximal available value.public float getMinimumScale()
public float getMaximumScale()
public java.lang.String animationTag()
animationTag in class IconicsAnimationProcessorprotected void processPreDraw(android.graphics.Canvas canvas,
IconicsBrush<android.text.TextPaint> iconBrush,
IconicsBrush<android.graphics.Paint> iconContourBrush,
IconicsBrush<android.graphics.Paint> backgroundBrush,
IconicsBrush<android.graphics.Paint> backgroundContourBrush)
IconicsAnimationProcessor.draw(Canvas).
Useful for some changes, based on PaintprocessPreDraw in class IconicsAnimationProcessorprotected void processPostDraw(android.graphics.Canvas canvas)
IconicsAnimationProcessor.draw(Canvas).
Useful for some changes, based on canvas and need to restore canvas after drawing the icon
(scale, rotate etc.).processPostDraw in class IconicsAnimationProcessor