Home
last modified time | relevance | path

Searched refs:hourOfDay (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/app/
DTimePickerDialog.java68 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/
DTextInputTimePickerView.java271 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()
DTimePickerClockDelegate.java413 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);
DTimePicker.java105 void onTimeChanged(TimePicker view, int hourOfDay, int minute); in onTimeChanged() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineTestSupport.java185 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()
DTimeZoneLookupHelperTest.java499 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/
DNitzDataTest.java107 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/
DEventIndex.java402 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/
DTimeDetectorStrategyImplTest.java1526 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()