Home
last modified time | relevance | path

Searched refs:getDuration (Results 1 – 25 of 138) 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/services/core/java/com/android/server/wm/
DLocalAnimationAdapter.java66 return mSpec.getDuration(); in getDurationHint()
108 long getDuration(); in getDuration() method
139 final float duration = getDuration(); in getFraction()
DWindowChangeAnimationSpec.java73 public long getDuration() { in getDuration() method in WindowChangeAnimationSpec
74 return mAnimation.getDuration(); in getDuration()
169 return Math.max(uptime, uptime + ((long) (((float) mAnimation.getDuration()) * 0.99f)) in calculateStatusBarTransitionStartTime()
185 pw.print(prefix); pw.println(mAnimation.getDuration()); in dump()
DFixedRotationAnimationController.java116 public long getDuration() { in createAnimationSpec() method
117 return animation.getDuration(); in createAnimationSpec()
DWindowAnimationSpec.java83 public long getDuration() { in getDuration() method in WindowAnimationSpec
129 + (long)(openTranslateAnimation.getDuration() * t) in calculateStatusBarTransitionStartTime()
/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/notification/toast/
DTextToastRecord.java63 mStatusBar.showToast(uid, pkg, token, text, windowToken, getDuration(), mCallback); in show()
82 + " duration=" + getDuration() in toString()
DToastRecord.java68 public int getDuration() { in getDuration() method in ToastRecord
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h98 virtual status_t getDuration(int *d) {return mPlayer->getDuration(d);} in getDuration() function
/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/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/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/base/services/people/java/com/android/server/people/data/
DEventIndex.java160 long offset = getDuration(lastTimeSlot) * numberOfTrailingZeros; in getMostRecentActiveTimeSlot()
315 private static long getDuration(Range<Long> timeSlot) { in getDuration() method in EventIndex
327 return (int) ((toSlot.getLower() - fromSlot.getLower()) / getDuration(fromSlot)); in diffTimeSlots()
338 final long duration = getDuration(latestTimeSlot); in getActiveTimeSlotsForType()
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerGetDurationStateUnitTest.java56 player.getDuration(); in invokeMethodUnderTest()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java146 public long getDuration() { in getDuration() method in CameraServiceProxy.CameraUsageEvent
331 FrameworkStatsLog.write(FrameworkStatsLog.CAMERA_ACTION_EVENT, e.getDuration(), in logCameraUsageEvent()
348 e.getDuration() + " ms"); in dumpUsageEvents()
367 .setLatency(e.getDuration()) in dumpUsageEvents()
/frameworks/base/core/java/android/os/
DVibrationEffect.java401 public abstract long getDuration(); in getDuration() method in VibrationEffect
432 public long getDuration() { in getDuration() method in VibrationEffect.OneShot
569 public long getDuration() { in getDuration() method in VibrationEffect.Waveform
757 public long getDuration() { in getDuration() method in VibrationEffect.Prebaked
891 public long getDuration() { in getDuration() method in VibrationEffect.Composed
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_animation_RenderNodeAnimator.cpp148 static jlong getDuration(JNIEnv* env, jobject clazz, jlong animatorPtr) { in getDuration() function
198 { "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()

123456