/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | Stopwatches.java | 124 long hundreds, seconds, minutes, hours; 127 minutes = seconds / 60; 128 seconds = seconds - minutes * 60; 129 hours = minutes / 60; 130 minutes = minutes - hours * 60; 137 } else if (minutes >= 10) { 142 return String.format(formats[formatIndex], hours, minutes, 154 long hundreds, seconds, minutes, hours; 157 minutes [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | 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) { argument 49 if (minutes % 60 != 0) { 50 value = minutes; 56 } else if (minutes % (24 * 60) != 0) { 57 value = minutes / 60; 60 value = minutes / (2 75 findMinutesInReminderList(ArrayList<Integer> values, int minutes) argument 135 addMinutesToList(Context context, ArrayList<Integer> values, ArrayList<String> labels, int minutes) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AlarmUtils.java | 75 * format "Alarm set for 2 days 7 hours and 53 minutes from 81 long minutes = delta / (1000 * 60) % 60; 89 String minSeq = (minutes == 0) ? "" : 90 (minutes == 1) ? context.getString(R.string.minute) : 91 context.getString(R.string.minutes, Long.toString(minutes)); 99 boolean dispMinute = minutes > 0;
|
H A D | HandleApiCalls.java | 87 final int minutes; 89 minutes = intent.getIntExtra(EXTRA_MINUTES, -1); 91 minutes = 0; 93 if (hour < 0 || hour > 23 || minutes < 0 || minutes > 59) { 108 setSelectionFromIntent(intent, hour, minutes, selection, args); 133 Alarm alarm = new Alarm(hour, minutes); 251 int minutes, 257 args.add(String.valueOf(minutes)); 248 setSelectionFromIntent( Intent intent, int hour, int minutes, StringBuilder selection, List<String> args) argument
|
H A D | TimePickerFragment.java | 45 minute = mAlarm.minutes;
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
H A D | TimeImpl.java | 169 int minutes = (int)parseFloat(timeValues[indexOfMinutes], 0, false); 170 if ((minutes >= 00) && (minutes <= 59)) { 171 result += 60000*minutes;
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | CountingTimerView.java | 64 // Hours and minutes are signed for when a timer goes past the set time and thus negative 66 // Seconds are always shown with minutes, so are never signed 96 * 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 316 * Update the time to display. Separates that time into the hours, minutes, seconds and 333 long hundreds, seconds, minutes, hours; 336 minutes = seconds / 60; 337 seconds = seconds - minutes * 60; 338 hours = minutes / 60; 339 minutes 507 getTimeStringForAccessibility(int hours, int minutes, int seconds, boolean showNeg, Resources r) argument [all...] |
H A D | TimerReceiver.java | 358 long hundreds, seconds, minutes, hours; 360 minutes = seconds / 60; 361 seconds = seconds - minutes * 60; 362 hours = minutes / 60; 363 minutes = minutes - hours * 60; 371 String minSeq = (minutes == 0) ? "" : 372 ( (minutes == 1) ? context.getString(R.string.minute) : 373 context.getString(R.string.minutes, Long.toString(minutes)) ); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | Alarm.java | 87 values.put(MINUTES, alarm.minutes); 223 public int minutes; field in class:Alarm 235 public Alarm(int hour, int minutes) { argument 238 this.minutes = minutes; 250 minutes = c.getInt(MINUTES_INDEX); 269 minutes = p.readInt(); 288 p.writeInt(minutes); 306 nextInstanceTime.set(Calendar.MINUTE, minutes); 347 ", minutes [all...] |
H A D | ClockDatabaseHelper.java | 158 "minutes", 172 alarm.minutes = cursor.getInt(2);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
H A D | TimePicker.java | 124 PickerColumn minutes = new PickerColumn(mConstant.minutes); 126 ret.add(minutes);
|
H A D | PickerConstant.java | 39 public final String[] minutes; field in class:PickerConstant 53 minutes = createStringIntArrays(59, true, 2);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallDetailHistoryAdapter.java | 150 long minutes = 0; 154 minutes = elapsedSeconds / 60; 155 elapsedSeconds -= minutes * 60; 159 return mContext.getString(R.string.callDetailsDurationFormat, minutes, seconds);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
H A D | DateTime.java | 75 int minutes = ((timeZone / 100) * 60) + timeZone % 100; 76 c.add(Calendar.MINUTE, -1 * minutes);
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | EmergencyCallbackModeExitDialog.java | 287 int minutes = (int)(millisUntilFinished / 60000); 288 String time = String.format("%d:%02d", minutes, 294 R.plurals.alert_dialog_not_avaialble_in_ecm, minutes).toString(), time); 297 minutes).toString(), time);
|
H A D | EmergencyCallbackModeService.java | 200 int minutes = (int)(millisUntilFinished / 60000); 201 String time = String.format("%d:%02d", minutes, (millisUntilFinished % 60000) / 1000); 203 R.plurals.phone_in_ecm_notification_time, minutes).toString(), time);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | TimeBar.java | 253 int minutes = (totalSeconds / 60) % 60; 256 return String.format("%d:%02d:%02d", hours, minutes, seconds).toString(); 258 return String.format("%02d:%02d", minutes, seconds).toString();
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
H A D | VoicemailPlaybackFragment.java | 168 * We always use four digits, two for minutes two for seconds. In the very unlikely event 169 * that the voicemail duration exceeds 99 minutes, the display is capped at 99 minutes. 173 int minutes = seconds / 60; 174 seconds -= minutes * 60; 175 if (minutes > 99) { 176 minutes = 99; 178 return String.format("%02d:%02d", minutes, seconds);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | Utils.java | 929 int days = 0, hours = 0, minutes = 0; 939 minutes = seconds / SECONDS_PER_MINUTE; 940 seconds -= minutes * SECONDS_PER_MINUTE; 945 days, hours, minutes, seconds)); 948 hours, minutes, seconds)); 949 } else if (minutes > 0) { 950 sb.append(context.getString(R.string.battery_history_minutes, minutes, seconds)); 957 days, hours, minutes)); 960 hours, minutes)); 962 sb.append(context.getString(R.string.battery_history_minutes_no_seconds, minutes)); [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertUtils.java | 203 long alarmTime, int minutes) { 214 values.put(CalendarAlerts.MINUTES, minutes); 202 makeContentValues(long eventId, long begin, long end, long alarmTime, int minutes) argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarEventModel.java | 106 * Returns a new ReminderEntry, with the specified minutes and method. 108 * @param minutes Number of minutes before the start of the event that the alert will fire. 111 public static ReminderEntry valueOf(int minutes, int method) { argument 113 return new ReminderEntry(minutes, method); 117 * Returns a ReminderEntry, with the specified number of minutes and a default alert method. 119 * @param minutes Number of minutes before the start of the event that the alert will fire. 121 public static ReminderEntry valueOf(int minutes) { argument 122 return valueOf(minutes, Reminder 131 ReminderEntry(int minutes, int method) argument [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarAlarmManager.java | 87 * least a few minutes to allow for an event that was recently created on 306 // are milliseconds) and Reminders.minutes (whose units are 307 // minutes). 312 // Note 1: we can add support for the case where Reminders.minutes 313 // equals -1 to mean use Calendars.minutes by adding a UNION for 315 // Reminders.minutes != -1 and Reminders.minutes = 1, respectively. 408 final int minutes = cursor.getInt(minutesIndex); 449 resolver, eventId, startTime, endTime, alarmTime, minutes);
|
H A D | CalendarInstancesHelper.java | 236 duration.minutes = 0; 307 duration.minutes = 0; 317 duration.minutes = 0;
|
/packages/apps/OMA-DM/engine/dmlib/dmt-tools/lib/ |
H A D | joda-time-1.1.jar | ... secondOfDay () public abstract org.joda.time.DurationField minutes () public abstract org.joda.time.DateTimeField minuteOfHour ... |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
H A D | DateTimeActivity.java | 559 int minutes = (int) (off % 60); 566 sb.append((char) ('0' + minutes / 10)); 567 sb.append((char) ('0' + minutes % 10));
|