/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EventViewUtils.java | 45 public static String constructReminderLabel(Context context, int minutes, boolean abbrev) { in constructReminderLabel() argument 49 if (minutes % 60 != 0) { in constructReminderLabel() 50 value = minutes; in constructReminderLabel() 56 } else if (minutes % (24 * 60) != 0) { in constructReminderLabel() 57 value = minutes / 60; in constructReminderLabel() 60 value = minutes / (24 * 60); in constructReminderLabel() 75 public static int findMinutesInReminderList(ArrayList<Integer> values, int minutes) { in findMinutesInReminderList() argument 76 int index = values.indexOf(minutes); in findMinutesInReminderList() 79 Log.e(TAG, "Cannot find minutes (" + minutes + ") in list"); in findMinutesInReminderList() 124 int minutes = reminderMinuteValues.get(minuteSpinner.getSelectedItemPosition()); in reminderItemsToReminders() local [all …]
|
D | EditEventFragment.java | 273 int minutes = cursor.getInt(EditEventHelper.REMINDERS_INDEX_MINUTES); in onQueryComplete() local 275 ReminderEntry re = ReminderEntry.valueOf(minutes, method); in onQueryComplete()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | Utils.java | 42 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local 52 minutes = seconds / SECONDS_PER_MINUTE; in formatElapsedTime() 53 seconds -= minutes * SECONDS_PER_MINUTE; in formatElapsedTime() 57 days, hours, minutes, seconds)); in formatElapsedTime() 59 sb.append(context.getString(R.string.battery_history_hours, hours, minutes, seconds)); in formatElapsedTime() 60 } else if (minutes > 0) { in formatElapsedTime() 61 sb.append(context.getString(R.string.battery_history_minutes, minutes, seconds)); in formatElapsedTime()
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
D | TimeImpl.java | 169 int minutes = (int)parseFloat(timeValues[indexOfMinutes], 0, false); in parseClockValue() local 170 if ((minutes >= 00) && (minutes <= 59)) { in parseClockValue() 171 result += 60000*minutes; in parseClockValue()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleSetAlarm.java | 54 final int minutes = intent.getIntExtra(EXTRA_MINUTES, in onCreate() local 63 long timeInMillis = Alarms.calculateAlarm(hour, minutes, in onCreate() 70 Alarm.Columns.MINUTES + "=" + minutes + " AND " + in onCreate() 86 values.put(Alarm.Columns.MINUTES, minutes); in onCreate()
|
D | SetAlarm.java | 248 mMinute = alarm.minutes; in updatePrefs() 331 alarm.minutes = mMinute; in buildAlarmFromUi() 406 long minutes = delta / (1000 * 60) % 60; in formatToast() local 414 String minSeq = (minutes == 0) ? "" : in formatToast() 415 (minutes == 1) ? context.getString(R.string.minute) : in formatToast() 416 context.getString(R.string.minutes, Long.toString(minutes)); in formatToast() 424 boolean dispMinute = minutes > 0; in formatToast()
|
D | Alarm.java | 54 p.writeInt(minutes); in writeToParcel() 160 public int minutes; field in Alarm 172 minutes = c.getInt(Columns.ALARM_MINUTES_INDEX); in Alarm() 201 minutes = p.readInt(); in Alarm() 216 minutes = c.get(Calendar.MINUTE); in Alarm()
|
D | AlarmClock.java | 66 SetAlarm.popAlarmSetToast(this, alarm.hour, alarm.minutes, in updateAlarm() 111 c.set(Calendar.MINUTE, alarm.minutes); in bindView() 171 SetAlarm.popAlarmSetToast(this, alarm.hour, alarm.minutes, in onContextItemSelected() 281 cal.set(Calendar.MINUTE, alarm.minutes); in onCreateContextMenu()
|
D | AlarmKlaxon.java | 143 int minutes = (int) Math.round(millis / 60000.0); in sendKillBroadcast() local 146 alarmKilled.putExtra(Alarms.ALARM_KILLED_TIMEOUT, minutes); in sendKillBroadcast()
|
D | Alarms.java | 159 values.put(Alarm.Columns.MINUTES, alarm.minutes); in createContentValues() 561 return calculateAlarm(alarm.hour, alarm.minutes, alarm.daysOfWeek) in calculateAlarm()
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
D | CallDetailHistoryAdapter.java | 164 long minutes = 0; in formatDuration() local 168 minutes = elapsedSeconds / 60; in formatDuration() 169 elapsedSeconds -= minutes * 60; in formatDuration() 173 return mContext.getString(R.string.callDetailsDurationFormat, minutes, seconds); in formatDuration()
|
/packages/apps/Phone/src/com/android/phone/ |
D | EmergencyCallbackModeExitDialog.java | 268 int minutes = (int)(millisUntilFinished / 60000); in getDialogText() local 269 String time = String.format("%d:%02d", minutes, in getDialogText() 275 R.plurals.alert_dialog_not_avaialble_in_ecm, minutes).toString(), time); in getDialogText() 278 minutes).toString(), time); in getDialogText()
|
D | EmergencyCallbackModeService.java | 180 int minutes = (int)(millisUntilFinished / 60000); in showNotification() local 181 String time = String.format("%d:%02d", minutes, (millisUntilFinished % 60000) / 1000); in showNotification() 183 R.plurals.phone_in_ecm_notification_time, minutes).toString(), time); in showNotification()
|
/packages/apps/Contacts/src/com/android/contacts/voicemail/ |
D | VoicemailPlaybackFragment.java | 148 int minutes = seconds / 60; in formatAsMinutesAndSeconds() local 149 seconds -= minutes * 60; in formatAsMinutesAndSeconds() 150 if (minutes > 99) { in formatAsMinutesAndSeconds() 151 minutes = 99; in formatAsMinutesAndSeconds() 153 return String.format("%02d:%02d", minutes, seconds); in formatAsMinutesAndSeconds()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
D | DateTime.java | 75 int minutes = ((timeZone / 100) * 60) + timeZone % 100; in convertToDate() local 76 c.add(Calendar.MINUTE, -1 * minutes); in convertToDate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TimeBar.java | 274 int minutes = (totalSeconds / 60) % 60; in stringForTime() local 277 return String.format("%d:%02d:%02d", hours, minutes, seconds).toString(); in stringForTime() 279 return String.format("%02d:%02d", minutes, seconds).toString(); in stringForTime()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 110 public static ReminderEntry valueOf(int minutes, int method) { in valueOf() argument 112 return new ReminderEntry(minutes, method); in valueOf() 120 public static ReminderEntry valueOf(int minutes) { in valueOf() argument 121 return valueOf(minutes, Reminders.METHOD_DEFAULT); in valueOf() 130 private ReminderEntry(int minutes, int method) { in ReminderEntry() argument 132 mMinutes = minutes; in ReminderEntry()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertUtils.java | 161 long alarmTime, int minutes) { in makeContentValues() argument 172 values.put(CalendarAlerts.MINUTES, minutes); in makeContentValues()
|
D | AlertService.java | 496 final int minutes = alertCursor.getInt(ALERT_INDEX_MINUTES); in processQuery() local 512 + " eventId:" + eventId + " state: " + state + " minutes:" + minutes in processQuery()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DateTimeSettings.java | 394 int minutes = off % 60; in formatOffset() local 401 buf[7] = (char) ('0' + minutes / 10); in formatOffset() 402 buf[8] = (char) ('0' + minutes % 10); in formatOffset()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
D | StringUtils.java | 161 return String.format(context.getString(R.string.minutes), mins); in getDurationAsString()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarAlarmManager.java | 392 final int minutes = cursor.getInt(minutesIndex); in scheduleNextAlarmLocked() local 433 resolver, eventId, startTime, endTime, alarmTime, minutes); in scheduleNextAlarmLocked()
|
D | CalendarInstancesHelper.java | 238 duration.minutes = 0; in performInstanceExpansion() 309 duration.minutes = 0; in performInstanceExpansion() 319 duration.minutes = 0; in performInstanceExpansion()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Account.java | 351 public void setSyncInterval(int minutes) { in setSyncInterval() argument 352 mSyncInterval = minutes; in setSyncInterval()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | VideoCamera.java | 1776 long minutes = seconds / 60; in millisecondToTimeString() local 1777 long hours = minutes / 60; in millisecondToTimeString() 1778 long remainderMinutes = minutes - (hours * 60); in millisecondToTimeString() 1779 long remainderSeconds = seconds - (minutes * 60); in millisecondToTimeString()
|