Home
last modified time | relevance | path

Searched refs:hourOfDay (Results 1 – 10 of 10) 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.java412 private void initialize(int hourOfDay, int minute, boolean is24HourView, int index) { in initialize() argument
413 mCurrentHour = hourOfDay; in initialize()
771 private int getLocalizedHour(int hourOfDay) {
774 hourOfDay %= 12;
777 if (!mHourFormatStartsAtZero && hourOfDay == 0) {
779 hourOfDay = mIs24Hour ? 24 : 12;
782 return hourOfDay;
785 private void updateHeaderHour(int hourOfDay, boolean announce) {
786 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.java180 Builder setActualTimeUtc(int year, int monthInYear, int day, int hourOfDay, in setActualTimeUtc() argument
182 mActualTimeMillis = createUtcTime(year, monthInYear, day, hourOfDay, minute, in setActualTimeUtc()
257 private static long createUtcTime(int year, int monthInYear, int day, int hourOfDay, int minute, in createUtcTime() argument
261 cal.set(year, monthInYear - 1, day, hourOfDay, minute, second); in createUtcTime()
DTimeZoneLookupHelperTest.java478 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUtcTime() argument
481 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUtcTime()
/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 createUtcTime() argument
110 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUtcTime()
/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.java888 private static long createUtcTime(int year, int monthInYear, int day, int hourOfDay, int minute, in createUtcTime() argument
892 cal.set(year, monthInYear - 1, day, hourOfDay, minute, second); in createUtcTime()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...