Home
last modified time | relevance | path

Searched refs:mDestroyAnimProgress (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java507 protected float mDestroyAnimProgress;
547 mDestroyAnimProgress += tau / getDestroyAnimDuration();
548 if (mDestroyAnimProgress >= 1.0f) {
689 setPaintARGBBlend(mPaint, mDestroyAnimProgress,
731 setPaintARGBBlend(mPaint, mDestroyAnimProgress,
762 setPaintARGBBlend(mPaint, mDestroyAnimProgress,
766 mSize * (1.0f - mDestroyAnimProgress), mPaint);
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java504 protected float mDestroyAnimProgress; field in GameView.Sprite
550 mDestroyAnimProgress += tau / getDestroyAnimDuration(); in step()
551 if (mDestroyAnimProgress >= getDestroyAnimCycles()) { in step()
932 mDestroyAnimProgress = 0.0f;
1014 setPaintARGBBlend(mPaint, mDestroyAnimProgress - (int) (mDestroyAnimProgress), in draw()
1068 setPaintARGBBlend(mBulletPaint, mDestroyAnimProgress, in draw()
1106 setPaintARGBBlend(mObstaclePaint, mDestroyAnimProgress, in draw()
1110 mSize * (1.0f - mDestroyAnimProgress), mObstaclePaint); in draw()