Home
last modified time | relevance | path

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

/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java84 ValueAnimator valueAnimator = ObjectAnimator.ofFloat(object, propertyName, start,end); in createAnimator() local
85 valueAnimator.setDuration(duration); in createAnimator()
86 valueAnimator.setRepeatCount(repeatCount); in createAnimator()
87 valueAnimator.setInterpolator(timeInterpolator); in createAnimator()
88 valueAnimator.setRepeatMode(repeatMode); in createAnimator()
89 return valueAnimator; in createAnimator()
152 public void startAnimation(ValueAnimator valueAnimator){ in startAnimation() argument
153 view.bounceYAnimator = valueAnimator; in startAnimation()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceViewSyncTest.java222 anim.addUpdateListener(valueAnimator -> {
231 if ((Integer) valueAnimator.getAnimatedValue() % 3 == 0) {
233 } else if ((Integer) valueAnimator.getAnimatedValue() % 7 == 0) {
242 anim.addUpdateListener(valueAnimator -> {
243 if ((Integer) valueAnimator.getAnimatedValue() % 2 == 0) {