Home
last modified time | relevance | path

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

12345

/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DMediaPlayerProxyTestCase.java184 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/
DQSDetailClipper.java54 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/
DCodecTest.java88 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/
DSingleThreadedMediaPlayerProxy.java73 public synchronized int getDuration() { in getDuration() method in SingleThreadedMediaPlayerProxy
74 return mDelegate.getDuration(); in getDuration()
DMediaPlayerProxy.java42 int getDuration(); in getDuration() method
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h94 virtual status_t getDuration(int *d) {return mPlayer->getDuration(d);} in getDuration() function
DStagefrightPlayer.cpp135 status_t StagefrightPlayer::getDuration(int *msec) { in getDuration() function in android::StagefrightPlayer
139 status_t err = mPlayer->getDuration(&durationUs); in getDuration()
DMidiMetadataRetriever.cpp78 if (mMidiPlayer->getDuration(&duration) != NO_ERROR) { in extractMetadata()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DFirstFrameAnimatorHelper.java92 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/
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/support/v4/java/android/support/v4/media/
DTransportController.java55 public abstract long getDuration(); in getDuration() method in TransportController
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DFakeAnimator.java39 public long getDuration() { in getDuration() method in FakeAnimator
/frameworks/av/media/libstagefright/include/
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, 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.java299 mDuration = mAnimation.getDuration(); in start()
376 final float delay = mDelay * mAnimation.getDuration(); in getDelayForView()
/frameworks/support/v4/ics/android/support/v4/view/
DViewPropertyAnimatorCompatICS.java41 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/
DAppOpsCommand.java264 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/
DMediaPlayerGetDurationStateUnitTest.java56 player.getDuration(); in invokeMethodUnderTest()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationDuration.java108 public long getDuration() { in getDuration() method in StreamConfigurationDuration
/frameworks/support/v4/java/android/support/v4/view/
DViewPropertyAnimatorCompat.java41 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/
DRTSPSource.cpp127 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
DHTTPLiveSource.h42 virtual status_t getDuration(int64_t *durationUs);
DHTTPLiveSource.cpp130 status_t NuPlayer::HTTPLiveSource::getDuration(int64_t *durationUs) { in getDuration() function in android::NuPlayer::HTTPLiveSource
131 return mLiveSession->getDuration(durationUs); in getDuration()

12345