Searched defs:getDuration (Results 26 - 50 of 51) sorted by relevance

123

/frameworks/base/core/java/android/webkit/
H A DHTML5VideoView.java111 public int getDuration() { method in class:HTML5VideoView
113 return mPlayer.getDuration();
/frameworks/base/media/java/android/media/videoeditor/
H A DAudioTrack.java340 public long getDuration() { method in class:AudioTrack
H A DMediaImageItem.java351 final long transitionDurationMs = mBeginTransition.getDuration();
391 final long transitionDurationMs = mEndTransition.getDuration();
402 if (effect.getStartTime() + effect.getDuration() >
419 if (overlay.getStartTime() + overlay.getDuration() >
442 if (effect.getStartTime() > getDuration()) {
452 if (effectStartTimeMs + effect.getDuration() > getDuration()) {
453 effectDurationMs = getDuration() - effectStartTimeMs;
455 effectDurationMs = effect.getDuration();
459 effectDurationMs != effect.getDuration()) {
590 public long getDuration() { method in class:MediaImageItem
[all...]
H A DMediaItem.java249 public abstract long getDuration(); method in class:MediaItem
306 if (effect.getStartTime() + effect.getDuration() > getDuration()) {
315 invalidateTransitions(effect.getStartTime(), effect.getDuration());
340 invalidateTransitions(effect.getStartTime(), effect.getDuration());
429 if (overlay.getStartTime() + overlay.getDuration() > getDuration()) {
463 invalidateTransitions(overlay.getStartTime(), overlay.getDuration());
506 invalidateTransitions(overlay.getStartTime(), overlay.getDuration());
672 if (mBeginTransition.getDuration() > maxDurationM
[all...]
H A DMediaVideoItem.java349 mBeginBoundaryTimeMs, mBeginTransition.getDuration())) {
355 final long transitionDurationMs = mEndTransition.getDuration();
373 final long transitionDurationMs = mBeginTransition.getDuration();
398 final long transitionDurationMs = mEndTransition.getDuration();
469 public long getDuration() { method in class:MediaVideoItem
H A DVideoEditor.java703 public long getDuration(); method in interface:VideoEditor
H A DVideoEditorImpl.java550 public long getDuration() { method in class:VideoEditorImpl
1423 Long.toString(overlay.getDuration()));
1478 Long.toString(effect.getDuration()));
1535 serializer.attribute("", ATTR_DURATION, Long.toString(transition.getDuration()));
1806 mDurationMs -= mediaItem.getEndTransition().getDuration();
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp186 status_t getDuration(int* msec) function in class:android::BpMediaPlayer
435 status_t ret = getDuration(&msec);
H A Dmediaplayer.cpp398 ALOGV("getDuration");
403 ret = mPlayer->getDuration(&mDuration);
408 ALOGE("Attempt to call getDuration without a valid mediaplayer");
412 status_t MediaPlayer::getDuration(int *msec) function in class:android::MediaPlayer
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp926 status_t LiveSession::getDuration(int64_t *durationUs) { function in class:android::LiveSession
935 return getDuration(&durationUs) == OK && durationUs >= 0;
/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java499 * @see Animator#getDuration()
501 public long getDuration(int transitionType) { method in class:LayoutTransition
H A DValueAnimator.java487 public long getDuration() { method in class:ValueAnimator
/frameworks/base/core/java/android/view/
H A DViewPropertyAnimator.java265 public long getDuration() { method in class:ViewPropertyAnimator
271 return new ValueAnimator().getDuration();
/frameworks/base/core/java/android/widget/
H A DMediaController.java416 int duration = mPlayer.getDuration();
554 long duration = mPlayer.getDuration();
664 int getDuration(); method in interface:MediaController.MediaPlayerControl
H A DScroller.java204 public final int getDuration() { method in class:Scroller
H A DVideoView.java612 public int getDuration() { method in class:VideoView
617 mDuration = mMediaPlayer.getDuration();
H A DOverScroller.java227 public final int getDuration() { method in class:OverScroller
H A DStackView.java1027 return getDuration(false, 0);
1031 return getDuration(true, 0);
1035 return getDuration(false, velocity);
1039 return getDuration(true, velocity);
1042 private float getDuration(boolean invert, float velocity) { method in class:StackView.StackSlider
1058 return getDuration(invert, 0);
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java243 public int getDuration () { method in class:VideoDumpView
244 return mMediaPlayer.getDuration();
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp139 status_t VideoEditorPlayer::getDuration(int *msec) { function in class:android::VideoEditorPlayer
140 ALOGV("getDuration");
143 status_t err = mPlayer->getDuration(&durationUs);
H A DPreviewPlayer.cpp1860 status_t PreviewPlayer::getDuration(int64_t *durationUs) { function in class:android::PreviewPlayer
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java682 public long getDuration() { method in class:Animation
820 return (getStartOffset() + getDuration()) * (getRepeatCount() + 1);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp895 status_t MediaPlayerService::Client::getDuration(int *msec) function in class:android::MediaPlayerService::Client
897 ALOGV("getDuration");
900 status_t ret = p->getDuration(msec);
902 ALOGV("[%d] getDuration = %d", mConnId, *msec);
904 ALOGE("getDuration returned %d", ret);
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp1269 status_t AwesomePlayer::getDuration(int64_t *durationUs) { function in class:android::AwesomePlayer
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionGroup.java1053 int duration = ((RegisterCommand) evt).getDuration();
1760 public int getDuration() { method in class:SipSessionGroup.RegisterCommand

Completed in 190 milliseconds

123