Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java154 assertEquals(totalDuration, s1.getTotalDuration()); in testTotalDuration()
158 assertEquals(totalDuration + 200, s1.getTotalDuration()); in testTotalDuration()
161 assertEquals(totalDuration + 200 + 100, s1.getTotalDuration()); in testTotalDuration()
172 assertEquals(maxDuration, s2.getTotalDuration()); in testTotalDuration()
178 assertEquals(AnimatorSet.DURATION_INFINITE, s3.getTotalDuration()); in testTotalDuration()
184 assertEquals(AnimatorSet.DURATION_INFINITE, s4.getTotalDuration()); in testTotalDuration()
196 assertEquals(duration, s5.getTotalDuration()); in testTotalDuration()
200 assertEquals(AnimatorSet.DURATION_INFINITE, s5.getTotalDuration()); in testTotalDuration()
262 Thread.sleep(s.getTotalDuration() + 200);
275 Thread.sleep(s.getTotalDuration() + 100);
[all …]
DValueAnimatorTests.java103 Thread.sleep(a.getTotalDuration()); in testStartDelay()
112 Thread.sleep(a.getTotalDuration()); in testStartDelay()
171 long delay = Math.max(a1.getTotalDuration(), a2.getTotalDuration()) + TOLERANCE; in testListenerCallbacks()
233 long delay = Math.max(a1.getTotalDuration(), a2.getTotalDuration()) * 2; in testIsStarted()
277 Thread.sleep(a2.getTotalDuration()); in testPause()
302 Thread.sleep(a1.getTotalDuration()); in testPause()
335 Thread.sleep(a1.getTotalDuration() / 2); in testPauseListener()
338 Thread.sleep(a2.getTotalDuration()); in testPauseListener()
350 Thread.sleep(a1.getTotalDuration()); in testPauseListener()
361 final long totalDuration = a1.getTotalDuration(); in testResume()
[all …]
/frameworks/base/core/java/android/animation/
DAnimatorSet.java444 handleAnimationEvents(mLastEventId, 0, getTotalDuration());
446 long zeroScalePlayTime = getTotalDuration();
829 if (getTotalDuration() == DURATION_INFINITE) {
833 long duration = getTotalDuration() - mStartDelay;
920 if (mReversing && getTotalDuration() == DURATION_INFINITE) {
926 if ((getTotalDuration() != DURATION_INFINITE && playTime > getTotalDuration() - mStartDelay)
1181 overallPlayTime = getTotalDuration() - overallPlayTime;
1263 currentPlayTime = getTotalDuration() - currentPlayTime;
1413 return getTotalDuration() != DURATION_INFINITE;
1475 if (mNodes.get(i).mTotalDuration != anim.getTotalDuration()) {
[all …]
DAnimator.java201 public long getTotalDuration() { in getTotalDuration() method in Animator
DValueAnimator.java627 public long getTotalDuration() { in getTotalDuration() method in ValueAnimator
/frameworks/base/libs/hwui/
DPropertyValuesAnimatorSet.cpp119 [](auto& a, auto& b) { return a->getTotalDuration() < b->getTotalDuration(); }); in init()
120 mDuration = mAnimators.empty() ? 0 : mAnimators[mAnimators.size() - 1]->getTotalDuration(); in init()
DPropertyValuesAnimatorSet.h31 nsecs_t getTotalDuration() { return mTotalDuration; } in getTotalDuration() function
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java148 private static long getTotalDuration(List<StrokeDescription> paths) { in getTotalDuration() method in GestureDescription
182 if (getTotalDuration(mStrokes) > MAX_GESTURE_DURATION_MS) { in addStroke()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java284 anim.setDuration(interp.getTotalDuration()); in AnimationDrawableTransition()
711 public int getTotalDuration() { in getTotalDuration() method in AnimatedStateListDrawable.FrameInterpolator
DAnimatedVectorDrawable.java1112 mIsInfinite = mSet.getTotalDuration() == Animator.DURATION_INFINITE; in init()
1282 mIsInfinite = set.getTotalDuration() == Animator.DURATION_INFINITE; in init()
1316 startTime += animator.getTotalDuration(); in parseAnimatorSet()
/frameworks/base/core/java/android/view/
DRenderNodeAnimator.java358 public long getTotalDuration() { in getTotalDuration() method in RenderNodeAnimator
/frameworks/base/config/
Dboot-image-profile.txt187 HSPLandroid/animation/AnimatorSet;->getTotalDuration()J
393 HSPLandroid/animation/ValueAnimator;->getTotalDuration()J
Dhiddenapi-greylist-max-o.txt187 Landroid/accessibilityservice/GestureDescription;->getTotalDuration(Ljava/util/List;)J
20823 Landroid/graphics/drawable/AnimatedStateListDrawable$FrameInterpolator;->getTotalDuration()I
/frameworks/base/api/
Dcurrent.txt3203 method public long getTotalDuration();