Home
last modified time | relevance | path

Searched refs:minutes (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Calendar/src/com/android/calendar/event/
DEventViewUtils.java45 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 …]
DEditEventFragment.java273 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/
DUtils.java42 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/
DTimeImpl.java169 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/
DHandleSetAlarm.java54 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()
DSetAlarm.java248 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()
DAlarm.java54 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()
DAlarmClock.java66 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()
DAlarmKlaxon.java143 int minutes = (int) Math.round(millis / 60000.0); in sendKillBroadcast() local
146 alarmKilled.putExtra(Alarms.ALARM_KILLED_TIMEOUT, minutes); in sendKillBroadcast()
DAlarms.java159 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/
DCallDetailHistoryAdapter.java164 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/
DEmergencyCallbackModeExitDialog.java268 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()
DEmergencyCallbackModeService.java180 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/
DVoicemailPlaybackFragment.java148 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/
DDateTime.java75 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/
DTimeBar.java274 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/
DCalendarEventModel.java110 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/
DAlertUtils.java161 long alarmTime, int minutes) { in makeContentValues() argument
172 values.put(CalendarAlerts.MINUTES, minutes); in makeContentValues()
DAlertService.java496 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/
DDateTimeSettings.java394 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/
DStringUtils.java161 return String.format(context.getString(R.string.minutes), mins); in getDurationAsString()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java392 final int minutes = cursor.getInt(minutesIndex); in scheduleNextAlarmLocked() local
433 resolver, eventId, startTime, endTime, alarmTime, minutes); in scheduleNextAlarmLocked()
DCalendarInstancesHelper.java238 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/
DAccount.java351 public void setSyncInterval(int minutes) { in setSyncInterval() argument
352 mSyncInterval = minutes; in setSyncInterval()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java1776 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()

12