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

12

/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_time.h48 uint16_t hour; member in struct:__db_system_time_
H A Ddrm_inner.h26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\
30 hour = time / 10000;\
/frameworks/av/media/mtp/
H A DMtpUtils.cpp32 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/media/libdrm/mobile1/include/parser/
H A Dparser_rel.h43 #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/core/java/com/android/internal/http/
H A DHttpDateTime.java75 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 Ddrm_time.c49 time_ptr->hour = tm_t->tm_hour;
H A Ddrm_api.c348 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 DTimeTest.java36 // + ' ' + 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 DTimeUtils.h69 inline void set(int sec, int min, int hour, int mday, int mon, int year, argument
74 this->t.tm_hour = hour;
H A Dandroid_text_format_Time.cpp77 "allDay is true but sec, min, hour are not 0.");
438 // hour
525 // hour
529 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
663 g_hourField = env->GetFieldID(timeClass, "hour", "I");
/frameworks/base/core/java/android/text/format/
H A DTime.java53 * True if this is an allDay event. The hour, minute, second fields are
71 public int hour; field in class:Time
278 this.hour = 0;
297 * hour}, {@code minute}, and {@code second} are not 0.
391 * field of this Time class is set to true and the <code>hour</code>,
448 * the {@link #allDay} field is set to true and the {@link #hour},
505 * ambiguous because it falls in the hour that is repeated when switching
560 this.hour = that.hour;
574 public void set(int second, int minute, int hour, in argument
[all...]
H A DDateUtils.java102 * This is not actually the preferred 24-hour date format in all locales.
1020 * If FORMAT_CAP_AMPM is set and 12-hour time is used, then the "AM"
1026 * If FORMAT_NO_NOON is set and 12-hour time is used, then "12pm" is
1030 * If FORMAT_CAP_NOON is set and 12-hour time is used, then "Noon" is
1036 * If FORMAT_NO_MIDNIGHT is set and 12-hour time is used, then "12am" is
1040 * If FORMAT_CAP_MIDNIGHT is set and 12-hour time is used, then "Midnight"
1047 * shown in the 12-hour time format. You should not normally set this.
1054 * shown in the 24-hour time format. You should not normally set this.
1065 * If FORMAT_ABBREV_TIME is set and 12-hour time format is used, then the
1158 && (endDate.hour | endDat
[all...]
H A DDateFormat.java69 For 7 minutes past the hour:<br/>
133 This designator indicates the hour of the day in 12 hour format.
142 This designator indicates the hour of the day in 24 hour format.
154 This designator indicates the minute of the hour.
156 Examples for 7 minutes past the hour:
216 * Returns true if user preference is set to 24-hour format.
218 * @return true if 24 hour time format is selected, false otherwise.
263 * to the current locale and the user's 12-/24-hour cloc
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsCbEtwsInfo.java139 int hour = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[3]);
161 time.hour = hour;
/frameworks/base/core/java/android/app/
H A DTimePickerDialog.java47 * @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.
153 int hour = savedInstanceState.getInt(HOUR);
156 mTimePicker.setCurrentHour(hour);
/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_rel.c52 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/calendarcommon2/
H A DRecurrenceProcessor.java258 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 DRecurrenceSet.java296 dtstartTime.hour = 0;
355 dtstartTime.hour = 0;
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java166 cycle.hour = cycle.minute = cycle.second = 0;
173 lastMonth.hour = lastMonth.minute = lastMonth.second = 0;
196 cycle.hour = cycle.minute = cycle.second = 0;
203 nextMonth.hour = nextMonth.minute = nextMonth.second = 0;
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java99 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 DAnalogClock.java229 int hour = mCalendar.hour;
234 mHour = hour + mMinutes / 60.0f;
H A DTimePicker.java42 * A view for selecting the time of day, in either 24 hour or AM/PM mode. The
43 * hour, each minute digit, and AM/PM (if applicable) can be conrolled by
44 * vertical spinners. The hour can be entered by keyboard input. Entering in two
115 * @param hourOfDay The current hour.
146 // hour
147 mHourSpinner = (NumberPicker) findViewById(R.id.hour);
313 private SavedState(Parcelable superState, int hour, int minute) { argument
315 mHour = hour;
376 * @return The current hour in the range (0-23).
390 * Set the current hour
[all...]
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c32 #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/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java245 int hour = IccUtils.cdmaBcdByteToInt(data[3]);
246 if (hour < 0 || hour > 23) return null;
247 ts.hour = hour;
264 builder.append(", hour=" + hour);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java586 int hour = IccUtils.gsmBcdByteToInt(pdu[cur++]);
608 time.hour = hour;

Completed in 619 milliseconds

12