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

  /cts/tests/tests/view/src/android/view/animation/cts/
AnimationSetTest.java 195 final long restrictDuration = 1500;
196 animationSet.restrictDuration(restrictDuration);
199 assertTrue(originChildStartOffset[0] > restrictDuration);
201 assertEquals(restrictDuration, children.get(0).getStartOffset());
203 assertTrue(originChildStartOffset[1] < restrictDuration);
204 assertTrue(originChildDurationHint[1] > restrictDuration);
205 assertTrue(children.get(1).computeDurationHint() <= restrictDuration);
207 assertTrue(originChildDurationHint[2] > restrictDuration);
208 assertTrue(children.get(2).computeDurationHint() <= restrictDuration);
    [all...]
AnimationTest.java 522 animation.restrictDuration(500);
529 animation.restrictDuration(1500);
535 animation.restrictDuration(4500);

Completed in 335 milliseconds