Searched defs:hour (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_time.h48 uint16_t hour; member in struct:__db_system_time_
/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/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/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/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/base/core/java/android/widget/
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/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...]
/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/base/media/libdrm/mobile1/src/objmng/
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...]

Completed in 1481 milliseconds