/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 | 40 struct timeval now; in _getTime() local 42 gettimeofday(&now, NULL); in _getTime() 43 return (long)(now.tv_sec*1000 + now.tv_usec/1000); in _getTime()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Sweep.java | 71 long now = System.currentTimeMillis(); in onDraw() local 75 now = System.currentTimeMillis() - now; in onDraw() 76 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/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/ |
D | SynchronizedNotificationsFragment.java | 82 buildLocalOnlyNotification(getString(R.string.phone_only), now(), in onOptionsItemSelected() 86 buildWearableOnlyNotification(getString(R.string.wear_only), now(), in onOptionsItemSelected() 90 … buildMirroredNotifications(getString(R.string.phone_both), getString(R.string.watch_both), now()); in onOptionsItemSelected() 193 private String now() { in now() method in SynchronizedNotificationsFragment
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
D | plasma.c | 305 double now = now_ms(); in stats_endFrame() local 306 double renderTime = now - s->frameTime; in stats_endFrame() 307 double frameTime = now - s->lastTime; in stats_endFrame() 310 if (now - s->firstTime >= MAX_PERIOD_MS) { in stats_endFrame() 342 s->firstTime = now; in stats_endFrame() 360 s->lastTime = now; in stats_endFrame()
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
D | gles3jni.cpp | 194 timespec now; in step() local 195 clock_gettime(CLOCK_MONOTONIC, &now); in step() 196 uint64_t nowNs = now.tv_sec*1000000000ull + now.tv_nsec; in step()
|
/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 | 314 double now = now_ms(); in stats_endFrame() local 315 double renderTime = now - s->frameTime; in stats_endFrame() 316 double frameTime = now - s->lastTime; in stats_endFrame() 319 if (now - s->firstTime >= MAX_PERIOD_MS) { in stats_endFrame() 351 s->firstTime = now; in stats_endFrame() 369 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/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | SweepWatchFaceService.java | 176 long now = System.currentTimeMillis(); in onDraw() local 177 mTime.set(now); in onDraw() 178 int milliseconds = (int) (now % 1000); 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/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/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 688 long now = System.currentTimeMillis(); in updatePhysics() local 693 if (mLastTime > now) return; in updatePhysics() 695 double elapsed = (now - mLastTime) / 1000.0; in updatePhysics() 748 mLastTime = now; in updatePhysics()
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | SoftKeyboard.java | 659 long now = System.currentTimeMillis(); in checkToggleCapsLock() local 660 if (mLastShiftTime + 800 > now) { in checkToggleCapsLock() 664 mLastShiftTime = now; in checkToggleCapsLock()
|
/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/security/ |
D | KeyStoreUsage.java | 312 Date now = cal.getTime(); in doInBackground() local 319 .setStartDate(now) in doInBackground()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | DeviceAdminSample.java | 742 long now = System.currentTimeMillis(); in getExpirationStatus() local 749 localExpiration -= now; in getExpirationStatus() 763 globalExpiration -= now; in getExpirationStatus()
|
/development/build/ |
D | sdk.atree | 206 # Note: the kernel image is handled by sdk-android-<abi>.atree now. 237 # this will be copied in automatically via a templating system. For now,
|
/development/sdk/ |
D | sdk_files_NOTICE.txt | 3526 1.10.1. "Patent Claims" means any patent claim(s), now owned or 13602 is now a host of the W3C, includes references to this specific dated version of
|
/development/perftests/panorama/input/ |
D | test_007.ppm | 5979 …���������������������������������������������������������������������������now'(0).5&*1"(/"(/!*0(…
|