HomeSort by relevance Sort by last modified time
    Searched refs:colorAnimator (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/animation/src/android/animation/cts/
AnimationActivity.java 170 public void startAnimation(ObjectAnimator bounceAnimator, ObjectAnimator colorAnimator) {
172 view.startColorAnimator(colorAnimator);
181 public void startColorAnimation(ValueAnimator colorAnimator){
182 view.startColorAnimator(colorAnimator);
193 public ValueAnimator colorAnimator;
201 colorAnimator = ObjectAnimator.ofInt(this, "backgroundColor", RED, BLUE);
202 colorAnimator.setDuration(1000);
203 colorAnimator.setEvaluator(new ArgbEvaluator());
204 colorAnimator.setRepeatCount(ValueAnimator.INFINITE);
205 colorAnimator.setRepeatMode(ValueAnimator.REVERSE)
    [all...]
ObjectAnimatorTest.java 177 final ObjectAnimator colorAnimator = ObjectAnimator.ofObject(object, property,
180 int color = (Integer) colorAnimator.getAnimatedValue();
190 colorAnimator.addListener(mockListener);
192 colorAnimator.addUpdateListener(updateListener);
193 colorAnimator.setDuration(200);
194 colorAnimator.setRepeatCount(1);
195 colorAnimator.setRepeatMode(ValueAnimator.REVERSE);
196 mActivityRule.runOnUiThread(colorAnimator::start);
198 verify(mockListener, timeout(400)).onAnimationRepeat(colorAnimator);
199 verify(mockListener, timeout(400)).onAnimationEnd(colorAnimator, false)
    [all...]
PropertyValuesHolderTest.java 293 ObjectAnimator colorAnimator = ObjectAnimator.ofPropertyValuesHolder(object,pVHolder);
294 colorAnimator.setDuration(1000);
295 colorAnimator.setEvaluator(new ArgbEvaluator());
296 colorAnimator.setRepeatCount(ValueAnimator.INFINITE);
297 colorAnimator.setRepeatMode(ValueAnimator.REVERSE);
301 startAnimation(objectAnimator, colorAnimator);
303 Integer animatedValue = (Integer) colorAnimator.getAnimatedValue();
    [all...]

Completed in 49 milliseconds