Searched defs:minutes (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
H A DDuration.java39 public int minutes; field in class:Duration
57 minutes = 0;
105 minutes = n;
134 cal.add(Calendar.MINUTE, sign*minutes);
147 + (60*minutes)
H A DCalendarEventModel.java102 * Returns a new ReminderEntry, with the specified minutes and method.
104 * @param minutes Number of minutes before the start of the event that the alert will fire.
107 public static ReminderEntry valueOf(int minutes, int method) { argument
109 return new ReminderEntry(minutes, method);
113 * Returns a ReminderEntry, with the specified number of minutes and a default alert method.
115 * @param minutes Number of minutes before the start of the event that the alert will fire.
117 public static ReminderEntry valueOf(int minutes) { argument
118 return valueOf(minutes, Reminder
127 ReminderEntry(int minutes, int method) argument
[all...]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DDurationTest.java28 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
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DDuration.java30 public int minutes; field in class:Duration
46 minutes = 0;
90 minutes = n;
114 cal.add(Calendar.MINUTE, sign*minutes);
124 return factor * ((7*24*60*60*weeks) + (24*60*60*days) + (60*60*hours) + (60*minutes) +
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DDuration.java37 public int minutes; field in class:Duration
55 minutes = 0;
103 minutes = n;
132 cal.add(Calendar.MINUTE, sign*minutes);
145 + (60*minutes)
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEventViewUtils.java41 // 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/Calendar/src/com/android/calendar/alerts/
H A DAlertActivity.java53 // The default snooze delay: 5 minutes
186 long alarmTime, int minutes) {
197 values.put(CalendarAlerts.MINUTES, minutes);
305 // Set the "minutes" to zero to indicate this is a snoozed
309 makeContentValues(eventId, begin, end, alarmTime, 0 /* minutes */);
185 makeContentValues(long eventId, long begin, long end, long alarmTime, int minutes) argument
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarm.java54 p.writeInt(minutes);
86 public static final String MINUTES = "minutes";
160 public int minutes; field in class:Alarm
172 minutes = c.getInt(Columns.ALARM_MINUTES_INDEX);
201 minutes = p.readInt();
216 minutes = c.get(Calendar.MINUTE);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DAccount.java337 * @return the minutes per check (for polling)
345 * Set the minutes per check (for polling). Be sure to call save() to commit to database.
347 * @param minutes the number of minutes between polling checks
349 public void setSyncInterval(int minutes) { argument
350 mSyncInterval = minutes;

Completed in 245 milliseconds