Package io.scanbot.sdk.ui
Class FadeAnimationView
-
- All Implemented Interfaces:
-
android.graphics.drawable.Drawable.Callback,android.view.KeyEvent.Callback,android.view.accessibility.AccessibilityEventSource
public final class FadeAnimationView extends View
Allows to play a progress fade animation with bounce or linear interpolator
-
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerMAX_ALPHApublic final static LongANIMATION_LINEAR_DURATIONpublic final static LongANIMATION_DURATIONpublic final static LongANIMATION_UNFADE_DURATIONpublic final static IntegerANIMATION_MAX_VALUEprivate BooleanuseBounceInterpolator
-
Constructor Summary
Constructors Constructor Description FadeAnimationView(Context context)FadeAnimationView(Context context, AttributeSet attrs)
-
Method Summary
Modifier and Type Method Description final BooleangetUseBounceInterpolator()Sets if should fade animation play with bounce or with linear interpolator final UnitsetUseBounceInterpolator(Boolean useBounceInterpolator)Sets if should fade animation play with bounce or with linear interpolator final UnitstartProgressAnimation()final UnitstopProgressAnimation()-
-
Constructor Detail
-
FadeAnimationView
FadeAnimationView(Context context)
-
FadeAnimationView
FadeAnimationView(Context context, AttributeSet attrs)
-
-
Method Detail
-
getUseBounceInterpolator
final Boolean getUseBounceInterpolator()
Sets if should fade animation play with bounce or with linear interpolator
-
setUseBounceInterpolator
final Unit setUseBounceInterpolator(Boolean useBounceInterpolator)
Sets if should fade animation play with bounce or with linear interpolator
-
startProgressAnimation
final Unit startProgressAnimation()
-
stopProgressAnimation
final Unit stopProgressAnimation()
-
-
-
-