Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DBouncingBalls.java132 ValueAnimator fadeAnim = ObjectAnimator.ofFloat(newBall, "alpha", 1f, 0f); in onTouchEvent() local
133 fadeAnim.setDuration(250); in onTouchEvent()
134 fadeAnim.addListener(new AnimatorListenerAdapter() { in onTouchEvent()
144 animatorSet.play(bouncer).before(fadeAnim); in onTouchEvent()