/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandComposePwle.cpp | 133 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/ |
D | MovieImpl.cpp | 55 SkMSec dur = this->duration(); in setTime() local 56 if (time > dur) in setTime() 57 time = dur; in setTime()
|
D | GIFMovie.cpp | 94 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/ |
D | AnimationDrawable.java | 413 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/ |
D | UidState.java | 137 long dur = now - mStartTime; in commitStateTime() local 138 if (dur > 0) { in commitStateTime() 139 mDurations.addDuration(mCurCombinedState, dur); in commitStateTime()
|
D | ProcessState.java | 522 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/ |
D | Animation.java | 476 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/ |
D | InputDeviceMetricsCollector.cpp | 78 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/ |
D | PowerHalAidlBenchmarks.cpp | 50 DurationWrapper(int64_t dur, int64_t time) { in DurationWrapper() argument 51 durationNanos = dur; in DurationWrapper()
|
/frameworks/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 530 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/ |
D | TtmlRenderer.java | 458 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/ |
D | WebmElement.h | 50 static sp<WebmElement> SegmentInfo(uint64_t scale = 1000000, double dur = 0);
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 297 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/ |
D | KeyboardView.java | 1548 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/ |
D | ActiveServices.java | 5293 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/ |
D | AlarmManagerService.java | 4075 long dur = nowELAPSED - mNonInteractiveStartTime; in interactiveStateChangedLocked() local 4076 if (dur > mNonInteractiveTime) { in interactiveStateChangedLocked() 4077 mNonInteractiveTime = dur; in interactiveStateChangedLocked()
|