Home
last modified time | relevance | path

Searched refs:dur (Results 1 – 14 of 14) 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/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.java2005 long dur = nowELAPSED - mNonInteractiveStartTime; in interactiveStateChangedLocked() local
2006 if (dur > mNonInteractiveTime) { in interactiveStateChangedLocked()
2007 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.java1493 long dur = SystemClock.uptimeMillis() - si.deliveredTime; in scheduleServiceRestartLocked() local
1494 dur *= 2; in scheduleServiceRestartLocked()
1495 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()
1496 if (resetTime < dur) resetTime = dur; in scheduleServiceRestartLocked()
DActivityManagerService.java14315 long dur = ass.mTime; in dumpAssociationsLocked() local
14317 dur += now - ass.mStartTime; in dumpAssociationsLocked()
14319 TimeUtils.formatDuration(dur, pw); in dumpAssociationsLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java2322 final long dur = mDurationStats[statId]; in dumpStatLS() local
2324 label, count, dur, in dumpStatLS()
2325 (count == 0 ? 0 : ((double) dur) / count))); in dumpStatLS()