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

/frameworks/av/media/mtp/
H A DMtpUtils.cpp33 hh is replaced by the hour (00-23), mm is replaced by the minute (00-59), and ss by the
38 int year, month, day, hour, minute, second; local
42 &year, &month, &day, &hour, &minute, &second) != 6)
57 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/services/core/java/com/android/server/notification/
H A DDowntimeCalendar.java66 private long getTime(long millis, int hour, int min) { argument
68 mCalendar.set(Calendar.HOUR_OF_DAY, hour);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DTimeStatsAggregator.java90 private static String getTimeOfDay(int hour) { argument
91 if (hour >= 5 && hour < 11) {
93 } else if (hour >= 11 && hour < 14) {
95 } else if (hour >= 14 && hour < 18) {
97 } else if (hour >= 18 && hour < 21) {
99 } else if ((hour >
126 getPeriodOfDay(int hour) argument
[all...]
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiTimerRecordSources.java51 * TimeOrDuration duration = HdmiTimerRecordSource.ofDuration(1, 00); // 1 hour duration.
52 * // For 1 hour from 6PM, August 10th every SaturDay and Sunday.
145 * @param hour hour in range of [0, 23]
148 * @throws IllegalArgumentException if hour or minute is out of range
150 public static Time timeOf(int hour, int minute) { argument
151 checkTimeValue(hour, minute);
152 return new Time(hour, minute);
155 private static void checkTimeValue(int hour, int minute) { argument
156 if (hour <
172 durationOf(int hour, int minute) argument
177 checkDurationValue(int hour, int minute) argument
195 TimeUnit(int hour, int minute) argument
219 Time(int hour, int minute) argument
230 Duration(int hour, int minute) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTimePickerSpinnerDelegate.java92 // hour
93 mHourSpinner = (NumberPicker) delegator.findViewById(R.id.hour);
232 // the hour format that we found.
258 * separator as the character which is just after the hour marker in the returned pattern.
345 // cache the current hour since spinner range changes and BEFORE changing mIs24HourView!!
502 // 'k' means 1-24 hour
511 // 'K' means 0-11 hour
565 private SavedState(Parcelable superState, int hour, int minute) { argument
567 mHour = hour;
H A DRadialTimePickerView.java161 * When in 24-hour mode, indicates that the current hour is between
454 public void initialize(int hour, int minute, boolean is24HourMode) { argument
460 setCurrentHourInternal(hour, false, false);
486 * Sets the current hour in 24-hour time.
488 * @param hour the current hour between 0 and 23 (inclusive)
490 public void setCurrentHour(int hour) { argument
491 setCurrentHourInternal(hour, tru
502 setCurrentHourInternal(int hour, boolean callback, boolean autoAdvance) argument
554 getDegreesForHour(int hour) argument
[all...]
H A DTimePickerClockDelegate.java140 // Set up hour/minute labels.
159 // Now that we have text appearances out of the way, make sure the hour
306 * Set the current hour.
323 * @return The current hour in the range (0-23).
365 * Set whether in 24 hour or AM/PM mode.
367 * @param is24HourView True = 24 hour mode. False = AM/PM.
376 int hour = mRadialTimePickerView.getCurrentHour();
377 mInitialHourOfDay = hour;
378 updateHeaderHour(hour, false);
385 * @return true if this is in 24 hour vie
536 SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode, boolean isKbMode, ArrayList<Integer> typedTimes, int currentItemShowing) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DTime.java75 * True if this is an allDay event. The hour, minute, second fields are
93 public int hour; field in class:Time
305 this.hour = 0;
324 * hour}, {@code minute}, and {@code second} are not 0.
378 * field of this Time class is set to true and the <code>hour</code>,
451 // hour
454 hour = n;
473 hour = 0;
522 * the {@link #allDay} field is set to true and the {@link #hour},
579 // hour
787 set(int second, int minute, int hour, int monthDay, int month, int year) argument
[all...]

Completed in 5472 milliseconds