Home
last modified time | relevance | path

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

/frameworks/native/cmds/idlcli/vibrator/
DCommandComposePwle.cpp133 int dur; in doArgs() local
134 if (getIntFromString(*duration, &dur)) in doArgs()
137 ActivePwle active = {startAmp, startFreq, endAmp, endFreq, dur}; in doArgs()
146 int dur; in doArgs() local
147 if (getIntFromString(*duration, &dur)) in doArgs()
150 BrakingPwle braking = {brakingMeth, dur}; in doArgs()
/frameworks/base/libs/hwui/jni/
DMovieImpl.cpp55 SkMSec dur = this->duration(); in setTime() local
56 if (time > dur) in setTime()
57 time = dur; in setTime()
DGIFMovie.cpp94 SkMSec dur = 0; in onGetInfo() local
96 dur += savedimage_duration(&fGIF->SavedImages[i]); in onGetInfo()
98 info->fDuration = dur; in onGetInfo()
110 SkMSec dur = 0; in onSetTime() local
113 dur += savedimage_duration(&fGIF->SavedImages[i]); in onSetTime()
114 if (dur >= time) in onSetTime()
/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()
431 for (int dur : mDurations) { in getTotalDuration()
432 total += dur; in getTotalDuration()
/frameworks/base/core/java/com/android/internal/app/procstats/
DUidState.java137 long dur = now - mStartTime; in commitStateTime() local
138 if (dur > 0) { in commitStateTime()
139 mDurations.addDuration(mCurCombinedState, dur); in commitStateTime()
DProcessState.java522 long dur = now - mStartTime; in commitStateTime() local
523 if (dur > 0) { in commitStateTime()
524 mDurations.addDuration(mCurCombinedState, dur); in commitStateTime()
/frameworks/base/core/java/android/view/animation/
DAnimation.java476 long dur = mDuration + mStartOffset; in restrictDuration() local
477 if (dur > durationMillis) { in restrictDuration()
479 dur = durationMillis; in restrictDuration()
491 || (dur*mRepeatCount) > durationMillis) { in restrictDuration()
494 mRepeatCount = (int)(durationMillis/dur) - 1; in restrictDuration()
/frameworks/native/services/inputflinger/
DInputDeviceMetricsCollector.cpp78 for (auto& [src, dur] : report.sourceBreakdown) { in logInputDeviceUsageReported()
80 int32_t durMillis = std::chrono::duration_cast<std::chrono::milliseconds>(dur).count(); in logInputDeviceUsageReported()
90 for (auto& [uid, dur] : report.uidBreakdown) { in logInputDeviceUsageReported()
92 int32_t durMillis = std::chrono::duration_cast<std::chrono::milliseconds>(dur).count(); in logInputDeviceUsageReported()
/frameworks/native/services/powermanager/benchmarks/
DPowerHalAidlBenchmarks.cpp50 DurationWrapper(int64_t dur, int64_t time) { in DurationWrapper() argument
51 durationNanos = dur; in DurationWrapper()
/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.java458 long dur = 0; in parseNode() local
471 dur = TtmlUtils.parseTimeExpression(value, DEFAULT_FRAMERATE, DEFAULT_SUBFRAMERATE, in parseNode()
483 if (dur > 0) { in parseNode()
488 end = start + dur; in parseNode()
/frameworks/av/media/libstagefright/webm/include/webm/
DWebmElement.h50 static sp<WebmElement> SegmentInfo(uint64_t scale = 1000000, double dur = 0);
/frameworks/av/media/libstagefright/webm/
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.java1548 final int dur = (int)(pastTime[i] - oldestTime); in computeCurrentVelocity() local
1549 if (dur == 0) continue; in computeCurrentVelocity()
1551 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
1556 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java5293 long dur = SystemClock.uptimeMillis() - si.deliveredTime; in scheduleServiceRestartLocked() local
5294 dur *= 2; in scheduleServiceRestartLocked()
5295 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()
5296 if (resetTime < dur) resetTime = dur; in scheduleServiceRestartLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java4075 long dur = nowELAPSED - mNonInteractiveStartTime; in interactiveStateChangedLocked() local
4076 if (dur > mNonInteractiveTime) { in interactiveStateChangedLocked()
4077 mNonInteractiveTime = dur; in interactiveStateChangedLocked()