Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DAnimateDrawable.java27 private Animation mAnimation; field in AnimateDrawable
36 mAnimation = animation; in AnimateDrawable()
40 return mAnimation; in getAnimation()
44 mAnimation = anim; in setAnimation()
48 return mAnimation != null && mAnimation.hasStarted(); in hasStarted()
52 return mAnimation == null || mAnimation.hasEnded(); in hasEnded()
60 Animation anim = mAnimation; in draw()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java45 private Animator mAnimation; field in AnimatedNotificationDisplayActivity
77 mAnimation = ObjectAnimator.ofPropertyValuesHolder(mImageView, in createNextAnimation()
80 mAnimation.setInterpolator(new AccelerateDecelerateInterpolator()); in createNextAnimation()
82 mAnimation.setDuration(Math.max(BASE_ANIMATION_DURATION_MS / 10, in createNextAnimation()
85 mAnimation.addListener(new AnimatorListenerAdapter() { in createNextAnimation()
93 mAnimation.start(); in createNextAnimation()
100 mAnimation.start(); in onResume()
105 mAnimation.pause(); in onPause()