Home
last modified time | relevance | path

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

12

/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DSetupAnimationHelper.java155 if (animator.getDuration() > 0) { in applyAnimationTimeScale()
156 animator.setDuration((long) (animator.getDuration() * ANIMATION_TIME_SCALE)); in applyAnimationTimeScale()
173 if (transition.getDuration() > 0) { in applyAnimationTimeScale()
174 transition.setDuration((long) (transition.getDuration() * ANIMATION_TIME_SCALE)); in applyAnimationTimeScale()
/packages/apps/TV/src/com/android/tv/analytics/
DDurationTimer.java47 public long getDuration() { in getDuration() method in DurationTimer
58 long duration = getDuration(); in reset()
/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/Launcher2/src/com/android/launcher2/
DFirstFrameAnimatorHelper.java101 animation.getCurrentPlayTime() < animation.getDuration() && !isFinalFrame) { in onAnimationUpdate()
138 float flatFraction = animation.getCurrentPlayTime() / (float) animation.getDuration(); in print()
DLauncherAnimUtils.java61 if (animator.getDuration() == 0) { in startAnimationAfterNextDraw()
DLauncherViewPropertyAnimator.java85 public long getDuration() { in getDuration() method in LauncherViewPropertyAnimator
/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java104 currentPlayTime < animation.getDuration() && !isFinalFrame) { in onAnimationUpdate()
141 float flatFraction = animation.getCurrentPlayTime() / (float) animation.getDuration(); in print()
DDeleteDropTarget.java91 final int duration = fling.getDuration(); in onFlingToDelete()
DLauncherAnimUtils.java67 if (animator.getDuration() == 0) { in startAnimationAfterNextDraw()
DLauncherViewPropertyAnimator.java86 public long getDuration() { in getDuration() method in LauncherViewPropertyAnimator
/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()
DSnackBar.java256 public int getDuration() { in getDuration() method in SnackBar
/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/TV/usbtuner/src/com/android/usbtuner/exoplayer/
DMpegTsPlayer.java293 public long getDuration() { in getDuration() method in MpegTsPlayer
294 return mPlayer.getDuration(); in getDuration()
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java272 .setDuration(reveal.getDuration() / 3) in animateHintText()
273 .setStartDelay(reveal.getDuration() / 5) in animateHintText()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java55 public int getDuration() { in getDuration() method in FlingScroller
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java86 public final int getDuration() { in getDuration() method in FlingAnimation
/packages/apps/DeskClock/src/com/android/deskclock/
DAnimatorUtils.java122 animator.setCurrentPlayTime(Math.round(fraction * animator.getDuration())); in setAnimatedFraction()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsBase.java82 outState.putLong(DURATION, mStatsManager.getDuration()); in onSaveInstanceState()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DCallLogInteraction.java149 public Long getDuration() { in getDuration() method in CallLogInteraction
DCalendarInteraction.java173 public String getDuration() { in getDuration() method in CalendarInteraction
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackPresenter.java603 TimeUnit.MILLISECONDS.toSeconds(mMediaPlayer.getDuration())); in onPrepared()
605 mDuration.set(mMediaPlayer.getDuration()); in onPrepared()
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DPopupTransitionAnimation.java164 ThreadUtil.getMainThreadHandler().postDelayed(mCleanupRunnable, getDuration() * 2); in startAfterLayoutComplete()
/packages/apps/TV/src/com/android/tv/dvr/
DScheduledRecording.java314 public long getDuration() { in getDuration() method in ScheduledRecording

12