/frameworks/base/media/libdrm/mobile1/include/objmng/ |
H A D | drm_time.h | 48 uint16_t hour; member in struct:__db_system_time_
|
H A D | drm_inner.h | 26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ 30 hour = time / 10000;\
|
/frameworks/base/media/libdrm/mobile1/include/parser/ |
H A D | parser_rel.h | 43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\ 45 time = hour * 10000 + min * 100 + sec;\ 55 int32_t time; /**< hour * 10000 + min *100 + sec */ 96 * \param hour hour of the time 103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec);
|
/frameworks/base/media/mtp/ |
H A D | MtpUtils.cpp | 32 hh is replaced by the hour (00-23), mm is replaced by the minute (00-59), and ss by the 37 int year, month, day, hour, minute, second; local 41 &year, &month, &day, &hour, &minute, &second) != 6) 56 tm.tm_hour = hour;
|
/frameworks/base/core/java/com/android/internal/http/ |
H A D | HttpDateTime.java | 75 this.hour = h; 80 int hour; field in class:HttpDateTime.TimeOfDay 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, 209 int hour = timeString.charAt(i++) - '0'; 211 hour = hour * 10 + (timeString.charAt(i++) - '0'); 223 return new TimeOfDay(hour, minute, second);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_time.c | 49 time_ptr->hour = tm_t->tm_hour;
|
H A D | drm_api.c | 348 curDateTime.hour, curDateTime.min, curDateTime.sec)) 352 CurrentTime.date, curDateTime.hour, curDateTime.min, 390 int32_t year, mon, day, hour, min, sec, date, time; local 403 INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time); 410 hour += min / 60; 413 if (hour > 23) { 414 day += hour / 24; 415 hour %= 24; 433 YMD_HMS_2_INT(year, mon, day, XXConstraint->EndTime.date, hour, 462 curDateTime.hour, curDateTim [all...] |
/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | TimeTest.java | 36 // + ' ' + t.hour + ':' + t.minute 191 || local.monthDay != test.day2 || local.hour != test.hour2 196 local.year, local.month, local.monthDay, local.hour, local.minute); 209 || local.monthDay != test.day2 || local.hour != test.hour2 214 local.year, local.month, local.monthDay, local.hour, local.minute); 232 || local.monthDay != test.day2 || local.hour != test.hour2 238 local.year, local.month, local.monthDay, local.hour, local.minute, 254 || local.monthDay != test.day2 || local.hour != test.hour2 260 local.year, local.month, local.monthDay, local.hour, local.minute, 368 t.hour ! [all...] |
/frameworks/base/core/jni/ |
H A D | TimeUtils.h | 69 inline void set(int sec, int min, int hour, int mday, int mon, int year, argument 74 this->t.tm_hour = hour;
|
H A D | android_text_format_Time.cpp | 76 sprintf(msg, "allDay is true but sec, min, hour are not 0."); 436 // hour 524 // hour 528 int hour = n; local 594 // hour 599 hour += n; 612 env->SetIntField(This, g_hourField, hour); 616 // we need to normalize after applying the hour and minute offsets 664 g_hourField = env->GetFieldID(timeClass, "hour", "I");
|
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 51 * True if this is an allDay event. The hour, minute, second fields are 69 public int hour; field in class:Time 273 this.hour = 0; 292 * hour}, {@code minute}, and {@code second} are not 0. 417 * field of this Time class is set to true and the <code>hour</code>, 471 * the {@link #allDay} field is set to true and the {@link #hour}, 525 * ambiguous because it falls in the hour that is repeated when switching 580 this.hour = that.hour; 594 public void set(int second, int minute, int hour, in argument [all...] |
H A D | DateFormat.java | 61 For 7 minutes past the hour:<br/> 125 This designator indicates the hour of the day in 12 hour format. 134 This designator indicates the hour of the day in 24 hour format. 146 This designator indicates the minute of the hour. 148 Examples for 7 minutes past the hour: 199 * Returns true if user preference is set to 24-hour format. 201 * @return true if 24 hour time format is selected, false otherwise. 245 * to the current locale and the user's 12-/24-hour cloc [all...] |
H A D | DateUtils.java | 190 * This is not actually the preferred 24-hour date format in all locales. 1092 * If FORMAT_CAP_AMPM is set and 12-hour time is used, then the "AM" 1098 * If FORMAT_NO_NOON is set and 12-hour time is used, then "12pm" is 1102 * If FORMAT_CAP_NOON is set and 12-hour time is used, then "Noon" is 1108 * If FORMAT_NO_MIDNIGHT is set and 12-hour time is used, then "12am" is 1112 * If FORMAT_CAP_MIDNIGHT is set and 12-hour time is used, then "Midnight" 1119 * shown in the 12-hour time format. You should not normally set this. 1126 * shown in the 24-hour time format. You should not normally set this. 1137 * If FORMAT_ABBREV_TIME is set and 12-hour time format is used, then the 1233 && (endDate.hour | endDat [all...] |
/frameworks/base/core/java/android/app/ |
H A D | TimePickerDialog.java | 47 * @param hourOfDay The hour that was set. 53 private static final String HOUR = "hour"; 67 * @param hourOfDay The initial hour. 69 * @param is24HourView Whether this is a 24 hour view, or AM/PM. 81 * @param hourOfDay The initial hour. 83 * @param is24HourView Whether this is a 24 hour view, or AM/PM. 145 int hour = savedInstanceState.getInt(HOUR); 148 mTimePicker.setCurrentHour(hour);
|
/frameworks/base/media/libdrm/mobile1/src/parser/ |
H A D | parser_rel.c | 52 int32_t hour, int32_t min, int32_t sec) 56 hour >= 0 && hour <= 23 && 66 int32_t year, mon, day, hour, min, sec; local 105 /** get hour */ 111 hour = atoi((char *)pHead); 128 if (0 != drm_checkDate(year, mon, day, hour, min, sec)) 131 YMD_HMS_2_INT(year, mon, day, dateTime->date, hour, min, sec, 238 int32_t year, mon, day, hour, min, sec; local 374 /** get hour */ 51 drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec) argument [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
H A D | RecurrenceProcessor.java | 258 iterator.hour, 880 int iteratorHour = iterator.hour; 951 // hour 954 int hour = usebyhour 957 if (SPEW) Log.i(TAG, " hour=" + hour + " usebyhour=" + usebyhour); 978 generated.set(second, minute, hour, day, month, iteratorYear); 1079 iterator.hour += value; 1128 * when time jumps forward an hour, then the "normalized" value will be 1139 int hour [all...] |
H A D | RecurrenceSet.java | 296 dtstartTime.hour = 0; 355 dtstartTime.hour = 0;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicyManager.java | 139 cycle.hour = cycle.minute = cycle.second = 0; 146 lastMonth.hour = lastMonth.minute = lastMonth.second = 0; 165 cycle.hour = cycle.minute = cycle.second = 0; 172 nextMonth.hour = nextMonth.minute = nextMonth.second = 0;
|
/frameworks/base/core/java/android/widget/ |
H A D | DateTimeView.java | 99 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); 117 t.hour -= 12; 119 t.hour += 12; 121 t.hour = 0;
|
H A D | AnalogClock.java | 225 int hour = mCalendar.hour; 230 mHour = hour + mMinutes / 60.0f;
|
H A D | TimePicker.java | 41 * A view for selecting the time of day, in either 24 hour or AM/PM mode. The 42 * hour, each minute digit, and AM/PM (if applicable) can be conrolled by 43 * vertical spinners. The hour can be entered by keyboard input. Entering in two 114 * @param hourOfDay The current hour. 145 // hour 146 mHourSpinner = (NumberPicker) findViewById(R.id.hour); 305 private SavedState(Parcelable superState, int hour, int minute) { argument 307 mHour = hour; 368 * @return The current hour in the range (0-23). 382 * Set the current hour [all...] |
/frameworks/base/media/libdrm/mobile1/src/jni/ |
H A D | drm1_jni.c | 32 #define MS_PER_HOUR 60 * MS_PER_MINUTE /* Milliseconds per hour */ 36 #define SECONDS_PER_HOUR 60 * SECONDS_PER_MINUTE /* Seconds per hour */ 307 * \param hour the hour (0 - 23) 316 uint32_t hour, uint32_t minute, uint32_t second) 327 && hour < 24 && minute < 60 338 SECONDS_PER_HOUR * hour + SECONDS_PER_MINUTE * minute + second)); 350 * <code>time = hour * 10000 + minute * 100 + second</code> 356 int32_t year, month, day, hour, minute, second; local 361 hour 314 mkgmtime( uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second) argument 399 int32_t year, month, day, hour, minute, second; local [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | SmsCbMessage.java | 416 int hour = IccUtils.gsmBcdByteToInt(pdu[9]); 438 time.hour = hour;
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | SmsMessage.java | 577 int hour = IccUtils.gsmBcdByteToInt(pdu[cur++]); 599 time.hour = hour;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 250 int hour = IccUtils.cdmaBcdByteToInt(data[3]); 251 if (hour < 0 || hour > 23) return null; 252 ts.hour = hour; 269 builder.append(", hour=" + hour);
|