Home
last modified time | relevance | path

Searched refs:timeMs (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/
DMainActivity.java255 long timeMs = System.currentTimeMillis(); in refreshDisplayAndSetNextUpdate() local
259 long delayMs = AMBIENT_INTERVAL_MS - (timeMs % AMBIENT_INTERVAL_MS); in refreshDisplayAndSetNextUpdate()
260 long triggerTimeMs = timeMs + delayMs; in refreshDisplayAndSetNextUpdate()
274 long delayMs = ACTIVE_INTERVAL_MS - (timeMs % ACTIVE_INTERVAL_MS); in refreshDisplayAndSetNextUpdate()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DAnalogWatchFaceService.java126 long timeMs = System.currentTimeMillis();
128 - (timeMs % INTERACTIVE_UPDATE_RATE_MS);
DFitDistanceWatchFaceService.java120 long timeMs = System.currentTimeMillis();
122 ACTIVE_INTERVAL_MS - (timeMs % ACTIVE_INTERVAL_MS);
DFitStepsWatchFaceService.java116 long timeMs = System.currentTimeMillis();
118 ACTIVE_INTERVAL_MS - (timeMs % ACTIVE_INTERVAL_MS);
DDigitalWatchFaceService.java114 long timeMs = System.currentTimeMillis();
116 mInteractiveUpdateRateMs - (timeMs % mInteractiveUpdateRateMs);
DComplicationSimpleWatchFaceService.java163 long timeMs = System.currentTimeMillis();
165 - (timeMs % INTERACTIVE_UPDATE_RATE_MS);