Home
last modified time | relevance | path

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

12

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DMediaLinearLayout.java1169 id, 0, mediaItem.getDuration(), startRect, endRect); in addEffect()
1175 mediaItem.getDuration(), EffectColor.TYPE_GRADIENT, in addEffect()
1182 mediaItem.getDuration(), EffectColor.TYPE_SEPIA, 0); in addEffect()
1188 mediaItem.getDuration(), EffectColor.TYPE_NEGATIVE, 0); in addEffect()
2413 mMediaItem.getDuration()) : durationMs >=
2431 videoClip ? (mi.getAppBoundaryEndTime() >= mi.getDuration()) :
2502 mMediaItem.getDuration()) {
2503 newDurationMs = mMediaItem.getDuration() -
2548 mMediaItem.getDuration()) : newDurationMs >=
DAudioTrackView.java244 final int numFramesComp = (int)audioTrack.getDuration() / mWaveformData.getFrameDuration(); in setWaveformData()
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DMovieEffect.java53 mDurationMs = effect.getDuration(); in MovieEffect()
93 public long getDuration() { in getDuration() method in MovieEffect
DMovieOverlay.java67 mAppDurationMs = mDurationMs = overlay.getDuration(); in MovieOverlay()
116 long getDuration() { in getDuration() method in MovieOverlay
DMovieAudioTrack.java79 mDurationMs = audioTrack.getDuration(); in MovieAudioTrack()
306 public long getDuration() { in getDuration() method in MovieAudioTrack
DMovieMediaItem.java107 mDurationMs = mediaItem.getDuration(); in MovieMediaItem()
339 public long getDuration() { in getDuration() method in MovieMediaItem
DMovieTransition.java59 mAppDurationMs = mDurationMs = transition.getDuration(); in MovieTransition()
188 long getDuration() { in getDuration() method in MovieTransition
DApiService.java2143 overlay.setDuration(Math.min(overlay.getDuration(), in processIntent()
2145 } else if (overlay.getStartTime() + overlay.getDuration() > in processIntent()
2148 mediaItem.getBoundaryEndTime() - overlay.getDuration())); in processIntent()
3341 oldMediaItem.setAppExtractBoundaries(0, oldMediaItem.getDuration()); in onIntentProcessed()
3567 transition.setAppDuration(transition.getDuration()); in onIntentProcessed()
3700 overlay.setAppDuration(overlay.getDuration()); in onIntentProcessed()
4392 movieOverlay.getStartTime(), movieOverlay.getDuration()); in applyThemeToMovie()
4526 Math.min(movieOverlay.getDuration(), in applyThemeToMediaItem()
4527 mediaItem.getDuration() - movieOverlay.getStartTime())); in applyThemeToMediaItem()
/packages/apps/Launcher2/src/com/android/launcher2/
DFirstFrameAnimatorHelper.java100 animation.getCurrentPlayTime() < animation.getDuration()) { in onAnimationUpdate()
137 float flatFraction = animation.getCurrentPlayTime() / (float) animation.getDuration(); in print()
DLauncherAnimUtils.java61 if (animator.getDuration() == 0) { in startAnimationAfterNextDraw()
DLauncherViewPropertyAnimator.java86 public long getDuration() { in getDuration() method in LauncherViewPropertyAnimator
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowEditor.java171 slide.updateDuration(audio.getDuration()); in changeAudio()
179 slide.updateDuration(video.getDuration()); in changeVideo()
DSlideshowActivity.java347 public int getDuration() { in getDuration() method in SlideshowActivity.SmilPlayerController
348 return mPlayer.getDuration(); in getDuration()
DSlideEditorActivity.java407 duration.replace("%s", String.valueOf(slide.getDuration() / 1000))).setIcon( in onPrepareOptionsMenu()
540 mSlideshowModel.get(mPosition).getDuration() / 1000); // in seconds in showDurationDialog()
DSlideshowEditActivity.java386 int dur = slide.getDuration() / 1000; in createViewFromResource()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimVideo.java195 int duration = mVideoView.getDuration(); in setProgress()
220 if (delta < 100 || Math.abs(mVideoView.getDuration() - delta) < 100) { in isModified()
DMoviePlayer.java284 mBookmarker.setBookmark(mUri, mVideoPosition, mVideoView.getDuration()); in onPause()
319 int duration = mVideoView.getDuration(); in setProgress()
/packages/apps/Mms/src/com/android/mms/model/
DSlideModel.java87 int mediaDur = media.getDuration(); in SlideModel()
211 public int getDuration() { in getDuration() method in SlideModel
DSmilHelper.java307 par.setDur(slide.getDuration() / 1000f); in createSmilDocument()
355 int duration = media.getDuration(); in createSmilDocument()
DMediaModel.java102 public int getDuration() { in getDuration() method in MediaModel
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackPresenter.java349 mView.setClipPosition(0, mPlayer.getDuration()); in postSuccessfulPrepareActions()
458 mDuration.set(mPlayer.getDuration()); in resetPrepareStartPlaying()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java55 public int getDuration() { in getDuration() method in FlingScroller
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java176 public final int getDuration() { in getDuration() method in Scroller
DOverScroller.java229 public final int getDuration() { in getDuration() method in OverScroller
/packages/apps/Music/src/com/android/music/
DAudioPreview.java240 mDuration = mPlayer.getDuration(); in showPostPrepareUI()

12