Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 48) sorted by relevance

12

/developers/samples/android/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DSynchronizedNotificationsFragment.java76 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
/developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DSynchronizedNotificationsFragment.java76 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
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/
DEventScheduler.java220 long now = System.nanoTime(); in waitNextEvent() local
223 if (lowestTime <= now) { in waitNextEvent()
228 long nanosToWait = lowestTime - now; in waitNextEvent()
/developers/samples/android/common/src/java/com/example/android/common/midi/
DEventScheduler.java220 long now = System.nanoTime(); in waitNextEvent() local
223 if (lowestTime <= now) { in waitNextEvent()
228 long nanosToWait = lowestTime - now; in waitNextEvent()
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/
DEventScheduler.java220 long now = System.nanoTime(); in waitNextEvent() local
223 if (lowestTime <= now) { in waitNextEvent()
228 long nanosToWait = lowestTime - now; in waitNextEvent()
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/
DSynthEngine.java169 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()
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/
DSynthEngine.java169 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()
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/
DREADME.md5 in Android O. The ContentProvider now accepts additional arguments for the offset and
12 [ContentProvider][1] and [DocumentsProvider][2] now supports paging instead of fetching the all
20 Similarly, the returned Cursor object now has a Bundle object obtained by Cursor#getExtras().
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/
DREADME.md5 in Android O. The ContentProvider now accepts additional arguments for the offset and
12 [ContentProvider][1] and [DocumentsProvider][2] now supports paging instead of fetching the all
20 Similarly, the returned Cursor object now has a Bundle object obtained by Cursor#getExtras().
/developers/build/prebuilts/gradle/ContentProviderPaging/
DREADME.md6 in Android O. The ContentProvider now accepts additional arguments for the offset and
13 [ContentProvider][1] and [DocumentsProvider][2] now supports paging instead of fetching the all
21 Similarly, the returned Cursor object now has a Bundle object obtained by Cursor#getExtras().
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/
DSynthEngine.java169 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()
/developers/build/prebuilts/gradle/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
DShortcutHelper.java121 final long now = System.currentTimeMillis(); in refreshShortcuts() local
122 final long staleThreshold = force ? now : now - REFRESH_INTERVAL_MS; in refreshShortcuts()
/developers/samples/android/system/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
DShortcutHelper.java121 final long now = System.currentTimeMillis(); in refreshShortcuts() local
122 final long staleThreshold = force ? now : now - REFRESH_INTERVAL_MS; in refreshShortcuts()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/
DBubbleActivity.kt36 supportFragmentManager.transaction(now = true) { in onCreate()
DMainActivity.kt58 supportFragmentManager.transaction(now = true) { in onCreate()
/developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java249 public void update(float sx, float sy, long now) { in update() argument
251 updatePositions(sx, sy, now); in update()
398 final long now = System.currentTimeMillis(); in onDraw() local
402 particleSystem.update(sx, sy, now); in onDraw()
/developers/build/templates/base-build/
DNOTICE.ftl2 <#assign date = .now?date>
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/
DAnalogComplicationWatchFaceService.java587 long now = System.currentTimeMillis(); in onDraw() local
588 mCalendar.setTimeInMillis(now); in onDraw()
591 drawComplications(canvas, now); in onDraw()
DDigitalWatchFaceService.java457 long now = System.currentTimeMillis(); in onDraw() local
458 mCalendar.setTimeInMillis(now); in onDraw()
459 mDate.setTime(now); in onDraw()
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/
DAnalogComplicationWatchFaceService.java587 long now = System.currentTimeMillis(); in onDraw() local
588 mCalendar.setTimeInMillis(now); in onDraw()
591 drawComplications(canvas, now); in onDraw()
DDigitalWatchFaceService.java457 long now = System.currentTimeMillis(); in onDraw() local
458 mCalendar.setTimeInMillis(now); in onDraw()
459 mDate.setTime(now); in onDraw()
/developers/build/prebuilts/gradle/ActiveNotifications/
DREADME.md15 Notifications can now be grouped.
/developers/build/prebuilts/gradle/DocumentCentricApps/
DREADME.md14 now deprecated. In versions before L it serves to define a boundary between the main task and a
/developers/build/prebuilts/gradle/PdfRendererBasic/kotlinApp/
DREADME.md11 You can now render PDF document pages into bitmap images for printing by using
/developers/build/prebuilts/gradle/PdfRendererBasic/
DREADME.md11 You can now render PDF document pages into bitmap images for printing by using

12