/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
D | MediaPlayerProxyTestCase.java | 184 int duration = mPlayer.getDuration(); in testGetDuration() 188 assertEquals(duration, mPlayer.getDuration()); in testGetDuration() 190 assertEquals(duration, mPlayer.getDuration()); in testGetDuration() 197 mPlayer.getDuration(); in testGetDurationAfterRelease_ShouldFail() 228 assertEquals(mPlayer.getDuration(), mPlayer.getCurrentPosition(), ERROR_TOLERANCE_MILLIS); in testGetCurrentPosition_FinishedPlaying() 243 assertTrue(mPlayer.getDuration() > 0); in testSeekHalfWayBeforePlaying() 244 mPlayer.seekTo(mPlayer.getDuration() / 2); in testSeekHalfWayBeforePlaying() 255 assertTrue(mPlayer.getDuration() > 0); in testHalfWaySeekWithStutteringAudio() 256 mPlayer.seekTo(mPlayer.getDuration() / 2); in testHalfWaySeekWithStutteringAudio() 267 mPlayer.seekTo(mPlayer.getDuration() / 2); in testResetWithoutReleaseAndThenReUse() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetailClipper.java | 54 mAnimator.setDuration((long)(mAnimator.getDuration() * 1.5)); in animateCircularClip() 59 mBackground.startTransition((int)(mAnimator.getDuration() * 0.6)); in animateCircularClip() 62 mDetail.postDelayed(mReverseBackground, (long)(mAnimator.getDuration() * 0.65)); in animateCircularClip() 72 mBackground.reverseTransition((int)(mAnimator.getDuration() * 0.35));
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CodecTest.java | 88 public static int getDuration(String filePath) { in getDuration() method in CodecTest 97 int duration = mp.getDuration(); in getDuration() 173 duration = mp.getDuration(); in setLooping() 210 int duration = mp.getDuration(); in pause() 354 duration = mp.getDuration(); in videoSeekTo() 386 duration = mp.getDuration(); in seekToEnd() 414 duration = mp.getDuration(); in shortMediaStop() 471 duration = mp.getDuration(); in seektoBeforeStart() 509 duration = mp.getDuration(); in mediaRecorderRecord() 577 duration = mp.getDuration(); in resourcesPlayback() [all …]
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
D | SingleThreadedMediaPlayerProxy.java | 73 public synchronized int getDuration() { in getDuration() method in SingleThreadedMediaPlayerProxy 74 return mDelegate.getDuration(); in getDuration()
|
D | MediaPlayerProxy.java | 42 int getDuration(); in getDuration() method
|
/frameworks/av/media/libmediaplayerservice/ |
D | TestPlayerStub.h | 94 virtual status_t getDuration(int *d) {return mPlayer->getDuration(d);} in getDuration() function
|
D | StagefrightPlayer.cpp | 135 status_t StagefrightPlayer::getDuration(int *msec) { in getDuration() function in android::StagefrightPlayer 139 status_t err = mPlayer->getDuration(&durationUs); in getDuration()
|
D | MidiMetadataRetriever.cpp | 78 if (mMidiPlayer->getDuration(&duration) != NO_ERROR) { in extractMetadata()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | FirstFrameAnimatorHelper.java | 92 animation.getCurrentPlayTime() < animation.getDuration()) { in onAnimationUpdate() 129 float flatFraction = animation.getCurrentPlayTime() / (float) animation.getDuration(); in print()
|
/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/support/v4/java/android/support/v4/media/ |
D | TransportController.java | 55 public abstract long getDuration(); in getDuration() method in TransportController
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
D | FakeAnimator.java | 39 public long getDuration() { in getDuration() method in FakeAnimator
|
/frameworks/av/media/libstagefright/include/ |
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, 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 | 299 mDuration = mAnimation.getDuration(); in start() 376 final float delay = mDelay * mAnimation.getDuration(); in getDelayForView()
|
/frameworks/support/v4/ics/android/support/v4/view/ |
D | ViewPropertyAnimatorCompatICS.java | 41 public static long getDuration(View view) { in getDuration() method in ViewPropertyAnimatorCompatICS 42 return view.animate().getDuration(); in getDuration()
|
/frameworks/base/cmds/appops/src/com/android/commands/appops/ |
D | AppOpsCommand.java | 264 if (ent.getDuration() == -1) { in runGet() 266 } else if (ent.getDuration() != 0) { in runGet() 269 TimeUtils.formatDuration(ent.getDuration(), sb); in runGet()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerGetDurationStateUnitTest.java | 56 player.getDuration(); in invokeMethodUnderTest()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfigurationDuration.java | 108 public long getDuration() { in getDuration() method in StreamConfigurationDuration
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPropertyAnimatorCompat.java | 41 public long getDuration(ViewPropertyAnimatorCompat vpa, View view); in getDuration() method 110 public long getDuration(ViewPropertyAnimatorCompat vpa, View view) { in getDuration() method in ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl 362 public long getDuration(ViewPropertyAnimatorCompat vpa, View view) { in getDuration() method in ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl 363 return ViewPropertyAnimatorCompatICS.getDuration(view); in getDuration() 745 public long getDuration() { in getDuration() method in ViewPropertyAnimatorCompat 748 return IMPL.getDuration(this, view); in getDuration()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.cpp | 127 getDuration(&mediaDurationUs); in pause() 166 getDuration(&mediaDurationUs); in haveSufficientDataOnAllTracks() 211 getDuration(&mediaDurationUs); in dequeueAccessUnit() 272 status_t NuPlayer::RTSPSource::getDuration(int64_t *durationUs) { in getDuration() function in android::NuPlayer::RTSPSource
|
D | HTTPLiveSource.h | 42 virtual status_t getDuration(int64_t *durationUs);
|
D | HTTPLiveSource.cpp | 130 status_t NuPlayer::HTTPLiveSource::getDuration(int64_t *durationUs) { in getDuration() function in android::NuPlayer::HTTPLiveSource 131 return mLiveSession->getDuration(durationUs); in getDuration()
|