/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | OverScroller.java | 169 return mScroller.mDuration; in getDuration() 212 final int duration = mScroller.mDuration; in computeScrollOffset() 408 private int mDuration; field in OverScroller.SplineOverScroller 540 mDuration *= timeCoef; in adjustDuration() 555 mDuration = duration; in startScroll() 601 mDuration = mSplineDuration = elapsedTime + extend; in extendDuration() 612 mDuration = 0; in springback() 634 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback() 641 mDuration = mSplineDuration = 0; in fling() 654 mDuration = mSplineDuration = getSplineFlingDuration(velocity); in fling() [all …]
|
D | FlingAnimation.java | 39 protected int mDuration; field in FlingAnimation 69 mDuration = Math.abs(mUY) > Math.abs(mUX) ? initFlingUpDuration() : initFlingLeftDuration(); in run() 71 mAnimationTimeFraction = ((float) mDuration) / (mDuration + DRAG_END_DELAY); in run() 76 final int duration = mDuration + DRAG_END_DELAY; in run() 179 final float time = t * mDuration; in onAnimationUpdate()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | OverScroller.java | 227 return Math.max(mScrollerX.mDuration, mScrollerY.mDuration); in getDuration() 302 final int duration = mScrollerX.mDuration; in computeScrollOffset() 562 private int mDuration; field in OverScroller.SplineOverScroller 678 mDuration *= timeCoef; in adjustDuration() 689 mDuration = duration; in startScroll() 712 mDuration = elapsedTime + extend; in extendDuration() 723 mDuration = 0; in springback() 745 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback() 752 mDuration = mSplineDuration = 0; in fling() 765 mDuration = mSplineDuration = getSplineFlingDuration(velocity); in fling() [all …]
|
D | Scroller.java | 50 private int mDuration; field in Scroller 176 return mDuration; in getDuration() 255 if (timePassed < mDuration) { in computeScrollOffset() 269 final float t = (float) timePassed / mDuration; in computeScrollOffset() 336 mDuration = duration; in startScroll() 344 mDurationReciprocal = 1.0f / mDuration; in startScroll() 395 mDuration = (int) (1000.0 * Math.exp(l / (DECELERATION_RATE - 1.0))); in fling() 459 mDuration = passed + extend; in extendDuration() 460 mDurationReciprocal = 1.0f / mDuration; in extendDuration()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcessStatsDetail.java | 316 if (lhs.mDuration < rhs.mDuration) { 318 } else if (lhs.mDuration > rhs.mDuration) { 328 if (lhs.mDuration < rhs.mDuration) { 330 } else if (lhs.mDuration > rhs.mDuration) { 339 long mDuration; field in ProcessStatsDetail.PkgService 351 if (pent.mDuration >= mOnePercentTime) { in fillServicesSection() 361 psvc.mDuration += pent.mDuration; in fillServicesSection() 376 service.mDuration / (float) mTotalTime, getActivity())); in fillServicesSection()
|
D | ProcStatsEntry.java | 234 if (service.mDuration > thisRunTime) { in evaluateTargetPackage() 237 + " run time is " + service.mDuration); in evaluateTargetPackage() 238 thisRunTime = service.mDuration; in evaluateTargetPackage() 319 final long mDuration; field in ProcStatsEntry.Service 325 mDuration = service.dumpTime(null, null, in Service() 333 mDuration = in.readLong(); in Service() 346 dest.writeLong(mDuration); in writeToParcel()
|
D | ProcStatsData.java | 66 private long mDuration; field in ProcStatsData 126 if (duration != mDuration) { in setDuration() 127 mDuration = duration; in setDuration() 133 return mDuration; in getDuration() 346 ParcelFileDescriptor pfd = mProcessStats.getStatsOverTime(mDuration); in load()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsDetail.java | 316 if (lhs.mDuration < rhs.mDuration) { 318 } else if (lhs.mDuration > rhs.mDuration) { 328 if (lhs.mDuration < rhs.mDuration) { 330 } else if (lhs.mDuration > rhs.mDuration) { 339 long mDuration; field in ProcessStatsDetail.PkgService 351 if (pent.mDuration >= mOnePercentTime) { in fillServicesSection() 361 psvc.mDuration += pent.mDuration; in fillServicesSection() 376 service.mDuration / (float) mTotalTime, getActivity())); in fillServicesSection()
|
D | ProcStatsEntry.java | 234 if (service.mDuration > thisRunTime) { in evaluateTargetPackage() 237 + " run time is " + service.mDuration); in evaluateTargetPackage() 238 thisRunTime = service.mDuration; in evaluateTargetPackage() 319 final long mDuration; field in ProcStatsEntry.Service 325 mDuration = service.dumpTime(null, null, in Service() 333 mDuration = in.readLong(); in Service() 346 dest.writeLong(mDuration); in writeToParcel()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | Other.java | 29 private long mDuration; field in Other 40 mDuration = Long.MIN_VALUE; in Other() 59 return mDuration >= 0; in hasDuration() 66 return mDuration; in getDuration() 70 if (duration == mDuration) { in setDuration() 73 mDuration = duration; in setDuration()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickResult.java | 27 private long mDuration; field in PickResult 60 return mDuration; in getDuration() 69 mDuration += currentMillis - mPickStartTime; in increaseDuration() 198 out.writeLong(mDuration); in writeToParcel() 217 result.mDuration = in.readLong(); 236 ", mDuration=" + mDuration + in toString()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | EdgeEffect.java | 106 private float mDuration; field in EdgeEffect 186 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) { in onPull() 195 mDuration = PULL_TIME; in onPull() 251 mDuration = RECEDE_TIME; in onRelease() 269 mDuration = 0.1f + (velocity * 0.03f); in onAbsorb() 350 final float t = Math.min((time - mStartTime) / mDuration, 1.f); in update() 364 mDuration = RECEDE_TIME; in update() 380 mDuration = PULL_DECAY_TIME; in update()
|
D | FlingScroller.java | 40 private int mDuration; field in FlingScroller 56 return mDuration; in getDuration() 96 mDuration = (int)Math.round(FLING_DURATION_PARAM in fling() 101 velocity * mDuration / DECELERATED_FACTOR / 1000); in fling() 139 Math.pow(1 - progress, DECELERATED_FACTOR - 1) / mDuration; in getV()
|
D | Paper.java | 115 private long mDuration; field in EdgeAnimation 126 mDuration = duration; in startAnimation() 155 float t = Utils.clamp((float)(now() - mStartTime) / mDuration, 0.0f, 1.0f); in update()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | PropertySetter.java | 51 private final long mDuration; field in PropertySetter.AnimatedPropertySetter 55 mDuration = duration; in AnimatedPropertySetter() 66 anim.setDuration(mDuration).setInterpolator(interpolator); in setViewAlpha() 77 anim.setDuration(mDuration).setInterpolator(interpolator); in setFloat() 88 anim.setDuration(mDuration).setInterpolator(interpolator); in setInt()
|
D | AnimatorPlaybackController.java | 70 private final long mDuration; field in AnimatorPlaybackController 90 mDuration = duration; in AnimatorPlaybackController() 136 return mDuration; in getDuration() 202 float playPos = mDuration * fraction; in clampDuration() 206 return Math.min((long) playPos, mDuration); in clampDuration()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SnackBar.java | 128 private int mDuration = LONG_DURATION_IN_MS; field in SnackBar.Builder 159 mDuration = duration; in setDuration() 194 private final int mDuration; field in SnackBar 211 mDuration = builder.mDuration; in SnackBar() 257 return mDuration; in getDuration()
|
D | SmsStorageLowWarningFragment.java | 161 private Duration mDuration; field in SmsStorageLowWarningFragment.ConfirmationDialog 179 mDuration = SmsReleaseStorage.parseMessageRetainingDuration(); in onCreateDialog() 180 mDurationString = SmsReleaseStorage.getMessageRetainingDurationString(mDuration); in onCreateDialog() 214 SmsReleaseStorage.durationToTimeInMillis(mDuration); in handleAction()
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
D | Animation.java | 53 private int mDuration; field in Animation 61 mDuration = duration; in setDuration() 84 float x = Utils.clamp((float) elapse / mDuration, 0f, 1f); in calculate() 87 if (elapse >= mDuration) mStartTime = NO_ANIMATION; in calculate()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | CrossFadeHelper.java | 38 private final int mDuration; field in CrossFadeHelper 56 mDuration = duration; in CrossFadeHelper() 71 fadeInAnimator.setDuration(mDuration); in getFadeInAnimator() 86 fadeOutAnimator.setDuration(mDuration); in getFadeOutAnimator()
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 67 private int mDuration; field in AudioPreview 256 mDuration = mPlayer.getDuration(); in showPostPrepareUI() 257 if (mDuration != 0) { in showPostPrepareUI() 258 mSeekBar.setMax(mDuration); in showPostPrepareUI() 329 if (mPlayer != null && !mSeeking && mDuration != 0) { in run() 377 mSeekBar.setProgress(mDuration); in onCompletion()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | MultiValueUpdateListener.java | 39 float newPercent = Math.min(1f, time / prop.mDuration); in onAnimationUpdate() 55 private final float mDuration; field in MultiValueUpdateListener.FloatProp 62 mDuration = duration; in FloatProp()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioTrackMonitor.java | 39 private long mDuration; field in AudioTrackMonitor 47 mExpireMs += mDuration; in flush() 60 mDuration = duration; in reset()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | SetupAnimationHelper.java | 70 private long mDuration = sFragmentTransitionDuration; field in SetupAnimationHelper.TransitionBuilder 90 mDuration = duration; in setDuration() 114 transition.setDuration(mDuration); in build()
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
D | ViewGroupItemVerticalExplodeAnimation.java | 91 private final int mDuration; field in ViewGroupItemVerticalExplodeAnimation.ViewExplodeAnimationJellyBeanMR2 97 mDuration = duration; in ViewExplodeAnimationJellyBeanMR2() 176 .setDuration(mDuration) in startAnimation()
|