Home
last modified time | relevance | path

Searched refs:targetTime (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/av/services/mediametrics/
H A DTimedAction.h42 void postAt(const T& targetTime, std::function<void()> f) { in postAt() argument
45 if (mMap.empty() || targetTime < mMap.begin()->first) { in postAt()
46 mMap.emplace_hint(mMap.begin(), targetTime, std::move(f)); in postAt()
49 mMap.emplace(targetTime, std::move(f)); in postAt()
/aosp12/frameworks/base/tests/JankBench/app/src/main/jni/
H A DBench.cpp214 float targetTime = 0.2f; in runMemoryBandwidthTest() local
215 if (dt > targetTime) { in runMemoryBandwidthTest()
216 mMemLoopCount = (size_t)((double)mMemLoopCount / (dt / targetTime)); in runMemoryBandwidthTest()
273 float targetTime = 0.2f; in runMemoryLatencyTest() local
274 if (dts > targetTime) { in runMemoryLatencyTest()
275 mMemLoopCount = (size_t)((double)mMemLoopCount / (dts / targetTime)); in runMemoryLatencyTest()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DPinnedHeaderListView.java95 long targetTime; field in PinnedHeaderListView.PinnedHeader
283 header.targetTime = mAnimationTargetTime; in setHeaderPinnedAtBottom()
295 header.targetTime = mAnimationTargetTime; in setHeaderPinnedAtBottom()
352 header.targetTime = mAnimationTargetTime; in setHeaderInvisible()
556 int timeLeft = (int)(header.targetTime - currentTime); in drawHeader()
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DVSyncDispatchTimerQueue.cpp214 void VSyncDispatchTimerQueue::setTimer(nsecs_t targetTime, nsecs_t /*now*/) { in setTimer() argument
215 mIntendedWakeupTime = targetTime; in setTimer()
/aosp12/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java364 final long targetTime = SystemClock.elapsedRealtime() + timeout; in waitForCompletion() local
367 while (!done && (timeout <= 0 || SystemClock.elapsedRealtime() < targetTime)) { in waitForCompletion()