Home
last modified time | relevance | path

Searched refs:dur (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipConnectionBase.java103 long dur; in getDurationMillis() local
105 dur = 0; in getDurationMillis()
107 dur = SystemClock.elapsedRealtime() - mConnectTimeReal; in getDurationMillis()
109 dur = mDuration; in getDurationMillis()
111 if (VDBG) log("getDurationMillis: ret=" + dur); in getDurationMillis()
112 return dur; in getDurationMillis()
117 long dur; in getHoldDurationMillis() local
120 dur = 0; in getHoldDurationMillis()
122 dur = SystemClock.elapsedRealtime() - mHoldingStartTime; in getHoldDurationMillis()
124 if (VDBG) log("getHoldDurationMillis: ret=" + dur); in getHoldDurationMillis()
[all …]
/frameworks/support/design/lollipop/android/support/design/widget/
DViewUtilsLollipop.java57 final int dur = view.getResources().getInteger(R.integer.app_bar_elevation_anim_duration); in setDefaultAppBarLayoutStateListAnimator() local
64 ObjectAnimator.ofFloat(view, "elevation", 0f).setDuration(dur)); in setDefaultAppBarLayoutStateListAnimator()
68 ObjectAnimator.ofFloat(view, "elevation", elevation).setDuration(dur)); in setDefaultAppBarLayoutStateListAnimator()
/frameworks/base/core/java/android/view/animation/
DAnimation.java459 long dur = mDuration + mStartOffset; in restrictDuration() local
460 if (dur > durationMillis) { in restrictDuration()
462 dur = durationMillis; in restrictDuration()
474 || (dur*mRepeatCount) > durationMillis) { in restrictDuration()
477 mRepeatCount = (int)(durationMillis/dur) - 1; in restrictDuration()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp526 int dur = ANDROID_UNKNOWN_TIME; in android_Player_getDuration() local
528 avp->mAVPlayer->getDurationMsec(&dur); in android_Player_getDuration()
530 if (dur == ANDROID_UNKNOWN_TIME) { in android_Player_getDuration()
533 *pDurMsec = (XAmillisecond)dur; in android_Player_getDuration()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java411 public void addFrame(Drawable dr, int dur) { in addFrame() argument
415 mDurations[pos] = dur; in addFrame()
/frameworks/base/media/java/android/media/
DTtmlRenderer.java455 long dur = 0; in parseNode() local
468 dur = TtmlUtils.parseTimeExpression(value, DEFAULT_FRAMERATE, DEFAULT_SUBFRAMERATE, in parseNode()
480 if (dur > 0) { in parseNode()
485 end = start + dur; in parseNode()
/frameworks/av/media/libstagefright/webm/
DWebmElement.h50 static sp<WebmElement> SegmentInfo(uint64_t scale = 1000000, double dur = 0);
DWebmElement.cpp297 sp<WebmElement> WebmElement::SegmentInfo(uint64_t scale, double dur) { in SegmentInfo() argument
300 segmentInfo.push_back(new WebmFloat(kMkvSegmentDuration, dur)); in SegmentInfo()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1551 final int dur = (int)(pastTime[i] - oldestTime); in computeCurrentVelocity() local
1552 if (dur == 0) continue; in computeCurrentVelocity()
1554 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
1559 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java1502 String dur = parser.getAttributeValue(null, "d"); in readUid() local
1503 if (dur != null) { in readUid()
1504 op.duration = Integer.parseInt(dur); in readUid()
1612 int dur = op.getDuration(); in writeState() local
1613 if (dur != 0) { in writeState()
1614 out.attribute(null, "d", Integer.toString(dur)); in writeState()
DAlarmManagerService.java2010 long dur = nowELAPSED - mNonInteractiveStartTime; in interactiveStateChangedLocked() local
2011 if (dur > mNonInteractiveTime) { in interactiveStateChangedLocked()
2012 mNonInteractiveTime = dur; in interactiveStateChangedLocked()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java391 long dur = now - mStartTime; in commitStateTime() local
392 if (dur > 0) { in commitStateTime()
393 mDurations.addDuration(mCurState, dur); in commitStateTime()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java1514 long dur = SystemClock.uptimeMillis() - si.deliveredTime; in scheduleServiceRestartLocked() local
1515 dur *= 2; in scheduleServiceRestartLocked()
1516 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()
1517 if (resetTime < dur) resetTime = dur; in scheduleServiceRestartLocked()
DActivityManagerService.java14511 long dur = ass.mTime; in dumpAssociationsLocked() local
14513 dur += now - ass.mStartTime; in dumpAssociationsLocked()
14515 TimeUtils.formatDuration(dur, pw); in dumpAssociationsLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java3283 final long dur = mDurationStats[statId]; in dumpStatLS() local
3285 label, count, dur, in dumpStatLS()
3286 (count == 0 ? 0 : ((double) dur) / count))); in dumpStatLS()