Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DTimePickerDialog.java66 void onTimeSet(TimePicker view, int hourOfDay, int minute); in onTimeSet() argument
78 public TimePickerDialog(Context context, OnTimeSetListener listener, int hourOfDay, int minute, in TimePickerDialog() argument
80 this(context, 0, listener, hourOfDay, minute, is24HourView); in TimePickerDialog()
110 int hourOfDay, int minute, boolean is24HourView) { in TimePickerDialog() argument
114 mInitialHourOfDay = hourOfDay; in TimePickerDialog()
143 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { in onTimeChanged() argument
188 public void updateTime(int hourOfDay, int minuteOfHour) { in updateTime() argument
189 mTimePicker.setCurrentHour(hourOfDay); in updateTime()
/frameworks/base/core/java/android/widget/
DTextInputTimePickerView.java239 int hourOfDay = localizedHour; in getHourOfDayFromLocalizedHour() local
242 hourOfDay = 0; in getHourOfDayFromLocalizedHour()
246 hourOfDay = 0; in getHourOfDayFromLocalizedHour()
249 hourOfDay += 12; in getHourOfDayFromLocalizedHour()
252 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()
766 private int getLocalizedHour(int hourOfDay) {
769 hourOfDay %= 12;
772 if (!mHourFormatStartsAtZero && hourOfDay == 0) {
774 hourOfDay = mIs24Hour ? 24 : 12;
777 return hourOfDay;
780 private void updateHeaderHour(int hourOfDay, boolean announce) {
781 final int localizedHour = getLocalizedHour(hourOfDay);
DTimePicker.java102 void onTimeChanged(TimePicker view, int hourOfDay, int minute); in onTimeChanged() argument
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTimePickerBindingAdapter.java95 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { in setListeners()
97 listener.onTimeChanged(view, hourOfDay, minute); in setListeners()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNitzDataTest.java110 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUtcTime() argument
113 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUtcTime()
DNitzStateMachineTest.java423 private static long createUtcTime(int year, int monthInYear, int day, int hourOfDay, int minute, in createUtcTime() argument
427 cal.set(year, monthInYear - 1, day, hourOfDay, minute, second); in createUtcTime()
690 int hourOfDay, int minute, int second) { in setInitialDeviceSystemClockUtc() argument
691 mInitialDeviceSystemClockMillis = createUtcTime(year, monthInYear, day, hourOfDay, in setInitialDeviceSystemClockUtc()
701 Builder setActualTimeUtc(int year, int monthInYear, int day, int hourOfDay, in setActualTimeUtc() argument
703 mActualTimeMillis = createUtcTime(year, monthInYear, day, hourOfDay, minute, in setActualTimeUtc()
DTimeZoneLookupHelperTest.java345 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUtcTime() argument
348 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUtcTime()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java127 void onTimeSet(RadialPickerLayout view, int hourOfDay, int minute); in onTimeSet() argument
135 int hourOfDay, int minute, boolean is24HourMode) { in TimePickerDialog() argument
140 int hourOfDay, int minute, boolean is24HourMode) { in newInstance() argument
142 ret.initialize(callback, hourOfDay, minute, is24HourMode); in newInstance()
147 int hourOfDay, int minute, boolean is24HourMode) { in initialize() argument
150 mInitialHourOfDay = hourOfDay; in initialize()
172 public void setStartTime(int hourOfDay, int minute) { in setStartTime() argument
173 mInitialHourOfDay = hourOfDay; in setStartTime()
DRadialPickerLayout.java258 private boolean isHourInnerCircle(int hourOfDay) { in isHourInnerCircle() argument
260 return mIs24HourMode && (hourOfDay <= 12 && hourOfDay != 0); in isHourInnerCircle()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DListenerBindingObject.java160 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { } in onTimeChanged() argument