/frameworks/base/core/java/android/app/ |
D | TimePickerDialog.java | 68 void onTimeSet(TimePicker view, int hourOfDay, int minute); in onTimeSet() argument 80 public TimePickerDialog(Context context, OnTimeSetListener listener, int hourOfDay, int minute, in TimePickerDialog() argument 82 this(context, 0, listener, hourOfDay, minute, is24HourView); in TimePickerDialog() 112 int hourOfDay, int minute, boolean is24HourView) { in TimePickerDialog() argument 116 mInitialHourOfDay = hourOfDay; in TimePickerDialog() 145 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { in onTimeChanged() argument 190 public void updateTime(int hourOfDay, int minuteOfHour) { in updateTime() argument 191 mTimePicker.setCurrentHour(hourOfDay); in updateTime()
|
/frameworks/base/core/java/android/widget/ |
D | TextInputTimePickerView.java | 271 int hourOfDay = localizedHour; in getHourOfDayFromLocalizedHour() local 274 hourOfDay = 0; in getHourOfDayFromLocalizedHour() 278 hourOfDay = 0; in getHourOfDayFromLocalizedHour() 281 hourOfDay += 12; in getHourOfDayFromLocalizedHour() 284 return hourOfDay; in getHourOfDayFromLocalizedHour()
|
D | TimePickerClockDelegate.java | 413 private void initialize(int hourOfDay, int minute, boolean is24HourView, int index) { in initialize() argument 414 mCurrentHour = hourOfDay; in initialize() 772 private int getLocalizedHour(int hourOfDay) { 775 hourOfDay %= 12; 778 if (!mHourFormatStartsAtZero && hourOfDay == 0) { 780 hourOfDay = mIs24Hour ? 24 : 12; 783 return hourOfDay; 786 private void updateHeaderHour(int hourOfDay, boolean announce) { 787 final int localizedHour = getLocalizedHour(hourOfDay);
|
D | TimePicker.java | 105 void onTimeChanged(TimePicker view, int hourOfDay, int minute); in onTimeChanged() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | NitzStateMachineTestSupport.java | 185 Builder setActualTimeUtc(int year, int monthInYear, int day, int hourOfDay, in setActualTimeUtc() argument 187 mActualTimeMillis = createUnixEpochTime(year, monthInYear, day, hourOfDay, minute, in setActualTimeUtc() 282 private static long createUnixEpochTime(int year, int monthInYear, int day, int hourOfDay, in createUnixEpochTime() argument 286 cal.set(year, monthInYear - 1, day, hourOfDay, minute, second); in createUnixEpochTime()
|
D | TimeZoneLookupHelperTest.java | 499 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUnixEpochTime() argument 502 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUnixEpochTime()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NitzDataTest.java | 107 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUnixEpochTime() argument 110 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUnixEpochTime()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventIndex.java | 402 int hourOfDay = toLocalDateTime(time).getHour(); in createFourHoursLongTimeSlot() local 404 toLocalDateTime(time).truncatedTo(ChronoUnit.HOURS).minusHours(hourOfDay % 4); in createFourHoursLongTimeSlot()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/ |
D | TimeDetectorStrategyImplTest.java | 1526 private static Instant createUnixEpochTime(int year, int monthInYear, int day, int hourOfDay, in createUnixEpochTime() argument 1528 return LocalDateTime.of(year, monthInYear, day, hourOfDay, minute, second) in createUnixEpochTime()
|