/packages/apps/DeskClock/src/com/android/deskclock/ |
TimerTextController.java | 36 public void setTimeString(long remainingTime) { 38 if (remainingTime < 0) { 39 remainingTime = -remainingTime; 43 int hours = (int) (remainingTime / HOUR_IN_MILLIS); 44 int remainder = (int) (remainingTime % HOUR_IN_MILLIS);
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
Timer.java | 109 long lastWallClockTime, long remainingTime, String label, boolean deleteAfterUse) { 116 mRemainingTime = remainingTime; 212 final long remainingTime = getRemainingTime(); 213 return new Timer(mId, PAUSED, mLength, mTotalLength, UNUSED, UNUSED, remainingTime, mLabel, 225 final long remainingTime = Math.min(0L, getRemainingTime()); 226 return new Timer(mId, EXPIRED, mLength, 0L, now(), wallClock(), remainingTime, mLabel, 238 final long remainingTime = Math.min(0L, getRemainingTime()); 239 return new Timer(mId, MISSED, mLength, 0L, now(), wallClock(), remainingTime, mLabel, 268 final long remainingTime = mRemainingTime - delta; 270 remainingTime, mLabel, mDeleteAfterUse) [all...] |
TimerStringFormatter.java | 34 public static String formatTimeRemaining(Context context, long remainingTime, 36 int roundedHours = (int) (remainingTime / HOUR_IN_MILLIS); 37 int roundedMinutes = (int) (remainingTime / MINUTE_IN_MILLIS % 60); 38 int roundedSeconds = (int) (remainingTime / SECOND_IN_MILLIS % 60); 43 if ((remainingTime % SECOND_IN_MILLIS != 0) && shouldShowSeconds) {
|
TimerDAO.java | 91 final long remainingTime = prefs.getLong(REMAINING_TIME + id, totalLength); 95 lastWallClockTime, remainingTime, label, deleteAfterUse));
|
TimerNotificationBuilder.java | 189 final long remainingTime = timer.getRemainingTime(); 190 if (timer.isRunning() && remainingTime > MINUTE_IN_MILLIS) { 196 final long nextMinuteChange = remainingTime % MINUTE_IN_MILLIS;
|
DataModel.java | 601 * @param timer the timer whose {@code remainingTime} to change 602 * @param remainingTime the new remaining time of the timer in milliseconds 604 public void setRemainingTime(Timer timer, long remainingTime) { 607 final Timer updated = timer.setRemainingTime(remainingTime); [all...] |
/frameworks/base/cmds/incidentd/src/ |
FdBuffer.cpp | 54 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis(); 55 if (remainingTime <= 0) { 61 int count = poll(&pfds, 1, remainingTime); 151 int64_t remainingTime = (mStartTime + timeoutMs) - uptimeMillis(); 152 if (remainingTime <= 0) { 159 int count = poll(pfds, 3, remainingTime);
|
/frameworks/base/core/java/com/android/internal/view/ |
InputConnectionWrapper.java | 228 long remainingTime = endTime - SystemClock.uptimeMillis(); 229 if (remainingTime <= 0) { 234 wait(remainingTime);
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
RunUtil.java | 411 long remainingTime = maxTime - (getCurrentTime() - initialTime); 412 if (remainingTime <= 0) { 415 } else if (remainingTime < pollInterval) { 416 // cap pollInterval to a max of remainingTime 417 pollInterval = remainingTime;
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
CameraDeviceTest.java | [all...] |
/external/lzma/CPP/7zip/UI/FileManager/ |
ProgressDialog2.cpp | 770 UInt64 remainingTime = 0;
772 remainingTime = MyMultAndDiv(_elapsedTime, progressTotal - progressCompleted, progressCompleted);
773 UInt64 remainingSec = remainingTime / 1000;
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
CommandScheduler.java | [all...] |
/external/icu/tools/srcgen/currysrc/libs/ |
org.eclipse.core.jobs_3.7.0.v20150330-2103.jar | |
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrackTest.java | [all...] |
/frameworks/av/packages/MediaComponents/src/com/android/widget/ |
MediaControlView2Impl.java | 751 int remainingTime = 755 stringForTime(remainingTime)); [all...] |
/frameworks/support/media-widget/src/main/java/androidx/media/widget/ |
MediaControlView2.java | [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | [all...] |