Home
last modified time | relevance | path

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

123

/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java215 if (seekBarView.getMax() != mp.getDuration()) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
216 seekBarView.setMax(mp.getDuration()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
228 if (seekBarView.getMax() != mp.getDuration()) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
229 seekBarView.setMax(mp.getDuration()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
577 Assert.checkArgument(mediaPlayer.getDuration() >= 0); in updateSeekBarDurationAndShowPlayButton()
584 if (seekBarView.getMax() != mediaPlayer.getDuration()) { in updateSeekBarDurationAndShowPlayButton()
585 seekBarView.setMax(mediaPlayer.getDuration()); in updateSeekBarDurationAndShowPlayButton()
640 if (seekBarView.getMax() != mediaPlayer.getDuration()) { in setToPausedState()
641 seekBarView.setMax(mediaPlayer.getDuration()); in setToPausedState()
656 Assert.checkArgument(this.mediaPlayer.getDuration() >= 0); in setToPausedState()
DVoicemailEntryText.java88 long duration = voicemailEntry.getDuration(); in secondaryTextPrefix()
98 long minutes = TimeUnit.SECONDS.toMinutes(voicemailEntry.getDuration()); in getVoicemailDuration()
99 long seconds = voicemailEntry.getDuration() - TimeUnit.MINUTES.toSeconds(minutes); in getVoicemailDuration()
108 voicemailEntry.getDuration()); in getVoicemailDuration()
DNewVoicemailMediaPlayer.java214 public int getDuration() { in getDuration() method in NewVoicemailMediaPlayer
216 return mediaPlayer.getDuration(); in getDuration()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DSetupAnimationHelper.java143 if (animator.getDuration() > 0) { in applyAnimationTimeScale()
144 animator.setDuration((long) (animator.getDuration() * ANIMATION_TIME_SCALE)); in applyAnimationTimeScale()
159 if (transition.getDuration() > 0) { in applyAnimationTimeScale()
160 transition.setDuration((long) (transition.getDuration() * ANIMATION_TIME_SCALE)); in applyAnimationTimeScale()
/packages/apps/TV/common/src/com/android/tv/common/util/
DDurationTimer.java58 public long getDuration() { in getDuration() method in DurationTimer
69 long duration = getDuration(); in reset()
77 Log.i(mTag, message + " : " + getDuration() + "ms"); in log()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallTonePlayer.java87 int getDuration(); in getDuration() method
133 public int getDuration() { in getDuration() method in InCallTonePlayer.MediaPlayerAdapterImpl
135 return mMediaPlayer.getDuration(); in getDuration()
424 int durationMillis = mToneMediaPlayer.getDuration(); in playMediaTone()
/packages/apps/TV/src/com/android/tv/search/
DLocalSearchProvider.java203 row.add(result.getDuration() == 0 ? null : String.valueOf(result.getDuration())); in createSuggestionsCursor()
324 abstract long getDuration(); in getDuration() method in LocalSearchProvider.SearchResult
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatorPlaybackController.java135 public long getDuration() { in getDuration() method in AnimatorPlaybackController
323 long forceDuration = anim.getDuration(); in getAnimationsRecur()
352 anim.setCurrentPlayTime(Math.min(playPos, anim.getDuration())); in setPlayFraction()
DSpringObjectAnimator.java191 public long getDuration() { in getDuration() method in SpringObjectAnimator
192 return mObjectAnimator.getDuration(); in getDuration()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DSimpleScrollAdapterTransform.java70 long duration = valueAnim.getDuration(); in applyTransformationRecursive()
80 long duration = animator.getDuration(); in initializeTransformationRecursive()
/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java96 currentPlayTime < animation.getDuration() && !isFinalFrame) { in onAnimationUpdate()
133 float flatFraction = animation.getCurrentPlayTime() / (float) animation.getDuration(); in print()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioAttachmentView.java236 mMediaPlayer.getDuration()); in setupMediaPlayer()
249 mMediaPlayer.getDuration()); in setupMediaPlayer()
250 mProgressBar.setDuration(mMediaPlayer.getDuration()); in setupMediaPlayer()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java355 translationX.setDuration(translationX.getDuration() - delay); in addPreviewItemAnimators()
356 translationY.setDuration(translationY.getDuration() - delay); in addPreviewItemAnimators()
357 scaleAnimator.setDuration(scaleAnimator.getDuration() - delay); in addPreviewItemAnimators()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimVideo.java195 int duration = mVideoView.getDuration(); in setProgress()
222 if (delta < 100 || Math.abs(mVideoView.getDuration() - delta) < 100) { in isModified()
DMoviePlayer.java281 mBookmarker.setBookmark(mUri, mVideoPosition, mVideoView.getDuration()); in onPause()
316 int duration = mVideoView.getDuration(); in setProgress()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsEntryViewHolder.java137 context, entry.getDuration(), entry.getDataUsage())); in setCallDetails()
140 context, entry.getDuration(), entry.getDataUsage())); in setCallDetails()
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java250 .setDuration(reveal.getDuration() / 3) in animateHintText()
251 .setStartDelay(reveal.getDuration() / 5) in animateHintText()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java401 public long getDuration() { in getDuration() method in MpegTsPlayer
402 return mPlayer.getDuration(); in getDuration()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DMultiValueUpdateListener.java34 final float currentPlayTime = percent * animator.getDuration(); in onAnimationUpdate()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DPickResultTest.java32 assertThat(mPickResult.getDuration()).isEqualTo(9000); in testDuration()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DOther.java62 public long getDuration() { in getDuration() method in Other
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java441 mAtomicAnimAutoPlayInfo = new AutoPlayAtomicAnimationInfo(endProgress, anim.getDuration()); in onDragEnd()
490 remainingDuration = Math.max(remainingDuration, anim.getDuration()); in getRemainingAtomicDuration()
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DVoicemailDatabaseUtil.java65 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java55 public int getDuration() { in getDuration() method in FlingScroller
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMessage.java69 public abstract Long getDuration() throws MessagingException; in getDuration() method in Message

123