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

/packages/apps/Email/emailcommon/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/Email/emailcommon/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.java242 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { argument
246 mMinute = minute;
321 static void popAlarmSetToast(Context context, int hour, int minute, argument
324 Alarms.calculateAlarm(hour, minute, daysOfWeek)
351 (minutes == 1) ? context.getString(R.string.minute) :
H A DAlarms.java569 static Calendar calculateAlarm(int hour, int minute, argument
581 hour == nowHour && minute <= nowMinute) {
585 c.set(Calendar.MINUTE, minute);
594 static String formatTime(final Context context, int hour, int minute, argument
596 Calendar c = calculateAlarm(hour, minute, daysOfWeek);
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaListView.java120 long runInMillis = (24 * 3600 - time.hour * 3600 - time.minute * 60 -
298 int minute = t.minute;
302 t.minute = minute;
H A DAgendaWindowAdapter.java610 time.minute = 0;
/packages/apps/Settings/src/com/android/settings/
H A DDateTimeSettings.java192 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { argument
193 setTime(hourOfDay, minute);
352 /* package */ static void setTime(int hourOfDay, int minute) { argument
356 c.set(Calendar.MINUTE, minute);
/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleWeeksAdapter.java279 day.minute = mSelectedDay.minute;
H A DMonthByWeekFragment.java435 if (mSelectedDay.minute >= 30) {
436 mSelectedDay.minute = 30;
438 mSelectedDay.minute = 0;
H A DMonthByWeekAdapter.java264 day.minute = currTime.minute;
H A DSimpleDayPickerFragment.java134 midnight.minute = 0;
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java542 recycle.minute = 0;
943 * Compute a pixel offset from the top for a given minute from the work day
946 private static int getPixelOffsetFromMinutes(int minute, int workDayHeight, argument
949 if (minute < WORK_DAY_START_MINUTES) {
950 y = minute * remainderHeight / WORK_DAY_START_MINUTES;
951 } else if (minute < WORK_DAY_END_MINUTES) {
952 y = remainderHeight + (minute - WORK_DAY_START_MINUTES) * workDayHeight
955 y = remainderHeight + workDayHeight + (minute - WORK_DAY_END_MINUTES) * remainderHeight
H A DAllInOneActivity.java710 if (t.minute > 30) {
712 t.minute = 0;
713 } else if (t.minute > 0 && t.minute < 30) {
714 t.minute = 30;
988 // Update when the minute changes
H A DCalendarViewAdapter.java123 long runInMillis = (24 * 3600 - time.hour * 3600 - time.minute * 60 -
H A DDayView.java975 gotoY = (int) ((mBaseDate.hour + 1 + mBaseDate.minute / 60.0f)
1062 // Move it forward one minute so the formatter doesn't lose a day
1063 end.minute += 1;
1089 int savedMinute = mBaseDate.minute;
1093 mBaseDate.minute = 0;
1125 mBaseDate.minute = savedMinute;
1955 weekStart.minute = 0;
2378 + ((mCurrentTime.minute * mCellHeight) / 60) + 1;
2567 + ((mCurrentTime.minute * mCellHeight) / 60) + 1;
2580 + ((mCurrentTime.minute * mCellHeigh
[all...]
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DCalendarUtilities.java77 // We want to find a time zone whose DST info is accurate to one minute
227 int minute; field in class:CalendarUtilities.TimeZoneDate
236 int minute) {
245 setWord(bytes, offset + MSFT_SYSTEMTIME_MINUTE, minute);
251 // Round to the next highest minute; we always write seconds as zero
301 int minute = getWord(bytes, offset + MSFT_SYSTEMTIME_MINUTE);
302 tzd.minute = minute;
303 tzd.time = (hour*HOURS) + (minute*MINUTES);
321 testCalendar.set(GregorianCalendar.MINUTE, tzd.minute);
235 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/Calendar/src/com/android/calendar/event/
H A DEditEventView.java212 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { argument
225 int minuteDuration = endTime.minute - startTime.minute;
228 startTime.minute = minute;
233 endTime.minute = minute + minuteDuration;
238 endTime.minute = minute;
266 mTime.minute, DateForma
[all...]
H A DEditEventHelper.java573 defaultStart.minute = 30;
644 time.minute = 0;
730 untilTime.minute = 0;
738 dtstart.minute = 0;
1193 startTime.minute = 0;
1199 endTime.minute = 0;
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetService.java434 time.minute = 0;
442 time.minute = 0;
/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;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarInstancesHelper.java892 int startMinute = local.hour * 60 + local.minute;
896 int endMinute = local.hour * 60 + local.minute;
900 // Exception: if start and end minute are both 0 on the same day,
H A DCalendarProvider2.java759 time.minute = 0;
1490 if (time.hour != 0 || time.minute != 0 || time.second != 0) {
1492 time.minute = 0;
1502 if (time.hour != 0 || time.minute != 0 || time.second != 0) {
1504 time.minute = 0;
1623 untilTime.hour = untilTime.minute = untilTime.second = 0;
1629 dtstart.hour = dtstart.minute = dtstart.second = 0;
H A DCalendarDatabaseHelper.java1396 if(time.hour != 0 || time.minute != 0 || time.second != 0) {
1398 time.minute = 0;

Completed in 289 milliseconds