FileDocCategorySizeDatePackage
DisappearAnimationUtils.javaAPI DocAndroid 5.1 API1652Thu Mar 12 22:22:42 GMT 2015com.android.keyguard

DisappearAnimationUtils

public class DisappearAnimationUtils extends AppearAnimationUtils
A class to make nice disappear transitions for views in a tabular layout.

Fields Summary
Constructors Summary
public DisappearAnimationUtils(android.content.Context ctx)

        this(ctx, DEFAULT_APPEAR_DURATION,
                1.0f, 1.0f,
                AnimationUtils.loadInterpolator(ctx, android.R.interpolator.linear_out_slow_in));
    
public DisappearAnimationUtils(android.content.Context ctx, long duration, float translationScaleFactor, float delayScaleFactor, android.view.animation.Interpolator interpolator)

        super(ctx, duration, translationScaleFactor, delayScaleFactor, interpolator);
        mScaleTranslationWithRow = true;
        mAppearing = false;
    
Methods Summary
protected longcalculateDelay(int row, int col)

        return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale);