interpolatorサブクラスとリソースID

InterpolatorサブクラスとリソースID
AccelerateDecelerateInterpolator
リソースは
@android:anim/accelerate_decelerate_interpolator
開始は遅く、その後加速し
終了に向けて減速
AccelerateInterpolator
リソースは
@android:anim/accelerate_interpolator
開始は遅く、その後加速
加速割合は
android:factor属性で設定
デフォルトは1
AnticipateInterpolator
リソースは
@android:anim/anticipate_interpolator
開始位置から目的位置とは逆方向に
一度移動してから目的位置に移動
逆方向に移動する割合は
android:tension属性で設定
デフォルトは2
AnticipateOvershootInterpolator
リソースは
@android:anim/anticipate_overshoot_interpolator
開始位置から目的位置とは逆方向に移動してそのまま通り過ぎてから
目的位置に移動
通り過ぎる割合は
android:tensionで設定
デフォルトは2
android:tension属性の倍の割合を
android:extratension属性で設定
デフォルトは1.5
BounceInterpolator
リソースは
@android:anim/bounce_interpolator
最後にバウンド
CycleInterpolator
リソースは
@android:anim/cycle_interpolator
指定した回数繰り返す
繰り返しの回数は
android:cycle属性で設定
デフォルトは1
DecelerateInterpolator
リソースは
@android:anim/decelerate_interpolator
最初は速く、その後減速
減速の割合を
android:factor属性で設定
デフォルトは1
LinearInterpolator
リソースは
@android:anim/linear_interpolator
変化の割合は一定
OvershootInterpolator
リソースは
@android:anim/overshoot_interpolator
開始位置から目的位置まで移動し
そのまま通り過ぎてから
目的位置に移動
通り過ぎる割合を
android:tension属性で設定
デフォルトは2

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です