Searched refs:nextTime (Results 1 – 10 of 10) sorted by relevance
103 long nextTime = mQueuedRunnables.peek().mWhen; in advanceClockToNext() local104 if (nextTime <= startTime) { in advanceClockToNext()107 updateClock(nextTime); in advanceClockToNext()109 return nextTime - startTime; in advanceClockToNext()127 long nextTime = Collections.max(mQueuedRunnables).mWhen; in advanceClockToLast() local128 if (nextTime <= startTime) { in advanceClockToLast()132 updateClock(nextTime); in advanceClockToLast()134 return nextTime - startTime; in advanceClockToLast()188 private void updateClock(long nextTime) { in updateClock() argument190 mClock.setUptimeMillis(nextTime); in updateClock()
137 float SkiaInterpolatorBase::ComputeRelativeT(SkMSec time, SkMSec prevTime, SkMSec nextTime, in ComputeRelativeT() argument139 LOG_FATAL_IF(time < prevTime || time > nextTime); in ComputeRelativeT()141 float t = (float)(time - prevTime) / (float)(nextTime - prevTime); in ComputeRelativeT()219 const SkTimeCode* nextTime = &fTimes[index]; in timeToT() local220 SkMSec nextT = nextTime[0].fTime; in timeToT()224 SkMSec prevT = nextTime[-1].fTime; in timeToT()225 *T = ComputeRelativeT(time, prevT, nextT, nextTime[-1].fBlend); in timeToT()
69 static float ComputeRelativeT(uint32_t time, uint32_t prevTime, uint32_t nextTime,
211 long nextTime = mLastLockTime + 100; in internalLockCanvas() local212 if (nextTime > now) { in internalLockCanvas()214 Thread.sleep(nextTime-now); in internalLockCanvas()
441 auto nextTime = std::chrono::steady_clock::now(); in periodicallyClearMap() local443 std::chrono::duration_cast<std::chrono::seconds>(nextTime - previousTime); in periodicallyClearMap()448 previousTime = nextTime; in periodicallyClearMap()
175 final long nextTime = scheduler.getNextTimeMillis(options); in testExponentialBackoffBoundedByMoratorium() local178 nextTime < timeAfterOperation + options.maxMoratoriumMillis); in testExponentialBackoffBoundedByMoratorium()
3768 long nextTime = 0; in idleUidsLocked() local3787 if (nextTime == 0 || nextTime > bgTime) { in idleUidsLocked()3788 nextTime = bgTime; in idleUidsLocked()3808 if (bgTime > 0 && (nextTime == 0 || nextTime > bgTime)) { in idleUidsLocked()3809 nextTime = bgTime; in idleUidsLocked()3813 if (nextTime > 0) { in idleUidsLocked()3814 long delay = nextTime + mConstants.BACKGROUND_SETTLE_TIME - nowElapsed; in idleUidsLocked()
7513 long nextTime = 0; in serviceTimeout() local7520 if (sr.executingStart > nextTime) { in serviceTimeout()7521 nextTime = sr.executingStart; in serviceTimeout()7542 ? (nextTime + mAm.mConstants.SERVICE_TIMEOUT) : in serviceTimeout()7543 (nextTime + mAm.mConstants.SERVICE_BACKGROUND_TIMEOUT) in serviceTimeout()
1888 long nextTime = mLastLockTime + 100;1889 if (nextTime > now) {1891 Thread.sleep(nextTime-now);
4858 final long nextTime = 60000 * ((currentTime / 60000) + 1); in scheduleTimeTickEvent() local4862 final long tickEventDelay = nextTime - currentTime; in scheduleTimeTickEvent()