/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsUi.java | 79 } else if (lhs.mDuration < rhs.mDuration) { 81 } else if (lhs.mDuration > rhs.mDuration) { 95 private long mDuration; field in ProcessStatsUi 144 mDuration = icicle != null ? icicle.getLong("duration", sDurations[0]) : sDurations[0]; in onCreate() 168 outState.putLong("duration", mDuration); in onSaveInstanceState() 245 long closestDelta = Math.abs(sDurations[0]-mDuration); in updateMenus() 247 long delta = Math.abs(sDurations[i]-mDuration); in updateMenus() 258 mDuration = sDurations[closestIndex]; in updateMenus() 301 mDuration = sDurations[id-MENU_DURATION]; in onOptionsItemSelected() 356 if (mStats == null || mLastDuration != mDuration) { in refreshStats() [all …]
|
D | ProcStatsEntry.java | 40 final long mDuration; field in ProcStatsEntry 63 mDuration = tmpTotals.totalTime; in ProcStatsEntry() 68 mWeight = (weightWithTime ? mDuration : 1) * (useUss ? mAvgUss : mAvgPss); in ProcStatsEntry() 69 if (DEBUG) Log.d(TAG, "New proc entry " + proc.mName + ": dur=" + mDuration in ProcStatsEntry() 78 mDuration = in.readLong(); in ProcStatsEntry() 175 if (service.mDuration > thisRunTime) { in evaluateTargetPackage() 178 + " run time is " + service.mDuration); in evaluateTargetPackage() 179 thisRunTime = service.mDuration; in evaluateTargetPackage() 281 dest.writeLong(mDuration); in writeToParcel() 311 final long mDuration; field in ProcStatsEntry.Service [all …]
|
D | ProcessStatsDetail.java | 120 String appLevelText = makePercentString(getResources(), mEntry.mDuration, mTotalTime); in createDetails() 208 makePercentString(getResources(), mEntry.mDuration, mTotalTime)); in fillDetailsSection() 215 if (lhs.mDuration < rhs.mDuration) { 217 } else if (lhs.mDuration > rhs.mDuration) { 229 long topLhs = lhs.size() > 0 ? lhs.get(0).mDuration : 0; 230 long topRhs = rhs.size() > 0 ? rhs.get(0).mDuration : 0; 270 long duration = service.mDuration; in fillServicesSection()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | OverScroller.java | 230 return Math.max(mScrollerX.mDuration, mScrollerY.mDuration); in getDuration() 305 final int duration = mScrollerX.mDuration; in computeScrollOffset() 565 private int mDuration; field in OverScroller.SplineOverScroller 681 mDuration *= timeCoef; in adjustDuration() 692 mDuration = duration; in startScroll() 715 mDuration = elapsedTime + extend; in extendDuration() 726 mDuration = 0; in springback() 748 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback() 755 mDuration = mSplineDuration = 0; in fling() 768 mDuration = mSplineDuration = getSplineFlingDuration(velocity); in fling() [all …]
|
D | Scroller.java | 51 private int mDuration; field in Scroller 177 return mDuration; in getDuration() 256 if (timePassed < mDuration) { in computeScrollOffset() 270 final float t = (float) timePassed / mDuration; in computeScrollOffset() 337 mDuration = duration; in startScroll() 345 mDurationReciprocal = 1.0f / mDuration; in startScroll() 396 mDuration = (int) (1000.0 * Math.exp(l / (DECELERATION_RATE - 1.0))); in fling() 460 mDuration = passed + extend; in extendDuration() 461 mDurationReciprocal = 1.0f / mDuration; in extendDuration()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | OverScrollerSGV.java | 232 return Math.max(mScrollerX.mDuration, mScrollerY.mDuration); in getDuration() 307 final int duration = mScrollerX.mDuration; in computeScrollOffset() 567 private int mDuration; field in OverScrollerSGV.SplineOverScroller 680 mDuration *= timeCoef; in adjustDuration() 691 mDuration = duration; in startScroll() 714 mDuration = elapsedTime + extend; in extendDuration() 725 mDuration = 0; in springback() 747 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback() 754 mDuration = mSplineDuration = 0; in fling() 767 mDuration = mSplineDuration = getSplineFlingDuration(velocity); in fling() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherScroller.java | 48 private int mDuration; field in LauncherScroller 206 return mDuration; in getDuration() 285 if (timePassed < mDuration) { in computeScrollOffset() 299 final float t = (float) timePassed / mDuration; in computeScrollOffset() 312 mCurrVelocity = velocityCoef * mDistance / mDuration * 1000.0f; in computeScrollOffset() 374 mDuration = duration; in startScroll() 382 mDurationReciprocal = 1.0f / (float) mDuration; in startScroll() 432 mDuration = getSplineFlingDuration(velocity); in fling() 512 mDuration = passed + extend; in extendDuration() 513 mDurationReciprocal = 1.0f / mDuration; in extendDuration()
|
D | LauncherViewPropertyAnimator.java | 52 long mDuration; field in LauncherViewPropertyAnimator 87 return mDuration; in getDuration() 162 mDuration = duration; in setDuration() 222 mViewPropertyAnimator.setDuration(mDuration); in start()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | SlideModel.java | 55 private int mDuration; field in SlideModel 66 mDuration = duration; in SlideModel() 81 mDuration = duration; in SlideModel() 212 return mDuration; in getDuration() 219 mDuration = duration; in setDuration() 537 mDuration = DEFAULT_SLIDE_DURATION; in resetDuration() 546 if ((duration > mDuration) in updateDuration() 547 || (mDuration == DEFAULT_SLIDE_DURATION)) { in updateDuration() 548 mDuration = duration; in updateDuration()
|
D | MediaModel.java | 47 protected int mDuration; field in MediaModel 103 return mDuration; in getDuration() 117 mDuration = duration; in setDuration() 222 mDuration = duration; in initMediaDuration()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 244 public String mDuration = null; field in CalendarEventModel 416 mDuration = null; in clear() 489 result = prime * result + ((mDuration == null) ? 0 : mDuration.hashCode()); in hashCode() 571 if (mDuration == null) { in equals() 572 if (other.mDuration != null) { in equals() 575 } else if (!mDuration.equals(other.mDuration)) { in equals() 660 if (TextUtils.isEmpty(mDuration)) { in isUnchanged() 661 if (!TextUtils.isEmpty(originalModel.mDuration)) { in isUnchanged() 664 } else if (!mDuration.equals(originalModel.mDuration)) { in isUnchanged()
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
D | VoicemailPlaybackPresenter.java | 151 private final AtomicInteger mDuration = new AtomicInteger(0); field in VoicemailPlaybackPresenter 315 mDuration.set(mPlayer.getDuration()); in postSuccessfullyFetchedContent() 349 mView.setClipPosition(0, mDuration.get()); in postSuccessfulPrepareActions() 466 mDuration.set(duration); in onPostExecute() 509 stopPlaybackAtPosition(0, mDuration.get()); in handleCompletion() 533 stopPlaybackAtPosition(mPlayer.getCurrentPosition(), mDuration.get()); in onStartTrackingTouch() 542 stopPlaybackAtPosition(mPlayer.getCurrentPosition(), mDuration.get()); in onStopTrackingTouch() 580 stopPlaybackAtPosition(mPlayer.getCurrentPosition(), mDuration.get()); in onClick() 607 mView.setClipPosition(currentPosition, mDuration.get()); 644 stopPlaybackAtPosition(mPlayer.getCurrentPosition(), mDuration.get()); in onPause()
|
/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/Music/src/com/android/music/ |
D | AudioPreview.java | 66 private int mDuration; field in AudioPreview 240 mDuration = mPlayer.getDuration(); in showPostPrepareUI() 241 if (mDuration != 0) { in showPostPrepareUI() 242 mSeekBar.setMax(mDuration); in showPostPrepareUI() 307 if (mPlayer != null && !mSeeking && mDuration != 0) { in run() 308 int progress = mPlayer.getCurrentPosition() / mDuration; in run() 354 mSeekBar.setProgress(mDuration); in onCompletion()
|
D | MediaPlaybackActivity.java | 375 mPosOverride = mDuration * progress / 1000; 1151 private long mDuration; field in MediaPlaybackActivity 1173 if ((pos >= 0) && (mDuration > 0)) { in refreshNow() 1175 int progress = (int) (1000 * pos / mDuration); in refreshNow() 1198 long smoothrefreshtime = mDuration / width; in refreshNow() 1310 mDuration = mService.duration(); in updateTrackInfo() 1311 mTotalTime.setText(MusicUtils.makeTimeString(this, mDuration / 1000)); in updateTrackInfo()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarSyncTestingBase.java | 119 m.put(CalendarContract.Events.DURATION, event.mDuration); in insertEvent() 227 String mDuration; field in CalendarSyncTestingBase.EventInfo 244 mDuration = null; in EventInfo() 255 mDuration = null; in EventInfo() 281 mDuration = null; in init() 320 mDuration = "P" + days + "D"; in init() 323 mDuration = "P" + seconds + "S"; in init()
|
D | CalendarProvider2Test.java | 499 String mDuration; field in CalendarProvider2Test.EventInfo 533 mDuration = null; in init() 575 mDuration = "P" + days + "D"; in init() 578 mDuration = "P" + seconds + "S"; in init() 1179 m.put(Events.DURATION, event.mDuration); in eventInfoToContentValues()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | TextHighlightingAnimation.java | 52 private final int mDuration; field in TextHighlightingAnimation 174 mDuration = duration; in TextHighlightingAnimation() 225 mTargetTime = now + mDuration; in startAnimation() 232 mTargetTime = (now + mDuration) - (mTargetTime - now); in startAnimation() 251 float virtualTime = (float)timeLeft / mDuration; in run()
|
/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/Launcher2/src/com/android/launcher2/ |
D | LauncherViewPropertyAnimator.java | 51 long mDuration; field in LauncherViewPropertyAnimator 86 return mDuration; in getDuration() 161 mDuration = duration; in setDuration() 221 mViewPropertyAnimator.setDuration(mDuration); in start()
|
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
D | ProgressBar.java | 204 private int mDuration; field in ProgressBar 264 mDuration = a.getInt(R.styleable.ProgressBar_indeterminateDuration, mDuration); in ProgressBar() 406 mDuration = 4000; in initProgressBar() 821 mAnimation.setDuration(mDuration); in startAnimation()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | ProjectPickerAdapter.java | 249 private String mDuration; field in LoadPreviewBitmapTask 261 mDuration = duration; in LoadPreviewBitmapTask() 310 mContextAdapter.drawBottomOverlay(result, mTitle, mDuration); in onPostExecute()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemView.java | 2185 private final long mDuration; field in ConversationItemView.CabAnimator 2196 mDuration = duration; in CabAnimator() 2202 animator.setDuration(mDuration); in createAnimator()
|