Home
last modified time | relevance | path

Searched refs:getDuration (Results 1 – 25 of 65) 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.java191 row.add(result.getDuration() == 0 ? null : String.valueOf(result.getDuration())); in createSuggestionsCursor()
303 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
316 long forceDuration = anim.getDuration(); in getAnimationsRecur()
345 anim.setCurrentPlayTime(Math.min(playPos, anim.getDuration())); in setPlayFraction()
DSpringObjectAnimator.java188 public long getDuration() { in getDuration() method in SpringObjectAnimator
189 return mObjectAnimator.getDuration(); in getDuration()
/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java96 currentPlayTime < animation.getDuration() && !isFinalFrame) { in onAnimationUpdate()
130 float flatFraction = animation.getCurrentPlayTime() / (float) animation.getDuration(); in print()
/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/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.java298 translationX.setDuration(translationX.getDuration() - delay); in addPreviewItemAnimators()
299 translationY.setDuration(translationY.getDuration() - delay); in addPreviewItemAnimators()
300 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.java252 .setDuration(reveal.getDuration() / 3) in animateHintText()
253 .setStartDelay(reveal.getDuration() / 5) in animateHintText()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java400 public long getDuration() { in getDuration() method in MpegTsPlayer
401 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/Dialer/java/com/android/voicemail/impl/utils/
DVoicemailDatabaseUtil.java65 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java400 long theirDuration = anim.getDuration() - anim.getCurrentPlayTime(); in getFadeInDuration()
1017 if (mRecentsView.getScroller().getDuration() > MAX_SWIPE_DURATION) { in handleNormalGestureEnd()
1020 duration = Math.max(duration, mRecentsView.getScroller().getDuration()); in handleNormalGestureEnd()
1029 duration = Math.max(duration, mRecentsView.getScroller().getDuration()); in handleNormalGestureEnd()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java452 mAtomicAnimAutoPlayInfo = new AutoPlayAtomicAnimationInfo(endProgress, anim.getDuration()); in onDragEnd()
501 remainingDuration = Math.max(remainingDuration, anim.getDuration()); in getRemainingAtomicDuration()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java55 public int getDuration() { in getDuration() method in FlingScroller

123