DisappearAnimationUtilspublic class DisappearAnimationUtils extends AppearAnimationUtils A class to make nice disappear transitions for views in a tabular layout. |
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 long | calculateDelay(int row, int col)
return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale);
|
|