/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/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 | 76 buildLocalOnlyNotification(getString(R.string.phone_only), now(), in onOptionsItemSelected() 80 buildWearableOnlyNotification(getString(R.string.wear_only), now(), in onOptionsItemSelected() 85 getString(R.string.phone_both), getString(R.string.watch_both), now()); in onOptionsItemSelected() 193 private String now() { in now() method in SynchronizedNotificationsFragment
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | EventScheduler.java | 220 long now = System.nanoTime(); in waitNextEvent() local 223 if (lowestTime <= now) { in waitNextEvent() 228 long nanosToWait = lowestTime - now; in waitNextEvent()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | EventScheduler.java | 220 long now = System.nanoTime(); in waitNextEvent() local 223 if (lowestTime <= now) { in waitNextEvent() 228 long nanosToWait = lowestTime - now; in waitNextEvent()
|
/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/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 169 long now = System.nanoTime(); // TODO use audio presentation time in processMidiEvents() local 170 MidiEvent event = (MidiEvent) mEventScheduler.getNextEvent(now); in processMidiEvents() 174 event = (MidiEvent) mEventScheduler.getNextEvent(now); in processMidiEvents()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 169 long now = System.nanoTime(); // TODO use audio presentation time in processMidiEvents() local 170 MidiEvent event = (MidiEvent) mEventScheduler.getNextEvent(now); in processMidiEvents() 174 event = (MidiEvent) mEventScheduler.getNextEvent(now); in processMidiEvents()
|
/development/testrunner/ |
D | logger.py | 63 return "# %s: %s" % (datetime.datetime.now().strftime("%m/%d/%y %H:%M:%S"),
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | ShortcutHelper.java | 121 final long now = System.currentTimeMillis(); in refreshShortcuts() local 122 final long staleThreshold = force ? now : now - REFRESH_INTERVAL_MS; in refreshShortcuts()
|
/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/ActiveNotifications/ |
D | _index.jd | 8 Notifications can now be grouped in Android N. Since Android M, the
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | ShortcutHelper.java | 123 final long now = System.currentTimeMillis(); in refreshShortcuts() local 124 final long staleThreshold = force ? now : now - REFRESH_INTERVAL_MS; in refreshShortcuts()
|
/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/tools/logblame/ |
D | logs.py | 92 endTime = datetime.datetime.now() + datetime.timedelta(seconds=duration) 97 if duration and endTime <= datetime.datetime.now():
|
D | analyze_logs.py | 176 startTime = datetime.datetime.now() 190 endTime = datetime.datetime.now()
|
/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 | 486 Long now = Long.valueOf(System.currentTimeMillis()); in insert() local 490 values.put(NotePad.Notes.COLUMN_NAME_CREATE_DATE, now); in insert() 496 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/tools/ |
D | monkey | 184 return datetime.datetime.now().strftime("%Y-%m-%d-%H-%M-%S") 272 datetime.datetime.now().strftime("%A, %B %d %Y %I:%M %p")))
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | SoftKeyboard.java | 699 long now = System.currentTimeMillis(); in checkToggleCapsLock() local 700 if (mLastShiftTime + 800 > now) { in checkToggleCapsLock() 704 mLastShiftTime = now; in checkToggleCapsLock()
|
/development/tools/findunused/ |
D | find_unused_resources.rb | 206 title = "Unused resources as of #{Time.now.localtime}"
|