/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | TimePickerBindingAdapter.java | 29 @BindingAdapter("android:hour") 30 public static void setHour(TimePicker view, int hour) { argument 32 if (view.getHour() != hour) { 33 view.setHour(hour); 36 if (view.getCurrentHour() != hour) { 37 view.setCurrentHour(hour); 56 @InverseBindingAdapter(attribute = "android:hour") 62 Integer hour = view.getCurrentHour(); 63 if (hour == null) { 66 return hour; [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpUtils.cpp | 31 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 39 &year, &month, &day, &hour, &minute, &second) != 6) 61 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/ex/common/java/com/android/common/ |
H A D | LegacyHttpDateTime.java | 75 this.hour = h; 80 int hour; field in class:LegacyHttpDateTime.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 D | ScheduleCalendar.java | 70 private long getTime(long millis, int hour, int min) { argument 72 mCalendar.set(Calendar.HOUR_OF_DAY, hour);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | TwoWayBindingObject.java | 48 public final ObservableInt hour = new ObservableInt(); field in class:TwoWayBindingObject
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
H A D | TimePicker.java | 38 * current system locale. The time can be selected by hour, minute, and AM/PM picker columns. 40 * {@link #setIs24Hour(boolean)} or the widget attribute {@code is24HourFormat} (true for 24-hour 41 * mode, false for 12-hour mode). Otherwise, TimePicker retrieves the mode based on the current 42 * context. In 24-hour mode, TimePicker displays only the hour and minute columns. 46 * {@link #setMinute(int)} using 24-hour time format. The time format can also be changed at any 174 * 24 hour time format, defined in the Unicode CLDR and cannot be supposed to be ":". 178 * For example, for english in 12 hour format 180 * indicates nothing needs to be displayed to the left of the hour field, ":" needs to be 181 * displayed to the right of hour fiel 336 setHour(@ntRangefrom = 0, to = 23) int hour) argument [all...] |
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiTimerRecordSources.java | 51 * 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 D | TimePickerSpinnerDelegate.java | 89 // hour 90 mHourSpinner = delegator.findViewById(R.id.hour); 235 // the hour format that we found. 261 * separator as the character which is just after the hour marker in the returned pattern. 287 public void setDate(int hour, int minute) { argument 288 setCurrentHour(hour, false); 295 public void setHour(int hour) { argument 296 setCurrentHour(hour, true); 363 // cache the current hour since spinner range changes and BEFORE changing mIs24HourView!! 522 // 'k' means 1-24 hour [all...] |
H A D | TimePicker.java | 47 * A widget for selecting the time of day, in either 24-hour or AM/PM mode. 96 * @param hourOfDay The current hour. 168 * Sets the currently selected hour using 24-hour time. 170 * @param hour the hour to set, in the range (0-23) 173 public void setHour(@IntRange(from = 0, to = 23) int hour) { argument 174 mDelegate.setHour(MathUtils.constrain(hour, 0, 23)); 178 * Returns the currently selected hour using 24-hour tim 363 setHour(@ntRangefrom = 0, to = 23) int hour) argument 369 setDate(@ntRangefrom = 0, to = 23) int hour, @IntRange(from = 0, to = 59) int minute) argument 493 SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode) argument 497 SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode, int currentItemShowing) argument [all...] |
H A D | TimePickerClockDelegate.java | 64 * hour / minute fields to the radial picker. 150 // Set up hour/minute labels. 302 * Updates hour formatting based on the current locale and 24-hour mode. 304 * Determines how the hour should be formatted, sets member variables for 305 * leading zero and starting hour, and sets the hour view's presentation. 328 // Update hour text field. 510 public void setDate(int hour, int minute) { argument 511 setHourInternal(hour, FROM_EXTERNAL_AP 521 setHour(int hour) argument 525 setHourInternal(int hour, @ChangeSource int source, boolean announce, boolean notify) argument [all...] |
H A D | RadialTimePickerView.java | 164 * When in 24-hour mode, indicates that the current hour is between 206 * @param newValue the new value as minute in hour (0-59) or hour in 445 public void initialize(int hour, int minute, boolean is24HourMode) { argument 451 setCurrentHourInternal(hour, false, false); 477 * Sets the current hour in 24-hour time. 479 * @param hour the current hour betwee 481 setCurrentHour(int hour) argument 493 setCurrentHourInternal(int hour, boolean callback, boolean autoAdvance) argument 545 getDegreesForHour(int hour) argument 560 getInnerCircleForHour(int hour) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 76 * True if this is an allDay event. The hour, minute, second fields are 94 public int hour; field in class:Time 308 this.hour = 0; 332 * hour}, {@code minute}, and {@code second} are not 0. 386 * field of this Time class is set to true and the <code>hour</code>, 459 // hour 462 hour = n; 481 hour = 0; 530 * the {@link #allDay} field is set to true and the {@link #hour}, 587 // hour 803 set(int second, int minute, int hour, int monthDay, int month, int year) argument [all...] |