Searched refs:elapse (Results 1 – 5 of 5) sorted by relevance
83 int elapse = (int) (currentTimeMillis - mStartTime); in calculate() local84 float x = Utils.clamp((float) elapse / mDuration, 0f, 1f); in calculate()87 if (elapse >= mDuration) mStartTime = NO_ANIMATION; in calculate()
149 fun elapse(duration: Long) { in elapsedRealTime() method in com.android.server.connectivity.mdns.MdnsRecordRepositoryTest1210 deps.elapse(500L) in testGetReply_twoIpv4QueriesInOneSecond_theSecondReplyIsThrottled()1228 deps.elapse(500L) in testGetReply_twoIpv6QueriesInOneSecond_theSecondReplyIsThrottled()1247 deps.elapse(1121L) in testGetReply_twoIpv4QueriesInMoreThanOneSecond_repliesAreNotThrottled()1268 deps.elapse(1121L) in testGetReply_twoIpv6QueriesInMoreThanOneSecond_repliesAreNotThrottled()