/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
D | SunCalculator.java | 83 int minute = (int) Math.round((time - hour) * 60); in timeToHours() local 84 if (minute == 60) { in timeToHours() 92 int minute = (int) Math.round((time - hour) * 60); in timeToMinutes() local 93 if (minute == 60) { in timeToMinutes() 94 minute = 0; in timeToMinutes() 96 return minute; in timeToMinutes() 101 int minute = (int) Math.round((time - hour) * 60); in timeToDayFraction() local 102 if (minute == 60) { in timeToDayFraction() 103 minute = 0; in timeToDayFraction() 106 return (hour * 60 + minute) / 1440.0f; in timeToDayFraction() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
D | DateTime.java | 38 private final int minute; 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() 48 this.minute = minute; 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() 103 return minute; in getMinute()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | OtherPreferences.java | 186 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument 192 String summary = formatTime(hourOfDay, minute); in onTimeSet() 197 editor.putInt(KEY_OTHER_QUIET_HOURS_START_MINUTE, minute); in onTimeSet() 202 editor.putInt(KEY_OTHER_QUIET_HOURS_END_MINUTE, minute); in onTimeSet() 217 private String formatTime(int hourOfDay, int minute) { in formatTime() argument 220 time.minute = minute; in formatTime()
|
D | Utils.java | 772 recycle.minute = 0; in getNextMidnight() 1210 private static int getPixelOffsetFromMinutes(int minute, int workDayHeight, in getPixelOffsetFromMinutes() argument 1213 if (minute < WORK_DAY_START_MINUTES) { in getPixelOffsetFromMinutes() 1214 y = minute * remainderHeight / WORK_DAY_START_MINUTES; in getPixelOffsetFromMinutes() 1215 } else if (minute < WORK_DAY_END_MINUTES) { in getPixelOffsetFromMinutes() 1216 y = remainderHeight + (minute - WORK_DAY_START_MINUTES) * workDayHeight in getPixelOffsetFromMinutes() 1219 y = remainderHeight + workDayHeight + (minute - WORK_DAY_END_MINUTES) * remainderHeight in getPixelOffsetFromMinutes() 1387 long runInMillis = (24 * 3600 - time.hour * 3600 - time.minute * 60 - in setMidnightUpdater()
|
D | AllInOneActivity.java | 772 if (t.minute > 30) { in onOptionsItemSelected() 774 t.minute = 0; in onOptionsItemSelected() 775 } else if (t.minute > 0 && t.minute < 30) { in onOptionsItemSelected() 776 t.minute = 30; in onOptionsItemSelected()
|
D | DayView.java | 1035 gotoY = (int) ((mBaseDate.hour + 1 + mBaseDate.minute / 60.0f) in setSelected() 1124 end.minute += 1; in updateTitle() 1150 int savedMinute = mBaseDate.minute; in compareToVisibleTimeRange() 1154 mBaseDate.minute = 0; in compareToVisibleTimeRange() 1186 mBaseDate.minute = savedMinute; in compareToVisibleTimeRange() 2019 weekStart.minute = 0; in reloadEvents() 2473 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in doDraw() 2663 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors() 2676 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 241 public void onTimeSet(RadialPickerLayout view, int hourOfDay, int minute) { in onTimeSet() argument 254 int minuteDuration = endTime.minute - startTime.minute; in onTimeSet() 257 startTime.minute = minute; in onTimeSet() 262 endTime.minute = minute + minuteDuration; in onTimeSet() 270 endTime.minute = minute; 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() 724 mStartTime.minute = 0; in fillModelFromUI() [all …]
|
D | EditEventHelper.java | 605 defaultStart.minute = 30; in constructDefaultStartTime() 676 time.minute = 0; in checkTimeDependentFields() 762 untilTime.minute = 0; in updatePastEvents() 770 dtstart.minute = 0; in updatePastEvents() 1239 startTime.minute = 0; in getContentValuesFromModel() 1245 endTime.minute = 0; in getContentValuesFromModel()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 82 private int minute; field in DateTimeParser.Time 86 public Time(int hour, int minute, int second, int zone) { in Time() argument 88 this.minute = minute; in Time() 94 public int getMinute() { return minute; } in getMinute() 287 m = minute(); in time() 309 final public int minute() throws ParseException { in minute() method in DateTimeParser
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
D | CalendarUtilities.java | 240 int minute; field in CalendarUtilities.TimeZoneDate 249 int minute) { in putRuleIntoTimeZoneInformation() argument 258 setWord(bytes, offset + MSFT_SYSTEMTIME_MINUTE, minute); in putRuleIntoTimeZoneInformation() 314 int minute = getWord(bytes, offset + MSFT_SYSTEMTIME_MINUTE); in getTimeZoneDateFromSystemTime() local 315 tzd.minute = minute; in getTimeZoneDateFromSystemTime() 316 tzd.time = (hour*HOURS) + (minute*MINUTES); in getTimeZoneDateFromSystemTime() 334 testCalendar.set(GregorianCalendar.MINUTE, tzd.minute); in getMillisAtTimeZoneDateTransition() 996 int minute = calendar.get(Calendar.MINUTE); in getTrueTransitionMinute() local 997 if (minute == 59) { in getTrueTransitionMinute() 998 minute = 0; in getTrueTransitionMinute() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | DateTimeSettings.java | 201 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument 204 setTime(activity, hourOfDay, minute); in onTimeSet() 362 /* package */ static void setTime(Context context, int hourOfDay, int minute) { in setTime() argument 366 c.set(Calendar.MINUTE, minute); in setTime()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaListView.java | 277 int minute = t.minute; in getFirstVisibleTime() local 281 t.minute = minute; in getFirstVisibleTime()
|
/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/DeskClock/src/com/android/deskclock/ |
D | AnalogClock.java | 242 int minute = mCalendar.minute; in onTimeChanged() local 247 mMinutes = minute + second / 60.0f; in onTimeChanged()
|
D | Utils.java | 356 int minute = nextQuarter.get(Calendar.MINUTE); in getAlarmOnQuarterHour() local 357 nextQuarter.add(Calendar.MINUTE, 15 - (minute % 15)); in getAlarmOnQuarterHour() 379 long runInMillis = ((24 - time.hour) * 3600 - time.minute * 60 - time.second + 1) * 1000; in setMidnightUpdater()
|
D | AlarmTimelineView.java | 185 private int getDaysFromNow(int day, int hour, int minute) { in getDaysFromNow() argument 200 return (minute < currentMinute) ? DAYS_IN_WEEK : 0; in getDaysFromNow()
|
/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()
|
D | AlertServiceTest.java | 203 long end, int minute, long alarmTime) { in Alert() argument 210 mMinute = minute; in Alert() 715 private static long createTimeInMillis(int hour, int minute) { in createTimeInMillis() argument 716 return Utils.createTimeInMillis(0 /* second */, minute, hour, 1 /* day */, 1 /* month */, in createTimeInMillis()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekFragment.java | 469 if (mSelectedDay.minute >= 30) { in setMonthDisplayed() 470 mSelectedDay.minute = 30; in setMonthDisplayed() 472 mSelectedDay.minute = 0; in setMonthDisplayed()
|
D | SimpleWeeksAdapter.java | 280 day.minute = mSelectedDay.minute; in onDayTapped()
|
D | MonthByWeekAdapter.java | 309 day.minute = currTime.minute; in setDayParameters()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | TextTime.java | 148 public void setTime(int hour, int minute) { in setTime() argument 150 mMinute = minute; in setTime()
|
/packages/inputmethods/PinyinIME/jni/include/ |
D | userdict.h | 165 #define COARSE_UTC(year, month, day, hour, minute, second) \ argument 171 (minute - 0) * 60 + \
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertService.java | 428 + "%d:%02d", minutesBeforeRefresh, time.hour, time.minute); in generateAlerts() 622 && time.minute >= quietHoursStartMinute)); in processQuery() 626 && time.minute <= quietHoursEndMinute)); in processQuery()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
D | PolarClockWallpaper.java | 516 angle = ((calendar.minute * 60.0f + calendar.second) % 3600) / 3600.0f; in drawFrame() 529 angle = ((calendar.hour * 60.0f + calendar.minute) % 1440) / 1440.0f; in drawFrame()
|