Home
last modified time | relevance | path

Searched refs:getDuration (Results 1 – 25 of 133) sorted by relevance

123456

/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java152 totalDuration += list.get(i).getDuration(); in testTotalDuration()
168 long duration = list.get(i).getDuration(); in testTotalDuration()
190 long duration = a1.getDuration() + a1.getStartDelay() + a2.getDuration() + a2 in testTotalDuration()
191 .getStartDelay() + a3.getDuration() + a3.getStartDelay(); in testTotalDuration()
192 long a4Duration = a4.getDuration() + a4.getStartDelay(); in testTotalDuration()
193 long a5Duration = a5.getDuration() + a5.getStartDelay(); in testTotalDuration()
207 assertTrue(s.getDuration() < 0); in testGetDuration()
209 assertTrue(s.getDuration() < 0); in testGetDuration()
213 assertEquals(duration, s.getDuration()); in testGetDuration()
221 assertTrue(s.getDuration() < 0);
[all …]
DAnimatorSetEventsTest.java49 return (2 * mAnimator.getDuration()) + (2 * mAnimator.getStartDelay()) + in getTimeout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailClipper.java61 mAnimator.setDuration((long)(mAnimator.getDuration() * 1.5)); in animateCircularClip()
66 mBackground.startTransition((int)(mAnimator.getDuration() * 0.6)); in animateCircularClip()
69 mDetail.postDelayed(mReverseBackground, (long)(mAnimator.getDuration() * 0.65)); in animateCircularClip()
79 mBackground.reverseTransition((int)(mAnimator.getDuration() * 0.35));
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java96 public static int getDuration(String filePath) { in getDuration() method in CodecTest
105 int duration = mp.getDuration(); in getDuration()
181 duration = mp.getDuration(); in setLooping()
218 int duration = mp.getDuration(); in pause()
362 duration = mp.getDuration(); in videoSeekTo()
394 duration = mp.getDuration(); in seekToEnd()
422 duration = mp.getDuration(); in shortMediaStop()
479 duration = mp.getDuration(); in seektoBeforeStart()
517 duration = mp.getDuration(); in mediaRecorderRecord()
585 duration = mp.getDuration(); in resourcesPlayback()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowChangeAnimationSpec.java78 public long getDuration() { in getDuration() method in WindowChangeAnimationSpec
79 return mAnimation.getDuration(); in getDuration()
174 return Math.max(uptime, uptime + ((long) (((float) mAnimation.getDuration()) * 0.99f)) in calculateStatusBarTransitionStartTime()
190 pw.print(prefix); pw.println(mAnimation.getDuration()); in dump()
DLocalAnimationAdapter.java70 return mSpec.getDuration(); in getDurationHint()
119 long getDuration(); in getDuration() method
DWindowAnimationSpec.java89 public long getDuration() { in getDuration() method in WindowAnimationSpec
135 + (long)(openTranslateAnimation.getDuration() * t) in calculateStatusBarTransitionStartTime()
DSurfaceAnimationRunner.java174 anim.setDuration(a.mAnimSpec.getDuration()); in startAnimationLocked()
178 final long duration = anim.getDuration(); in startAnimationLocked()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/
DMediaPlayerApiTest.java71 int duration = CodecTest.getDuration(MediaNames.MP3CBR); in testMP3CBRGetDuration()
78 int duration = CodecTest.getDuration(MediaNames.MP3VBR); in testMP3VBRGetDuration()
86 int duration = CodecTest.getDuration(MediaNames.MIDI); in testMIDIGetDuration()
93 int duration = CodecTest.getDuration(MediaNames.AMR); in testAMRGetDuration()
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h98 virtual status_t getDuration(int *d) {return mPlayer->getDuration(d);} in getDuration() function
/frameworks/base/core/java/android/view/animation/
DAnimationSet.java237 mDuration = a.getStartOffset() + a.getDuration(); in addAnimation()
240 mLastEnd = Math.max(mLastEnd, mStartOffset + a.getStartOffset() + a.getDuration()); in addAnimation()
300 public long getDuration() { in getDuration() method in AnimationSet
310 duration = Math.max(duration, animations.get(i).getDuration()); in getDuration()
DLayoutAnimationController.java301 mDuration = mAnimation.getDuration(); in start()
378 final float delay = mDelay * mAnimation.getDuration(); in getDelayForView()
/frameworks/av/media/extractors/mp3/
DMP3Seeker.h29 virtual bool getDuration(int64_t *durationUs) = 0;
DVBRISeeker.h33 virtual bool getDuration(int64_t *durationUs);
DXINGSeeker.h31 virtual bool getDuration(int64_t *durationUs);
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/
DAnimationProps.java121 animator.setDuration(getDuration(propertyType)); in apply()
165 public long getDuration(@PropType int propertyType) { in getDuration() method in AnimationProps
/frameworks/base/core/java/android/animation/
DAnimator.java191 public abstract long getDuration(); in getDuration() method in Animator
202 long duration = getDuration(); in getTotalDuration()
/frameworks/base/core/java/android/os/
DVibrationEffect.java374 public abstract long getDuration(); in getDuration() method in VibrationEffect
405 public long getDuration() { in getDuration() method in VibrationEffect.OneShot
542 public long getDuration() { in getDuration() method in VibrationEffect.Waveform
730 public long getDuration() { in getDuration() method in VibrationEffect.Prebaked
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerGetDurationStateUnitTest.java56 player.getDuration(); in invokeMethodUnderTest()
/frameworks/base/core/jni/
Dandroid_view_RenderNodeAnimator.cpp153 static jlong getDuration(JNIEnv* env, jobject clazz, jlong animatorPtr) { in getDuration() function
203 { "nGetDuration", "(J)J", (void*) getDuration },
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationDuration.java108 public long getDuration() { in getDuration() method in StreamConfigurationDuration
/frameworks/base/services/core/java/com/android/server/wm/animation/
DClipRectTBAnimation.java57 final long duration = getDuration(); in getTransformation()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableStreamConfigurationDuration.java58 buffer.putLong(value.getDuration()); in marshal()
/frameworks/base/core/java/android/view/
DRemoteAnimationAdapter.java94 public long getDuration() { in getDuration() method in RemoteAnimationAdapter
/frameworks/base/core/java/android/transition/
DCircularPropagation.java92 long duration = transition.getDuration(); in getStartDelay()

123456