/frameworks/opt/calendar/src/com/android/calendarcommon/ |
H A D | Duration.java | 35 public int minutes; field in class:Duration 53 minutes = 0; 105 minutes = n; 134 cal.add(Calendar.MINUTE, sign*minutes); 147 + (60*minutes)
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/ |
H A D | DurationTest.java | 28 int minutes, int seconds) throws DateException { 37 assertEquals("Duration minutes is not equal for " + str, minutes, duration.minutes); 26 verifyDuration(String str, int sign, int weeks, int days, int hours, int minutes, int seconds) argument
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | TimeUtils.java | 102 int days = 0, hours = 0, minutes = 0; 113 minutes = seconds / SECONDS_PER_MINUTE; 114 seconds -= minutes * SECONDS_PER_MINUTE; 122 myLen += accumField(minutes, 1, myLen > 0, 2); 139 pos = printField(formatStr, minutes, 'm', pos, pos != start, zeropad ? 2 : 0);
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
H A D | LocationManagerTest.java | 116 double minutes = Double.parseDouble(loc5b); 117 Log.i(LOG_TAG, "minutes = " + minutes); 118 assertTrue(Math.abs(minutes - 0.5) < 0.0001);
|
/frameworks/base/core/java/android/util/ |
H A D | TimeUtils.java | 312 int days = 0, hours = 0, minutes = 0; 323 minutes = seconds / SECONDS_PER_MINUTE; 324 seconds -= minutes * SECONDS_PER_MINUTE; 332 myLen += accumField(minutes, 1, myLen > 0, 2); 349 pos = printField(formatStr, minutes, 'm', pos, pos != start, zeropad ? 2 : 0);
|
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 48 * M indicates minutes of arc (1 minute = 1/60th of a degree). 55 * indicates minutes of arc, and S indicates seconds of arc (1 190 int minutes = (int) Math.floor(coordinate); 191 sb.append(minutes); 193 coordinate -= minutes; 235 String minutes = st.nextToken(); 241 min = Integer.parseInt(minutes); 245 min = Double.parseDouble(minutes);
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 415 * Time spans in the past are formatted like "42 minutes ago". 416 * Time spans in the future are formatted like "in 42 minutes". 421 * past will be reported as "0 minutes ago" if this is set to MINUTE_IN_MILLIS. Pass one of 432 * Time spans in the past are formatted like "42 minutes ago". Time spans in 433 * the future are formatted like "in 42 minutes". 441 * 3 seconds in the past will be reported as "0 minutes ago" if 562 * the past will be reported as "0 minutes ago" if this is set to 692 long minutes = 0; 700 minutes = elapsedSeconds / 60; 701 elapsedSeconds -= minutes * 6 716 formatElapsedTime(StringBuilder recycle, String format, long hours, long minutes, long seconds) argument 749 formatElapsedTime(StringBuilder recycle, String format, long minutes, long seconds) argument [all...] |
H A D | DateFormat.java | 61 For 7 minutes past the hour:<br/> 148 Examples for 7 minutes past the hour: 568 int minutes = (offset % 3600) / 60; 571 tb.append(zeroPad(minutes, 2));
|
H A D | Time.java | 548 * or subtracting hours or minutes, then you should use 720 int minutes = (offset % 3600) / 60; 723 return String.format("%s%s%02d:%02d", base, sign, hours, minutes);
|
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 384 double minutes = Double.parseDouble(pair[0].trim()) 391 double result = degrees + (minutes / 60.0) + (seconds / 3600.0);
|
/frameworks/base/core/java/android/widget/ |
H A D | MediaController.java | 400 int minutes = (totalSeconds / 60) % 60; 405 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString(); 407 return mFormatter.format("%02d:%02d", minutes, seconds).toString();
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmServiceStateTracker.java | 1348 int minutes = off % 60; 1355 buf[7] = (char) ('0' + minutes / 10); 1356 buf[8] = (char) ('0' + minutes % 10);
|
/frameworks/base/core/java/android/provider/ |
H A D | CalendarContract.java | 74 * the given calendar. Reminders are specified in minutes before the event and 1683 * days and minutes. The instances table is not writable and only provides a 2014 * The minutes prior to the event that the alarm should ring. -1 2019 public static final String MINUTES = "minutes"; 2022 * Passing this as a minutes value will use the default reminder 2023 * minutes. 2154 * The number of minutes that this alarm precedes the start time. Column 2158 public static final String MINUTES = "minutes"; 2226 long begin, long end, long alarmTime, int minutes) { 2237 values.put(CalendarAlerts.MINUTES, minutes); 2225 insert(ContentResolver cr, long eventId, long begin, long end, long alarmTime, int minutes) argument [all...] |