HomeSort by relevance Sort by last modified time
    Searched defs:minutes (Results 51 - 75 of 506) sorted by null

1 23 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/javax/xml/datatype/
Duration.java 35 * minutes, and seconds) plus a sign (+/-) field.</p>
162 boolean minuteSet = isSet(DatatypeConstants.MINUTES);
274 * Obtains the value of the MINUTES field as an integer value,
278 * that this method works on the MINUTES field.
280 * @return Minutes of this <code>Duration</code>.
284 return getFieldValueAsInt(DatatypeConstants.MINUTES);
383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned
389 * MINUTES, or SECONDS.)
394 * For YEARS, MONTHS, DAYS, HOURS, and MINUTES, this method
407 * MINUTES, or SECONDS.
908 BigInteger minutes = (BigInteger) getField(DatatypeConstants.MINUTES); local
    [all...]
  /libcore/ojluni/src/main/java/java/time/
ZoneOffset.java 94 * This is usually a fixed number of hours and minutes.
110 * The fields of hours, minutes and seconds make assumptions that are valid for the
205 final int hours, minutes, seconds; local
211 minutes = 0;
216 minutes = parseNumber(offsetId, 3, false);
221 minutes = parseNumber(offsetId, 4, true);
226 minutes = parseNumber(offsetId, 3, false);
231 minutes = parseNumber(offsetId, 4, true);
242 return ofHoursMinutesSeconds(-hours, -minutes, -seconds);
244 return ofHoursMinutesSeconds(hours, minutes, seconds)
    [all...]
Duration.java 101 * It can be accessed using other duration-based units, such as minutes and hours.
192 * Obtains a {@code Duration} representing a number of standard minutes.
198 * @param minutes the number of minutes, positive or negative
200 * @throws ArithmeticException if the input minutes exceeds the capacity of {@code Duration}
202 public static Duration ofMinutes(long minutes) {
203 return create(Math.multiplyExact(minutes, SECONDS_PER_MINUTE), 0);
349 * days, hours, minutes and seconds, accepted in upper or lower case.
356 * The number of days, hours and minutes must parse to an {@code long}.
367 * "PT15M" -- parses as "15 minutes" (where a minute is 60 seconds
1265 int minutes = (int) ((seconds % SECONDS_PER_HOUR) \/ SECONDS_PER_MINUTE); local
    [all...]
LocalTime.java 159 * Minutes per hour.
163 * Minutes per day.
355 int minutes = (int) (secondOfDay / SECONDS_PER_MINUTE); local
356 secondOfDay -= minutes * SECONDS_PER_MINUTE;
357 return create(hours, minutes, (int) secondOfDay, 0);
373 int minutes = (int) (nanoOfDay / NANOS_PER_MINUTE); local
374 nanoOfDay -= minutes * NANOS_PER_MINUTE;
377 return create(hours, minutes, seconds, (int) nanoOfDay);
532 * <li>{@code MINUTES}
    [all...]
  /libcore/ojluni/src/main/java/sun/util/calendar/
AbstractCalendar.java 249 int minutes = time / MINUTE_IN_MILLIS; local
254 cdate.setMinutes(minutes);
CalendarDate.java 75 private int minutes; field in class:CalendarDate
239 return minutes;
242 public CalendarDate setMinutes(int minutes) {
243 if (this.minutes != minutes) {
244 this.minutes = minutes;
252 minutes += n;
319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) {
321 setMinutes(minutes);
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/event/
EventViewUtils.java 41 // Constructs a label given an arbitrary number of minutes. For example,
42 // if the given minutes is 63, then this returns the string "63 minutes".
43 // As another example, if the given minutes is 120, then this returns
45 public static String constructReminderLabel(Context context, int minutes, boolean abbrev) {
49 if (minutes % 60 != 0) {
50 value = minutes;
56 } else if (minutes % (24 * 60) != 0) {
57 value = minutes / 60;
60 value = minutes / (24 * 60)
124 int minutes = reminderMinuteValues.get(minuteSpinner.getSelectedItemPosition()); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
LapsAdapter.java 237 * @param separator displayed between hours and minutes as well as minutes and seconds
242 final int hours, minutes, seconds, hundredths; local
245 hours = minutes = seconds = hundredths = 0;
250 minutes = (int) (remainder / DateUtils.MINUTE_IN_MILLIS);
263 // The display of hours and minutes varies based on maxTime.
265 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 1));
267 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2));
271 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2));
275 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2))
    [all...]
  /packages/services/Telephony/src/com/android/phone/
EmergencyCallbackModeExitDialog.java 285 int minutes = (int)(millisUntilFinished / 60000); local
286 String time = String.format("%d:%02d", minutes,
292 R.plurals.alert_dialog_not_avaialble_in_ecm, minutes).toString(), time);
295 minutes).toString(), time);
  /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
CaptureHolder.java 118 long minutes = TimeUnit.MILLISECONDS.toMinutes(timeFromTestStartMS) - local
121 TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS.toMinutes(timeFromTestStartMS));
122 String timeString = String.format("%02dh%02dm%02ds", hours, minutes, seconds);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTime.java 236 int minutes = (offset % 3600) / 60; local
238 return String.format("%s%s%02d:%02d", base, sign, hours, minutes);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowTime.java 247 int minutes = (offset % 3600) / 60; local
249 return String.format("%s%s%02d:%02d", base, sign, hours, minutes);
282 // Look-ahead to remove the colon followed by minutes in timezone
284 // Look-behind to pad with minutes any timezone only defines hours
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
SafeRepresenter.java 338 int minutes = calendar.get(Calendar.MINUTE); // 0..59 local
362 if (minutes < 10) {
365 buffer.append(String.valueOf(minutes));
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerSetupView.java 206 final int minutes = mInput[3] * 10 + mInput[2]; local
212 uidm.getFormattedNumber(minutes, 2),
218 r.getQuantityString(R.plurals.minutes, minutes, minutes),
307 final int minutes = mInput[3] * 10 + mInput[2]; local
310 + minutes * DateUtils.MINUTE_IN_MILLIS
  /packages/apps/Dialer/java/com/android/dialer/app/voicemail/
VoicemailPlaybackLayout.java 358 * <p>We always use four digits, two for minutes two for seconds. In the very unlikely event that
359 * the voicemail duration exceeds 99 minutes, the display is capped at 99 minutes.
363 int minutes = seconds / 60; local
364 seconds -= minutes * 60;
365 if (minutes > 99) {
366 minutes = 99;
368 return String.format("%02d:%02d", minutes, seconds);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
TimeBar.java 253 int minutes = (totalSeconds / 60) % 60; local
256 return String.format("%d:%02d:%02d", hours, minutes, seconds).toString();
258 return String.format("%02d:%02d", minutes, seconds).toString();
  /developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/
OpenGLWatchFaceService.java 446 float minutes = mCalendar.get(Calendar.MINUTE) + seconds / 60f; local
447 float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f;
449 final int minIndex = (int) (minutes / 60f * 360f);
  /developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/
OpenGLWatchFaceService.java 446 float minutes = mCalendar.get(Calendar.MINUTE) + seconds / 60f; local
447 float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f;
449 final int minIndex = (int) (minutes / 60f * 360f);
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
OpenGLWatchFaceService.java 444 float minutes = mCalendar.get(Calendar.MINUTE) + seconds / 60f; local
445 float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f;
447 final int minIndex = (int) (minutes / 60f * 360f);
  /frameworks/base/core/java/android/text/format/
DateUtils.java 266 * Time spans in the past are formatted like "42 minutes ago".
267 * Time spans in the future are formatted like "In 42 minutes".
272 * past will be reported as "0 minutes ago" if this is set to MINUTE_IN_MILLIS. Pass one of
283 * Time spans in the past are formatted like "42 minutes ago". Time spans in
284 * the future are formatted like "In 42 minutes".
292 * 3 seconds in the past will be reported as "0 minutes ago" if
321 * the past will be reported as "0 minutes ago" if this is set to
359 * "4 minutes" or "1 second". Returns only the largest meaningful unit of time,
370 * "4 minutes" or "1 second". Returns only the largest meaningful unit of time,
401 final int minutes = (int) ((millis + 30000) / MINUTE_IN_MILLIS) local
429 long minutes = 0; local
    [all...]
  /frameworks/support/leanback/src/main/java/androidx/leanback/widget/
PlaybackControlsPresenter.java 190 long minutes = seconds / 60; local
191 long hours = minutes / 60;
192 seconds -= minutes * 60;
193 minutes -= hours * 60;
198 if (minutes < 10) {
202 sb.append(minutes).append(':');
  /hardware/interfaces/camera/common/1.0/default/
Exif.cpp 143 // sets the latitude with degrees minutes seconds format.
147 // sets the longitude with degrees minutes seconds format.
355 ExifLong minutes = static_cast<ExifLong>(60 * (num - degrees)); local
357 static_cast<ExifLong>(3600000000u * (num - degrees - minutes / 60.0));
360 {minutes, 1});
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
HandleApiCalls.java 316 final int minutes = intent.getIntExtra(AlarmClock.EXTRA_MINUTES, 0); local
317 if (minutes < 0 || minutes > 59) {
318 final String voiceMessage = getString(R.string.invalid_time, hour, minutes, " ");
320 LOGGER.i("Illegal minute: " + minutes);
340 final String voiceMessage = getString(R.string.invalid_time, hour, minutes, " ");
348 setSelectionFromIntent(intent, hour, minutes, selection, argsList);
535 alarm.minutes = intent.getIntExtra(AlarmClock.EXTRA_MINUTES, alarm.minutes);
582 * {@code minutes} as well as all of the optional information within the {@code intent
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
NewVoicemailMediaPlayerView.java 670 int minutes = seconds / 60; local
671 seconds -= minutes * 60;
672 if (minutes > 99) {
673 minutes = 99;
675 return String.format(Locale.US, "%02d:%02d", minutes, seconds);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarAlarmManager.java 74 + " AND ca." + CalendarAlerts.MINUTES + "=r." + Reminders.MINUTES + ")"
79 + " OR (r." + Reminders.MINUTES + " ISNULL"
80 + " AND ca." + CalendarAlerts.MINUTES + "<>0)"
87 * least a few minutes to allow for an event that was recently created on
109 /** 24 hours - 15 minutes. */
289 // are milliseconds) and Reminders.minutes (whose units are
290 // minutes).
295 // Note 1: we can add support for the case where Reminders.minutes
296 // equals -1 to mean use Calendars.minutes by adding a UNION fo
391 final int minutes = cursor.getInt(minutesIndex); local
    [all...]

Completed in 691 milliseconds

1 23 4 5 6 7 8 91011>>