Home
last modified time | relevance | path

Searched refs:dur (Results 1 – 16 of 16) 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/jni/android/graphics/
DMovieImpl.cpp54 SkMSec dur = this->duration(); in setTime() local
55 if (time > dur) in setTime()
56 time = dur; in setTime()
DGIFMovie.cpp90 SkMSec dur = 0; in onGetInfo() local
92 dur += savedimage_duration(&fGIF->SavedImages[i]); in onGetInfo()
94 info->fDuration = dur; in onGetInfo()
106 SkMSec dur = 0; in onSetTime() local
109 dur += savedimage_duration(&fGIF->SavedImages[i]); in onSetTime()
110 if (dur >= time) in onSetTime()
/frameworks/base/core/java/android/view/animation/
DAnimation.java467 long dur = mDuration + mStartOffset; in restrictDuration() local
468 if (dur > durationMillis) { in restrictDuration()
470 dur = durationMillis; in restrictDuration()
482 || (dur*mRepeatCount) > durationMillis) { in restrictDuration()
485 mRepeatCount = (int)(durationMillis/dur) - 1; in restrictDuration()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java413 public void addFrame(Drawable dr, int dur) { in addFrame() argument
417 mDurations[pos] = dur; in addFrame()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp530 int dur = ANDROID_UNKNOWN_TIME; in android_Player_getDuration() local
532 avp->mAVPlayer->getDurationMsec(&dur); in android_Player_getDuration()
534 if (dur == ANDROID_UNKNOWN_TIME) { in android_Player_getDuration()
537 *pDurMsec = (XAmillisecond)dur; in android_Player_getDuration()
/frameworks/base/media/java/android/media/
DTtmlRenderer.java457 long dur = 0; in parseNode() local
470 dur = TtmlUtils.parseTimeExpression(value, DEFAULT_FRAMERATE, DEFAULT_SUBFRAMERATE, in parseNode()
482 if (dur > 0) { in parseNode()
487 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectsource_test.cc984 google::protobuf::Duration* dur = out.mutable_dur(); in TEST_P() local
986 dur->set_seconds(kDurationMinSeconds - 1); in TEST_P()
995 google::protobuf::Duration* dur = out.mutable_dur(); in TEST_P() local
997 dur->set_seconds(kDurationMaxSeconds + 1); in TEST_P()
Dprotostream_objectwriter_test.cc1257 google::protobuf::Duration* dur = duration.mutable_dur(); in TEST_P() local
1258 dur->set_seconds(1448216930); in TEST_P()
1259 dur->set_nanos(132262000); in TEST_P()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/testdata/
Dtimestamp_duration.proto42 google.protobuf.Duration dur = 2; field
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java426 long dur = now - mStartTime; in commitStateTime() local
427 if (dur > 0) { in commitStateTime()
428 mDurations.addDuration(mCurCombinedState, dur); in commitStateTime()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java2357 long dur = SystemClock.uptimeMillis() - si.deliveredTime; in scheduleServiceRestartLocked() local
2358 dur *= 2; in scheduleServiceRestartLocked()
2359 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()
2360 if (resetTime < dur) resetTime = dur; in scheduleServiceRestartLocked()
DActivityManagerService.java10296 long dur = ass.mTime; in dumpAssociationsLocked() local
10298 dur += now - ass.mStartTime; in dumpAssociationsLocked()
10300 TimeUtils.formatDuration(dur, pw); in dumpAssociationsLocked()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java3347 long dur = nowELAPSED - mNonInteractiveStartTime; in interactiveStateChangedLocked() local
3348 if (dur > mNonInteractiveTime) { in interactiveStateChangedLocked()
3349 mNonInteractiveTime = dur; in interactiveStateChangedLocked()