Home
last modified time | relevance | path

Searched refs:now_us (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java50 private void registerTime(long now_us) { in registerTime() argument
52 long elapsedTime_us = now_us - mLastTime_us; in registerTime()
64 mLastTime_us = now_us; in registerTime()
73 long now_us = System.nanoTime() / 1000; in onDrawFrame() local
74 registerTime(now_us); in onDrawFrame()
76 float red = (now_us % 1000000) / 1000000.f; in onDrawFrame()
77 float green = (now_us % 2000000) / 2000000.f; in onDrawFrame()
78 float blue = (now_us % 3000000) / 3000000.f; in onDrawFrame()
/frameworks/av/media/libstagefright/
DTimedEventQueue.cpp196 int64_t now_us = 0; in threadEntry() local
221 now_us = ALooper::GetNowUs(); in threadEntry()
228 delay_us = when_us - now_us; in threadEntry()
254 now_us = ALooper::GetNowUs(); in threadEntry()
269 event->fire(this, now_us); in threadEntry()
/frameworks/av/media/libstagefright/include/
DTimedEventQueue.h45 virtual void fire(TimedEventQueue *queue, int64_t now_us) = 0;
106 virtual void fire(TimedEventQueue *queue, int64_t now_us) { in fire()