/frameworks/base/core/tests/coretests/src/android/animation/ |
D | AnimatorSetActivityTest.java | 152 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 …]
|
D | AnimatorSetEventsTest.java | 49 return (2 * mAnimator.getDuration()) + (2 * mAnimator.getStartDelay()) + in getTimeout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetailClipper.java | 61 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/ |
D | LocalAnimationAdapter.java | 66 return mSpec.getDuration(); in getDurationHint() 108 long getDuration(); in getDuration() method 139 final float duration = getDuration(); in getFraction()
|
D | WindowChangeAnimationSpec.java | 73 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()
|
D | FixedRotationAnimationController.java | 116 public long getDuration() { in createAnimationSpec() method 117 return animation.getDuration(); in createAnimationSpec()
|
D | WindowAnimationSpec.java | 83 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/ |
D | CodecTest.java | 96 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/ |
D | TextToastRecord.java | 63 mStatusBar.showToast(uid, pkg, token, text, windowToken, getDuration(), mCallback); in show() 82 + " duration=" + getDuration() in toString()
|
D | ToastRecord.java | 68 public int getDuration() { in getDuration() method in ToastRecord
|
/frameworks/av/media/libmediaplayerservice/ |
D | TestPlayerStub.h | 98 virtual status_t getDuration(int *d) {return mPlayer->getDuration(d);} in getDuration() function
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/ |
D | MediaPlayerApiTest.java | 71 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/ |
D | MP3Seeker.h | 29 virtual bool getDuration(int64_t *durationUs) = 0;
|
D | VBRISeeker.h | 33 virtual bool getDuration(int64_t *durationUs);
|
D | XINGSeeker.h | 31 virtual bool getDuration(int64_t *durationUs);
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationSet.java | 237 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()
|
D | LayoutAnimationController.java | 301 mDuration = mAnimation.getDuration(); in start() 378 final float delay = mDelay * mAnimation.getDuration(); in getDelayForView()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventIndex.java | 160 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/ |
D | Animator.java | 191 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/ |
D | MediaPlayerGetDurationStateUnitTest.java | 56 player.getDuration(); in invokeMethodUnderTest()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 146 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/ |
D | VibrationEffect.java | 401 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/ |
D | android_graphics_animation_RenderNodeAnimator.cpp | 148 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/ |
D | StreamConfigurationDuration.java | 108 public long getDuration() { in getDuration() method in StreamConfigurationDuration
|
/frameworks/base/services/core/java/com/android/server/wm/animation/ |
D | ClipRectTBAnimation.java | 57 final long duration = getDuration(); in getTransformation()
|