Searched defs:seconds (Results 1 - 7 of 7) sorted by relevance

/packages/experimental/RpcPerformance/
H A Drpcperftest.cpp91 double seconds = (after.tv_sec - before.tv_sec); local
92 seconds += (after.tv_nsec - before.tv_nsec) / 1000000000.0;
94 COUNT, seconds, 1000.0 * seconds / COUNT);
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerView.java72 mSeconds = (TextView) findViewById(R.id.seconds);
104 int minutesOnesDigit, int seconds) {
141 mSeconds.setText(String.format("%02d", seconds));
103 setTime(int hoursOnesDigit, int minutesTensDigit, int minutesOnesDigit, int seconds) argument
H A DCountingTimerView.java96 * Class to measure and draw the digit pairs of hours, minutes, seconds or hundredths. Digits
97 * may have an optional label. for hours, minutes and seconds, this label trails the digits
98 * and for seconds, precedes the digits.
316 * Update the time to display. Separates that time into the hours, minutes, seconds and
322 * 100 milliseconds of zero seconds and when so, invalidate the view.
333 long hundreds, seconds, minutes, hours;
334 seconds = time / 1000;
335 hundreds = (time - seconds * 1000) / 10;
336 minutes = seconds / 60;
337 seconds
507 getTimeStringForAccessibility(int hours, int minutes, int seconds, boolean showNeg, Resources r) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/data/
H A DMediaDetails.java174 * Returns a (localized) string for the given duration (in seconds).
176 public static String formatDuration(final Context context, long seconds) { argument
177 long h = seconds / 3600;
178 long m = (seconds - h * 3600) / 60;
179 long s = seconds - (h * 3600 + m * 60);
/packages/apps/OMA-DM/DMService/src/com/android/omadm/service/
H A DDMHelper.java58 // time before attempt start DM session after a failure (in seconds)
59 public static final int TIME_BETWEEN_SESSION_ATTEMPTS = 30 * 60; //seconds
61 // time to check status after starting DM service; try to restart if service will die (in seconds)
62 public static final int TIME_CHECK_STATUS_AFTER_STARTING_DM_SERVICE = 30 * 60; //seconds
64 // time to check and repost notification in case if user cancel it; subscribe during posting notification (in seconds)
65 public static final int TIME_CHECK_NOTIFICATION_AFTER_SUBSCRIPTION = 30 * 60; //seconds
67 // time to check status after starting call and data monitoring service; try to restart if service will die (in seconds)
68 public static final int TIME_CHECK_STATUS_AFTER_STARTING_MONITORING_SERVICE = 20 * 60; //seconds
158 public static void subscribeForTimeAlert(Context context, int seconds) { argument
167 long wakeupTime = System.currentTimeMillis() + (seconds * 100
[all...]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFileUtils.java1064 * true up to the maximum time specified in seconds.
1067 * @param seconds the maximum time in seconds to wait
1071 public static boolean waitFor(File file, int seconds) { argument
1077 if (timeout++ > seconds) {
/packages/apps/OMA-DM/engine/dmlib/dmt-tools/lib/
H A Djoda-time-1.1.jar ... millisOfDay () public abstract org.joda.time.DurationField seconds () public abstract org.joda.time.DateTimeField secondOfMinute ...

Completed in 195 milliseconds