/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BaseCluster.java | 41 protected long mDuration; field in BaseCluster 49 mDuration = 0; in BaseCluster() 56 mDuration = duration; in BaseCluster() 68 return mDuration; in getDuration() 125 averageCenter(cluster.mCenter, cluster.mDuration); in absorbCluster() 135 mDuration = cluster.mDuration; in setCluster() 148 mDuration += cluster.mDuration; in absorbHistogram() 153 return mDuration > durationThreshold; in passThreshold() 164 mDuration = 0; in setHistogram() 166 mDuration += mHistogram.get(TimeStatsAggregator.WEEKEND); in setHistogram() [all …]
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
D | MusicTrack.java | 34 private int mDuration; field in MusicTrack 59 this.mDuration = duration; in MusicTrack() 127 return mDuration; in getDuration() 130 public void setDuration(int mDuration) { in setDuration() argument 131 this.mDuration = mDuration; in setDuration()
|
/frameworks/base/libs/hwui/ |
D | PropertyValuesAnimatorSet.cpp | 72 if (playTime == 0 && mDuration > 0) { in onPlayTimeChanged() 122 mDuration = mAnimators.empty() ? 0 : mAnimators[mAnimators.size() - 1]->getTotalDuration(); in init() 134 mDuration(duration) { in PropertyAnimator() 141 mTotalDuration = ((nsecs_t) mRepeatCount + 1) * mDuration + mStartDelay; in PropertyAnimator() 157 iteration = (playTime - mStartDelay) / mDuration; in setCurrentPlayTime() 158 currentIterationFraction = ((playTime - mStartDelay) % mDuration) / (float) mDuration; in setCurrentPlayTime()
|
D | Animator.cpp | 44 , mDuration(300) in BaseRenderNodeAnimator() 77 mDuration = duration; in setDuration() 130 mPlayTime : mDuration; in resolveStagingRequest() 144 mPlayTime = mPlayState == PlayState::Reversing ? 0 : mDuration; in resolveStagingRequest() 200 mStartTime = currentFrameTime - (mDuration - mPlayTime); in pushStaging() 232 if (mDuration < 0) { in transitionToRunning() 233 ALOGW("Your duration is strange and confusing: %" PRId64, mDuration); in transitionToRunning() 247 updatePlayTime(mDuration); in animate() 266 mPlayTime = mPlayState == PlayState::Reversing ? mDuration - playTime : playTime; in updatePlayTime() 278 if ((mPlayState == PlayState::Running || mPlayState == PlayState::Reversing) && mDuration > 0) { in updatePlayTime() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 235 return Math.max(mScrollerX.mDuration, mScrollerY.mDuration); in getDuration() 310 final int duration = mScrollerX.mDuration; in computeScrollOffset() 563 private int mDuration; field in OverScroller.SplineOverScroller 676 mDuration *= timeCoef; in adjustDuration() 687 mDuration = duration; in startScroll() 710 mDuration = elapsedTime + extend; in extendDuration() 721 mDuration = 0; in springback() 743 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback() 750 mDuration = mSplineDuration = 0; in fling() 763 mDuration = mSplineDuration = getSplineFlingDuration(velocity); in fling() [all …]
|
D | EdgeEffect.java | 88 private float mDuration; field in EdgeEffect 202 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) { in onPull() 211 mDuration = PULL_TIME; in onPull() 253 mDuration = RECEDE_TIME; in onRelease() 271 mDuration = 0.15f + (velocity * 0.02f); in onAbsorb() 357 final float t = Math.min((time - mStartTime) / mDuration, 1.f); in update() 370 mDuration = RECEDE_TIME; in update() 382 mDuration = PULL_DECAY_TIME; in update()
|
D | Scroller.java | 80 private int mDuration; field in Scroller 227 return mDuration; in getDuration() 306 if (timePassed < mDuration) { in computeScrollOffset() 314 final float t = (float) timePassed / mDuration; in computeScrollOffset() 327 mCurrVelocity = velocityCoef * mDistance / mDuration * 1000.0f; in computeScrollOffset() 389 mDuration = duration; in startScroll() 397 mDurationReciprocal = 1.0f / (float) mDuration; in startScroll() 447 mDuration = getSplineFlingDuration(velocity); in fling() 513 mDuration = passed + extend; in extendDuration() 514 mDurationReciprocal = 1.0f / mDuration; in extendDuration()
|
D | Toast.java | 94 int mDuration; field in Toast 135 service.enqueueToast(pkg, tn, mDuration); in show() 172 mDuration = duration; in setDuration() 173 mTN.mDuration = duration; in setDuration() 182 return mDuration; in getDuration() 286 result.mDuration = duration; in makeText() 361 int mDuration; field in Toast.TN 483 mParams.hideTimeoutMilliseconds = mDuration == in handleShow()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | TextProgressBar.java | 57 int mDuration = -1; field in TextProgressBar 121 mDuration = (int) (durationBase - mChronometer.getBase()); in setDurationBase() 122 if (mDuration <= 0) { in setDurationBase() 123 mDuration = 1; in setDurationBase() 125 mProgressBar.setMax(mDuration); in setDurationBase() 146 mProgressBar.setProgress(mDuration - remaining); in onChronometerTick()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | TransitionDrawable.java | 69 private int mDuration; field in TransitionDrawable 114 mDuration = mOriginalDuration = durationMillis; in startTransition() 140 if (time - mStartTimeMillis > mDuration) { in reverseTransition() 152 mDuration = mOriginalDuration = duration; in reverseTransition() 161 mDuration = (int) (mReverse ? time - mStartTimeMillis : in reverseTransition() 180 (SystemClock.uptimeMillis() - mStartTimeMillis) / mDuration; in draw()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | ViewPropertyAnimatorCompatSet.java | 41 private long mDuration = -1; field in ViewPropertyAnimatorCompatSet 69 if (mDuration >= 0) { in start() 70 animator.setDuration(mDuration); in start() 100 mDuration = duration; in setDuration()
|
/frameworks/wilhelm/src/itf/ |
D | IMIDITime.cpp | 30 SLuint32 duration = thiz->mDuration; in IMIDITime_GetDuration() 45 if (!(position < thiz->mDuration)) { in IMIDITime_SetPosition() 83 SLuint32 duration = thiz->mDuration; in IMIDITime_SetLoopPoints() 132 thiz->mDuration = 0; in IMIDITime_init()
|
/frameworks/base/core/java/android/view/animation/ |
D | Animation.java | 158 long mDuration; field in Animation 439 mDuration = durationMillis; in setDuration() 455 mDuration = 0; in restrictDuration() 460 long dur = mDuration + mStartOffset; in restrictDuration() 462 mDuration = durationMillis-mStartOffset; in restrictDuration() 466 if (mDuration <= 0) { in restrictDuration() 467 mDuration = 0; in restrictDuration() 491 mDuration = (long) (mDuration * scale); in scaleCurrentDuration() 691 return mDuration; in getDuration() 848 final long duration = mDuration; in getTransformation()
|
D | AnimationSet.java | 209 mLastEnd = mStartOffset + mDuration; in setDuration() 234 mLastEnd = mStartOffset + mDuration; in addAnimation() 237 mDuration = a.getStartOffset() + a.getDuration(); in addAnimation() 238 mLastEnd = mStartOffset + mDuration; in addAnimation() 241 mDuration = mLastEnd - mStartOffset; in addAnimation() 307 duration = mDuration; in getDuration() 443 final long duration = mDuration; in initialize()
|
D | LayoutAnimationController.java | 94 private long mDuration; field in LayoutAnimationController 301 mDuration = mAnimation.getDuration(); in start() 343 mAnimation.getStartTime() + mMaxDelay + mDuration; in isDone()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | FocusHighlightHelper.java | 60 private final int mDuration; field in FocusHighlightHelper.FocusAnimator 84 mDuration = duration; in FocusAnimator() 131 if (totalTime >= mDuration) { in onTimeUpdate() 135 fraction = (float) (totalTime / (double) mDuration); in onTimeUpdate() 265 private int mDuration; field in FocusHighlightHelper.HeaderItemFocusHighlight 278 mDuration = in lazyInit() 320 animator = new HeaderFocusAnimator(view, mSelectScale, mDuration); in viewFocused()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipConnectionBase.java | 49 private long mDuration = -1L; field in SipConnectionBase 71 mDuration = getDurationMillis(); in setState() 106 } else if (mDuration < 0) { in getDurationMillis() 109 dur = mDuration; in getDurationMillis()
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Event.java | 42 private int mDuration; field in Event 73 return mDuration; in getDuration() 84 + ", duration=" + mDuration in toString() 124 mEvent.mDuration = duration; in setDuration() 138 if (mEvent.mDuration <= 0) { in build()
|
/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 203 private long mDuration = 300; field in ValueAnimator 578 mDuration = duration; in setDuration() 583 return (long)(mDuration * sDurationScale); in getScaledDuration() 593 return mDuration; in getDuration() 601 return mStartDelay + (mDuration * (mRepeatCount + 1)); in getTotalDuration() 616 float fraction = mDuration > 0 ? (float) playTime / mDuration : 1; in setCurrentPlayTime() 736 return (long) (mDuration * mSeekFraction); in getCurrentPlayTime() 1339 int iteration = (int) (currentPlayTime / mDuration); in animateBasedOnPlayTime() 1340 int lastIteration = (int) (lastPlayTime / mDuration); in animateBasedOnPlayTime() 1356 if (mRepeatCount != INFINITE && currentPlayTime >= (mRepeatCount + 1) * mDuration) { in animateBasedOnPlayTime() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Voicemail.java | 33 private final Long mDuration; field in Voicemail 48 mDuration = duration; in Voicemail() 193 return mDuration; in getDuration() 264 dest.writeLong(mDuration); in writeToParcel() 308 mDuration = in.readLong(); in Voicemail()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/ |
D | Song.java | 41 @SerializedName("duration") private String mDuration = null; field in Song 57 return mDuration; in getDuration() 61 mDuration = duration; in setDuration()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DimLayer.java | 67 private long mDuration; field in DimLayer 247 return SystemClock.uptimeMillis() + duration < mStartTime + mDuration; in durationEndsEarlier() 297 mDuration = duration; in show() 343 float alpha = mStartAlpha + alphaDelta * (curTime - mStartTime) / mDuration; in stepAnimation() 373 pw.print(" mDuration="); pw.print(mDuration); in printTo()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | OverlayListView.java | 105 private long mDuration; field in OverlayListView.OverlayObject 175 mDuration = duration; in setDuration() 231 float normalizedTime = (currentTime - mStartTime) / (float) mDuration; in update()
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
D | ArcSwipe.java | 49 private final int mDuration; field in ArcSwipe.Gesture 53 mDuration = duration; in Gesture() 88 mGesture.mDuration, in sendSwipe()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaProfiles.h | 260 mDuration(0), in CamcorderProfile() 268 mDuration = copy.mDuration; in CamcorderProfile() 281 int mDuration; member
|