/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
D | TimeUtils.cpp | 47 struct timespec now; in GetCurrentTimeMS() 48 clock_gettime(CLOCK_MONOTONIC, &now); in GetCurrentTimeMS() 49 long long iDiff = (now.tv_sec * 1000LL) + now.tv_nsec/1000000LL; in GetCurrentTimeMS() 54 struct timeval now; in GetCurrentTimeMS() 55 gettimeofday(&now, NULL); in GetCurrentTimeMS() 56 long long iDiff = (now.tv_sec * 1000LL) + now.tv_usec/1000LL; in GetCurrentTimeMS()
|
/development/tools/idegen/src/ |
D | Stopwatch.java | 25 long now = System.currentTimeMillis(); in reset() local 26 Log.info(label + ": " + (now - last) + "ms"); in reset() 27 last = now; in reset()
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
D | app-android.c | 38 struct timeval now; in _getTime() local 40 gettimeofday(&now, NULL); in _getTime() 41 return (long)(now.tv_sec*1000 + now.tv_usec/1000); in _getTime()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Sweep.java | 70 long now = System.currentTimeMillis(); in onDraw() local 74 now = System.currentTimeMillis() - now; in onDraw() 75 android.util.Log.d("skia", "sweep ms = " + (now/20.)); in onDraw()
|
D | BitmapDecode.java | 127 long now = android.os.SystemClock.uptimeMillis(); in onDraw() local 129 mMovieStart = now; in onDraw() 136 int relTime = (int)((now - mMovieStart) % dur); in onDraw()
|
D | SensorTest.java | 105 long now = android.os.SystemClock.uptimeMillis(); 106 if (now - mLastGestureTime > 1000) { 128 mLastGestureTime = now;
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
D | plasma.c | 306 double now = now_ms(); in stats_endFrame() local 307 double renderTime = now - s->frameTime; in stats_endFrame() 308 double frameTime = now - s->lastTime; in stats_endFrame() 311 if (now - s->firstTime >= MAX_PERIOD_MS) { in stats_endFrame() 343 s->firstTime = now; in stats_endFrame() 361 s->lastTime = now; in stats_endFrame()
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
D | NinePatchLab.java | 119 long now = 0; in onDraw() local 121 now = SystemClock.uptimeMillis(); in onDraw() 147 mFPSTime += (int)(SystemClock.uptimeMillis() - now); in onDraw()
|
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
D | plasma.c | 315 double now = now_ms(); in stats_endFrame() local 316 double renderTime = now - s->frameTime; in stats_endFrame() 317 double frameTime = now - s->lastTime; in stats_endFrame() 320 if (now - s->firstTime >= MAX_PERIOD_MS) { in stats_endFrame() 352 s->firstTime = now; in stats_endFrame() 370 s->lastTime = now; in stats_endFrame()
|
/development/testrunner/ |
D | logger.py | 63 return "# %s: %s" % (datetime.datetime.now().strftime("%m/%d/%y %H:%M:%S"),
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
D | AccelerometerPlayActivity.java | 264 public void update(float sx, float sy, long now) { in update() argument 266 updatePositions(sx, sy, now); in update() 428 final long now = mSensorTimeStamp + (System.nanoTime() - mCpuTimeStamp); in onDraw() local 432 particleSystem.update(sx, sy, now); in onDraw()
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
D | CubeWallpaper1.java | 203 long now = SystemClock.elapsedRealtime(); in drawLine() local 204 float xrot = ((float)(now - mStartTime)) / 1000; in drawLine()
|
/development/samples/BrowserPlugin/jni/background/ |
D | BackgroundPlugin.cpp | 288 uint32_t now = getMSecs(); in timer_latency() local 289 uint32_t interval = now - obj->mPrevTime; in timer_latency() 290 uint32_t dur = now - obj->mStartTime; in timer_latency() 295 obj->mPrevTime = now; in timer_latency()
|
/development/samples/Snake/src/com/example/android/snake/ |
D | SnakeView.java | 412 long now = System.currentTimeMillis(); in update() local 414 if (now - mLastMove > mMoveDelay) { in update() 419 mLastMove = now; in update()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NotePadProvider.java | 519 Long now = Long.valueOf(System.currentTimeMillis()); in insert() local 523 values.put(NotePad.Notes.COLUMN_NAME_CREATE_DATE, now); in insert() 529 values.put(NotePad.Notes.COLUMN_NAME_MODIFICATION_DATE, now); in insert()
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
D | CubeWallpaper2.java | 245 long now = SystemClock.elapsedRealtime(); in drawCube() local 246 float xrot = ((float)(now - mStartTime)) / 1000; in drawCube()
|
/development/tools/emulator/system/gps/ |
D | gps_qemu.c | 197 time_t now = time(NULL); in nmea_reader_update_utc_diff() local 202 gmtime_r( &now, &tm_utc ); in nmea_reader_update_utc_diff() 203 localtime_r( &now, &tm_local ); in nmea_reader_update_utc_diff() 263 time_t now = time(NULL); in nmea_reader_update_time() local 264 gmtime_r( &now, &tm ); in nmea_reader_update_time()
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 676 long now = System.currentTimeMillis(); in updatePhysics() local 681 if (mLastTime > now) return; in updatePhysics() 683 double elapsed = (now - mLastTime) / 1000.0; in updatePhysics() 736 mLastTime = now; in updatePhysics()
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | SoftKeyboard.java | 633 long now = System.currentTimeMillis(); in checkToggleCapsLock() local 634 if (mLastShiftTime + 800 > now) { in checkToggleCapsLock() 638 mLastShiftTime = now; in checkToggleCapsLock()
|
/development/tools/jdwpspy/ |
D | Net.cpp | 456 time_t now; in getCurrentTime() local 459 now = time(NULL); in getCurrentTime() 460 ptm = localtime(&now); in getCurrentTime()
|
/development/tools/findunused/ |
D | find_unused_resources.rb | 206 title = "Unused resources as of #{Time.now.localtime}"
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | DeviceAdminSample.java | 611 long now = System.currentTimeMillis(); in getExpirationStatus() local 618 localExpiration -= now; in getExpirationStatus() 632 globalExpiration -= now; in getExpirationStatus()
|
/development/build/ |
D | sdk.atree | 134 # Note: the kernel image is handled by sdk-android-<abi>.atree now.
|