/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | NewVoicemailMediaPlayerView.java | 215 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()
|
D | VoicemailEntryText.java | 88 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()
|
D | NewVoicemailMediaPlayer.java | 214 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/ |
D | SetupAnimationHelper.java | 143 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/ |
D | DurationTimer.java | 58 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/ |
D | InCallTonePlayer.java | 87 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/ |
D | LocalSearchProvider.java | 191 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/ |
D | AnimatorPlaybackController.java | 135 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()
|
D | SpringObjectAnimator.java | 188 public long getDuration() { in getDuration() method in SpringObjectAnimator 189 return mObjectAnimator.getDuration(); in getDuration()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FirstFrameAnimatorHelper.java | 96 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/ |
D | SimpleScrollAdapterTransform.java | 70 long duration = valueAnim.getDuration(); in applyTransformationRecursive() 80 long duration = animator.getDuration(); in initializeTransformationRecursive()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioAttachmentView.java | 236 mMediaPlayer.getDuration()); in setupMediaPlayer() 249 mMediaPlayer.getDuration()); in setupMediaPlayer() 250 mProgressBar.setDuration(mMediaPlayer.getDuration()); in setupMediaPlayer()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 298 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/ |
D | TrimVideo.java | 195 int duration = mVideoView.getDuration(); in setProgress() 222 if (delta < 100 || Math.abs(mVideoView.getDuration() - delta) < 100) { in isModified()
|
D | MoviePlayer.java | 281 mBookmarker.setBookmark(mUri, mVideoPosition, mVideoView.getDuration()); in onPause() 316 int duration = mVideoView.getDuration(); in setProgress()
|
/packages/apps/Dialer/java/com/android/dialer/calldetails/ |
D | CallDetailsEntryViewHolder.java | 137 context, entry.getDuration(), entry.getDataUsage())); in setCallDetails() 140 context, entry.getDuration(), entry.getDataUsage())); in setCallDetails()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyActionGroup.java | 252 .setDuration(reveal.getDuration() / 3) in animateHintText() 253 .setStartDelay(reveal.getDuration() / 5) in animateHintText()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 400 public long getDuration() { in getDuration() method in MpegTsPlayer 401 return mPlayer.getDuration(); in getDuration()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | MultiValueUpdateListener.java | 34 final float currentPlayTime = percent * animator.getDuration(); in onAnimationUpdate()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | PickResultTest.java | 32 assertThat(mPickResult.getDuration()).isEqualTo(9000); in testDuration()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | Other.java | 62 public long getDuration() { in getDuration() method in Other
|
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/ |
D | VoicemailDatabaseUtil.java | 65 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | WindowTransformSwipeHandler.java | 400 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/ |
D | AbstractStateChangeTouchController.java | 452 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/ |
D | FlingScroller.java | 55 public int getDuration() { in getDuration() method in FlingScroller
|