/frameworks/base/core/java/android/view/ |
H A D | RemoteAnimationAdapter.java | 52 private final long mDuration; field in class:RemoteAnimationAdapter 67 mDuration = duration; 73 mDuration = in.readLong(); 82 return mDuration; 111 dest.writeLong(mDuration);
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
H A D | OringDurationTracker.cpp | 48 clonedTracker->mDuration = 0; 104 mDuration += (timestamp - mLastStartTime); 105 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket); 107 (long long)mDuration); 126 mDuration += (timestamp - mLastStartTime); 128 (long long)mDuration); 129 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket); 160 mDuration += (currentBucketEndTimeNs - mLastStartTime); 162 if (mDuration > 0) { 166 current_info.mDuration [all...] |
H A D | MaxDurationTracker.cpp | 158 if (duration.lastDuration > mDuration) { 159 mDuration = duration.lastDuration; 160 VLOG("Max: new max duration: %lld", (long long)mDuration); 218 // mDuration is updated in noteStop to the maximum duration that ended in the current bucket. 219 if (mDuration != 0) { 223 info.mDuration = mDuration; 225 VLOG(" final duration for last bucket: %lld", (long long)mDuration); 235 mDuration = 0; 313 // Note that we don't update mDuration her [all...] |
H A D | DurationTracker.h | 57 int64_t mDuration; member in struct:android::os::statsd::DurationBucket 77 mDuration(0), 190 int64_t mDuration; // current recorded duration result (for partial bucket) member in class:android::os::statsd::DurationTracker
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/ |
H A D | ViewPropertyAnimatorCompatSet.java | 42 private long mDuration = -1; field in class:ViewPropertyAnimatorCompatSet 70 if (mDuration >= 0) { 71 animator.setDuration(mDuration); 101 mDuration = duration;
|
/frameworks/base/libs/hwui/ |
H A D | PropertyValuesAnimatorSet.cpp | 71 if (playTime == 0 && mDuration > 0) { 120 mDuration = mAnimators.empty() ? 0 : mAnimators[mAnimators.size() - 1]->getTotalDuration(); 134 , mDuration(duration) { 141 mTotalDuration = ((nsecs_t)mRepeatCount + 1) * mDuration + mStartDelay; 157 iteration = (playTime - mStartDelay) / mDuration; 158 currentIterationFraction = ((playTime - mStartDelay) % mDuration) / (float)mDuration;
|
H A D | Animator.cpp | 44 , mDuration(300) 75 mDuration = duration; 130 : mDuration; 144 mPlayTime = mPlayState == PlayState::Reversing ? 0 : mDuration; 194 // current time - mStartTime = stagingPlayTime (or mDuration -stagingPlayTime in the 200 mStartTime = currentFrameTime - (mDuration - mPlayTime); 232 if (mDuration < 0) { 233 ALOGW("Your duration is strange and confusing: %" PRId64, mDuration); 247 updatePlayTime(mDuration); 266 mPlayTime = mPlayState == PlayState::Reversing ? mDuration [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | TextProgressBar.java | 57 int mDuration = -1; field in class:TextProgressBar 121 mDuration = (int) (durationBase - mChronometer.getBase()); 122 if (mDuration <= 0) { 123 mDuration = 1; 125 mProgressBar.setMax(mDuration); 146 mProgressBar.setProgress(mDuration - remaining);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | TransitionDrawable.java | 69 private int mDuration; field in class:TransitionDrawable 114 mDuration = mOriginalDuration = durationMillis; 152 if (time - mStartTimeMillis > mDuration) { 164 mDuration = mOriginalDuration = duration; 173 mDuration = (int) (mReverse ? time - mStartTimeMillis : 192 (SystemClock.uptimeMillis() - mStartTimeMillis) / mDuration;
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
H A D | Interaction.java | 40 private final long mDuration; field in class:Interaction 87 mEvents = createInterpolatedEventList(mXPositions, mYPositions, mDuration); 92 mEvents = createInterpolatedEventList(mXPositions, mYPositions, mDuration); 153 mDuration = duration; 162 mDuration = 0; 184 mDuration = duration;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipConnectionBase.java | 49 private long mDuration = -1L; field in class:SipConnectionBase 71 mDuration = getDurationMillis(); 106 } else if (mDuration < 0) { 109 dur = mDuration;
|
/frameworks/wilhelm/src/itf/ |
H A D | IMIDITime.cpp | 30 SLuint32 duration = thiz->mDuration; 45 if (!(position < thiz->mDuration)) { 83 SLuint32 duration = thiz->mDuration; 132 thiz->mDuration = 0;
|
/frameworks/base/core/java/android/widget/ |
H A D | EdgeEffect.java | 90 private float mDuration; field in class:EdgeEffect 204 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) { 213 mDuration = PULL_TIME; 255 mDuration = RECEDE_TIME; 273 mDuration = 0.15f + (velocity * 0.02f); 359 final float t = Math.min((time - mStartTime) / mDuration, 1.f); 372 mDuration = RECEDE_TIME; 384 mDuration = PULL_DECAY_TIME;
|
H A D | OverScroller.java | 235 return Math.max(mScrollerX.mDuration, mScrollerY.mDuration); 310 final int duration = mScrollerX.mDuration; 563 private int mDuration; field in class:OverScroller.SplineOverScroller 662 * Modifies mDuration to the duration it takes to get from start to newFinal using the 676 mDuration *= timeCoef; 687 mDuration = duration; 710 mDuration = elapsedTime + extend; 721 mDuration = 0; 743 mDuration [all...] |
H A D | Scroller.java | 80 private int mDuration; field in class:Scroller 227 return mDuration; 306 if (timePassed < mDuration) { 314 final float t = (float) timePassed / mDuration; 327 mCurrVelocity = velocityCoef * mDistance / mDuration * 1000.0f; 389 mDuration = duration; 397 mDurationReciprocal = 1.0f / (float) mDuration; 447 mDuration = getSplineFlingDuration(velocity); 513 mDuration = passed + extend; 514 mDurationReciprocal = 1.0f / mDuration; [all...] |
/frameworks/base/core/java/android/os/ |
H A D | VibrationEffect.java | 323 private final long mDuration; field in class:VibrationEffect.OneShot 327 mDuration = in.readLong(); 332 mDuration = milliseconds; 338 return mDuration; 355 return new OneShot(mDuration, newAmplitude); 373 return new OneShot(mDuration, defaultAmplitude); 385 if (mDuration <= 0) { 387 "duration must be positive (duration=" + mDuration + ")"); 397 return other.mDuration == mDuration [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | FocusHighlightHelper.java | 62 private final int mDuration; field in class:FocusHighlightHelper.FocusAnimator 86 mDuration = duration; 133 if (totalTime >= mDuration) { 137 fraction = (float) (totalTime / (double) mDuration); 267 private int mDuration; field in class:FocusHighlightHelper.HeaderItemFocusHighlight 285 mDuration = value.data; 326 animator = new HeaderFocusAnimator(view, mSelectScale, mDuration);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StackScrollerDecorView.java | 39 private int mDuration = 260; field in class:StackScrollerDecorView 157 mDuration = duration; 188 .setDuration(mDuration)
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 158 long mDuration; field in class:Animation 444 mDuration = durationMillis; 460 mDuration = 0; 465 long dur = mDuration + mStartOffset; 467 mDuration = durationMillis-mStartOffset; 471 if (mDuration <= 0) { 472 mDuration = 0; 496 mDuration = (long) (mDuration * scale); 708 return mDuration; [all...] |
H A D | LayoutAnimationController.java | 94 private long mDuration; field in class:LayoutAnimationController 301 mDuration = mAnimation.getDuration(); 343 mAnimation.getStartTime() + mMaxDelay + mDuration;
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
H A D | Event.java | 42 private int mDuration; field in class:Event 73 return mDuration; 84 + ", duration=" + mDuration 124 mEvent.mDuration = duration; 138 if (mEvent.mDuration <= 0) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Dimmer.java | 352 private final long mDuration; field in class:Dimmer.AlphaAnimationSpec 359 mDuration = duration; 364 return mDuration; 378 pw.print(" duration="); pw.println(mDuration); 386 proto.write(DURATION_MS, mDuration);
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Voicemail.java | 33 private final Long mDuration; field in class:Voicemail 48 mDuration = duration; 193 return mDuration; 264 dest.writeLong(mDuration); 308 mDuration = in.readLong();
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
H A D | OverlayListView.java | 105 private long mDuration; field in class:OverlayListView.OverlayObject 175 mDuration = duration; 231 float normalizedTime = (currentTime - mStartTime) / (float) mDuration;
|
/frameworks/base/core/java/android/animation/ |
H A D | ValueAnimator.java | 203 private long mDuration = 300; field in class:ValueAnimator 583 mDuration = duration; 603 return (long)(mDuration * resolveDurationScale()); 613 return mDuration; 621 return mStartDelay + (mDuration * (mRepeatCount + 1)); 636 float fraction = mDuration > 0 ? (float) playTime / mDuration : 1; 756 return (long) (mDuration * mSeekFraction); 1362 int iteration = (int) (currentPlayTime / mDuration); 1363 int lastIteration = (int) (lastPlayTime / mDuration); [all...] |