/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
D | SunCalculator.java | 82 int hour = (int) Math.floor(time); in timeToHours() local 83 int minute = (int) Math.round((time - hour) * 60); in timeToHours() 85 hour++; in timeToHours() 87 return hour; in timeToHours() 91 int hour = (int) Math.floor(time); in timeToMinutes() local 92 int minute = (int) Math.round((time - hour) * 60); in timeToMinutes() 100 int hour = (int) Math.floor(time); in timeToDayFraction() local 101 int minute = (int) Math.round((time - hour) * 60); in timeToDayFraction() 104 hour++; in timeToDayFraction() 106 return (hour * 60 + minute) / 1440.0f; in timeToDayFraction() [all …]
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
D | DateTime.java | 37 private final int hour; field in DateTime 42 …public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZ… in DateTime() argument 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); in DateTime() 47 this.hour = hour; in DateTime() 69 …public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, i… in convertToDate() argument 71 c.set(year, month - 1, day, hour, minute, second); in convertToDate() 99 return hour; in getHour()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | CalendarUtilities.java | 242 int hour; field in CalendarUtilities.TimeZoneDate 251 static void putRuleIntoTimeZoneInformation(byte[] bytes, int offset, RRule rrule, int hour, in putRuleIntoTimeZoneInformation() argument 260 setWord(bytes, offset + MSFT_SYSTEMTIME_HOUR, hour); in putRuleIntoTimeZoneInformation() 315 int hour = getWord(bytes, offset + MSFT_SYSTEMTIME_HOUR); in getTimeZoneDateFromSystemTime() local 316 tzd.hour = hour; in getTimeZoneDateFromSystemTime() 319 tzd.time = (hour*HOURS) + (minute*MINUTES); in getTimeZoneDateFromSystemTime() 336 testCalendar.set(GregorianCalendar.HOUR_OF_DAY, tzd.hour); in getMillisAtTimeZoneDateTransition() 881 if ((dstStart.hour != dstEnd.hour) && (precision == STANDARD_DST_PRECISION)) { in tziStringToTimeZoneImpl() 1004 int hour = calendar.get(Calendar.HOUR_OF_DAY); in getTrueTransitionHour() local 1005 hour++; in getTrueTransitionHour() [all …]
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 81 private int hour; field in DateTimeParser.Time 86 public Time(int hour, int minute, int second, int zone) { in Time() argument 87 this.hour = hour; in Time() 93 public int getHour() { return hour; } in getHour() 285 h = hour(); in time() 302 final public int hour() throws ParseException { in hour() method in DateTimeParser
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 957 time.hour = mSelectionHour; in getSelectedTimeInMillis() 968 time.hour = mSelectionHour; in getSelectedTime() 980 time.hour = mSelectionHourForAccessibility; in getSelectedTimeForAccessibility() 1009 setSelectedHour(mBaseDate.hour); in setSelected() 1022 if (mBaseDate.hour < mFirstHour) { in setSelected() 1024 gotoY = mBaseDate.hour * (mCellHeight + HOUR_GAP); in setSelected() 1029 if (mBaseDate.hour >= lastHour) { in setSelected() 1035 gotoY = (int) ((mBaseDate.hour + 1 + mBaseDate.minute / 60.0f) in setSelected() 1109 time.hour = mSelectionHour; in getSelectedDay() 1149 int savedHour = mBaseDate.hour; in compareToVisibleTimeRange() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Alarms.java | 183 values.put(Alarm.Columns.HOUR, alarm.hour); in createContentValues() 593 return calculateAlarm(alarm.hour, alarm.minutes, alarm.daysOfWeek) in calculateAlarm() 601 static Calendar calculateAlarm(int hour, int minute, in calculateAlarm() argument 612 if (hour < nowHour || in calculateAlarm() 613 hour == nowHour && minute <= nowMinute) { in calculateAlarm() 616 c.set(Calendar.HOUR_OF_DAY, hour); in calculateAlarm() 626 static String formatTime(final Context context, int hour, int minute, in formatTime() argument 628 Calendar c = calculateAlarm(hour, minute, daysOfWeek); in formatTime()
|
D | Alarm.java | 55 p.writeInt(hour); in writeToParcel() 161 public int hour; field in Alarm 176 ", hour=" + hour + in toString() 189 hour = c.getInt(Columns.ALARM_HOUR_INDEX); in Alarm() 218 hour = p.readInt(); in Alarm() 231 hour = 0; in Alarm()
|
D | HandleSetAlarm.java | 52 final int hour = intent.getIntExtra(EXTRA_HOUR, in onCreate() local 63 long timeInMillis = Alarms.calculateAlarm(hour, minutes, in onCreate() 69 Alarm.Columns.HOUR + "=" + hour + " AND " + in onCreate() 85 values.put(Alarm.Columns.HOUR, hour); in onCreate()
|
D | AnalogClock.java | 241 int hour = mCalendar.hour; in onTimeChanged() local 248 mHour = hour + mMinutes / 60.0f; in onTimeChanged()
|
D | SetAlarm.java | 232 mHour = alarm.hour; in updatePrefs() 297 alarm.hour = mHour; in buildAlarmFromUi() 368 (hours == 1) ? context.getString(R.string.hour) : in formatToast()
|
D | AlarmUtils.java | 54 public static void popAlarmSetToast(Context context, int hour, int minute, in popAlarmSetToast() argument 57 Alarms.calculateAlarm(hour, minute, daysOfWeek) in popAlarmSetToast()
|
D | DigitalClock.java | 179 public void updateTime(int hour, int minute) { in updateTime() argument 182 c.set(Calendar.HOUR_OF_DAY, hour); in updateTime()
|
D | AlarmClock.java | 281 alarm.hour = hourOfDay; in onDialogTimeSet() 658 itemHolder.clock.updateTime(alarm.hour, alarm.minutes); in bindView() 1227 AlarmUtils.popAlarmSetToast(this, alarm.hour, alarm.minutes, alarm.daysOfWeek); in popToast()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 253 int hourDuration = endTime.hour - startTime.hour; in onTimeSet() 256 startTime.hour = hourOfDay; in onTimeSet() 261 endTime.hour = hourOfDay + hourDuration; in onTimeSet() 269 endTime.hour = hourOfDay; in onTimeSet() 304 mTime.hour, mTime.minute, DateFormat.is24HourFormat(mActivity)); in onClick() 306 mStartTimePickerDialog.setStartTime(mTime.hour, mTime.minute); in onClick() 313 mTime.hour, mTime.minute, DateFormat.is24HourFormat(mActivity)); in onClick() 315 mEndTimePickerDialog.setStartTime(mTime.hour, mTime.minute); in onClick() 716 mStartTime.hour = 0; in fillModelFromUI() 722 mEndTime.hour = 0; in fillModelFromUI() [all …]
|
D | EditEventHelper.java | 675 time.hour = 0; in checkTimeDependentFields() 761 untilTime.hour = 0; in updatePastEvents() 769 dtstart.hour = 0; in updatePastEvents() 1238 startTime.hour = 0; in getContentValuesFromModel() 1244 endTime.hour = 0; in getContentValuesFromModel()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaListView.java | 276 int hour = t.hour; in getFirstVisibleTime() local 280 t.hour = hour; in getFirstVisibleTime()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertService.java | 419 + "%d:%02d", minutesBeforeRefresh, time.hour, time.minute); in generateAlerts() 611 (time.hour > quietHoursStartHour || in processQuery() 612 (time.hour == quietHoursStartHour in processQuery() 615 (time.hour < quietHoursEndHour || in processQuery() 616 (time.hour == quietHoursEndHour in processQuery()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 140 private static long createTimeInMillis(int second, int minute, int hour, int monthDay, in createTimeInMillis() argument 142 return createTimeInMillis(second, minute, hour, monthDay, month, year, in createTimeInMillis() 146 private static long createTimeInMillis(int second, int minute, int hour, int monthDay, in createTimeInMillis() argument 149 t.set(second, minute, hour, monthDay, month, year); in createTimeInMillis()
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | Utils.java | 22 public static long createTimeInMillis(int second, int minute, int hour, int monthDay, in createTimeInMillis() argument 25 t.set(second, minute, hour, monthDay, month, year); in createTimeInMillis()
|
/packages/providers/CalendarProvider/ |
D | maketests.py | 62 hour = int(m.group(4)) + (sign * int(m.group(8))) 63 return m.group(1) + m.group(2) + m.group(3) + "T" + fmt(hour) \
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 84 time.hour = 2; in setUp() 152 time.hour = 0; in testGetAppWidgetModel_AllDayEventLater()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeeksAdapter.java | 279 day.hour = mSelectedDay.hour; in onDayTapped()
|
D | MonthByWeekAdapter.java | 308 day.hour = currTime.hour; in setDayParameters()
|
/packages/inputmethods/PinyinIME/jni/include/ |
D | userdict.h | 165 #define COARSE_UTC(year, month, day, hour, minute, second) \ argument 170 (hour - 0) * 60 * 60 + \
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 446 time.hour = 0; 454 time.hour = 0;
|