Searched refs:minute (Results 1 - 21 of 21) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/
H A DDateTime.java38 private final int minute; field in class:DateTime
42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { argument
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
48 this.minute = minute;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { argument
71 c.set(year, month - 1, day, hour, minute, second);
103 return minute;
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
H A DSunCalculator.java83 int minute = (int) Math.round((time - hour) * 60);
84 if (minute == 60) {
92 int minute = (int) Math.round((time - hour) * 60);
93 if (minute == 60) {
94 minute = 0;
96 return minute;
101 int minute = (int) Math.round((time - hour) * 60);
102 if (minute == 60) {
103 minute = 0;
106 return (hour * 60 + minute) / 1440.
[all...]
/packages/apps/AlarmClock/src/com/android/alarmclock/
H A DSetAlarm.java177 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { argument
179 mMinutes = minute;
210 Context context, int id, boolean enabled, int hour, int minute,
214 + " " + hour + " " + minute + " vibe " + vibrate);
217 long time = Alarms.setAlarm(context, id, enabled, hour, minute,
229 static void popAlarmSetToast(Context context, int hour, int minute, argument
232 Alarms.calculateAlarm(hour, minute, daysOfWeek)
259 (minutes == 1) ? context.getString(R.string.minute) :
310 * this alarm to go off on the next minute
209 saveAlarm( Context context, int id, boolean enabled, int hour, int minute, Alarm.DaysOfWeek daysOfWeek, boolean vibrate, String label, String alert, boolean popToast) argument
H A DAlarms.java472 * @param minute 0-59
475 static Calendar calculateAlarm(int hour, int minute, Alarm.DaysOfWeek daysOfWeek) { argument
486 hour == nowHour && minute <= nowMinute) {
490 c.set(Calendar.MINUTE, minute);
496 " minute " + minute + " dow " + c.get(Calendar.DAY_OF_WEEK) + " from now " +
502 static String formatTime(final Context context, int hour, int minute, argument
504 Calendar c = calculateAlarm(hour, minute, daysOfWeek);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DRecurrenceProcessor.java251 iterator.minute,
760 int iteratorMinute = iterator.minute;
820 // minute
823 int minute = usebyminute
826 if (SPEW) Log.i(TAG, " minute=" + minute);
839 generated.set(second, minute, hour, day, month, iteratorYear);
934 iterator.minute += value;
996 int minute = date.minute;
[all...]
H A DCalendarDatabaseHelper.java558 if(time.hour != 0 || time.minute != 0 || time.second != 0) {
560 time.minute = 0;
H A DCalendarProvider2.java542 time.minute = 0;
1377 int startMinute = local.hour * 60 + local.minute;
1381 int endMinute = local.hour * 60 + local.minute;
1385 // Exception: if start and end minute are both 0 on the same day,
1498 if (time.hour != 0 || time.minute != 0 || time.second != 0) {
1500 time.minute = 0;
1520 if (time.hour != 0 || time.minute != 0 || time.second != 0) {
1522 time.minute = 0;
3084 // Actually, we allow alarms up to a minute later to also
3149 // for one minute pas
[all...]
H A DCalendarAppWidgetService.java285 time.minute = 0;
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParser.java82 private int minute; field in class:DateTimeParser.Time
86 public Time(int hour, int minute, int second, int zone) { argument
88 this.minute = minute;
94 public int getMinute() { return minute; }
287 m = minute();
309 final public int minute() throws ParseException { method in class:DateTimeParser
/packages/apps/DeskClock/src/com/android/deskclock/
H A DSetAlarm.java243 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { argument
247 mMinutes = minute;
312 static void popAlarmSetToast(Context context, int hour, int minute, argument
315 Alarms.calculateAlarm(hour, minute, daysOfWeek)
342 (minutes == 1) ? context.getString(R.string.minute) :
H A DAlarms.java509 static Calendar calculateAlarm(int hour, int minute, argument
521 hour == nowHour && minute <= nowMinute) {
525 c.set(Calendar.MINUTE, minute);
534 static String formatTime(final Context context, int hour, int minute, argument
536 Calendar c = calculateAlarm(hour, minute, daysOfWeek);
/packages/apps/Calendar/src/com/android/calendar/
H A DEditEvent.java272 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { argument
285 int minuteDuration = endTime.minute - startTime.minute;
288 startTime.minute = minute;
293 endTime.minute = minute + minuteDuration;
298 endTime.minute = minute;
323 mTime.hour, mTime.minute,
[all...]
H A DUtils.java229 * hour, minute, and second fields.
233 time.minute = 0;
H A DMonthActivity.java131 now.minute = 0;
H A DMonthView.java449 monthStart.minute = 0;
969 // Restore the saved hour:minute:second offset from when we entered
972 time.minute = mSavedTime.minute;
H A DAgendaWindowAdapter.java457 time.minute = 0;
H A DCalendarView.java1220 weekStart.minute = 0;
1459 + ((mCurrentTime.minute * mCellHeight) / 60)
3216 //% causes update to occur on 5 minute marks (11:10, 11:15, 11:20, etc.)
/packages/apps/Email/src/com/android/exchange/utility/
H A DCalendarUtilities.java187 int minute; field in class:CalendarUtilities.TimeZoneDate
191 int minute) {
200 setWord(bytes, offset + MSFT_SYSTEMTIME_MINUTE, minute);
206 // Round to the next highest minute; we always write seconds as zero
256 int minute = getWord(bytes, offset + MSFT_SYSTEMTIME_MINUTE);
257 tzd.minute = minute;
258 tzd.time = (hour*HOURS) + (minute*MINUTES);
276 testCalendar.set(GregorianCalendar.MINUTE, tzd.minute);
295 // We'll keep splitting the difference until we're within a minute
190 putRuleIntoTimeZoneInformation(byte[] bytes, int offset, RRule rrule, int hour, int minute) argument
[all...]
/packages/inputmethods/PinyinIME/jni/include/
H A Duserdict.h165 #define COARSE_UTC(year, month, day, hour, minute, second) \
171 (minute - 0) * 60 + \
/packages/apps/Settings/src/com/android/settings/
H A DDateTimeSettings.java170 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { argument
174 c.set(Calendar.MINUTE, minute);
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
H A DPolarClockWallpaper.java122 if ((val = xrp.getAttributeValue(null, "minute")) != null)
516 angle = ((calendar.minute * 60.0f + calendar.second) % 3600) / 3600.0f;
529 angle = ((calendar.hour * 60.0f + calendar.minute) % 1440) / 1440.0f;

Completed in 202 milliseconds