Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DNightDisplayController.java300 public final int hourOfDay; field in NightDisplayController.LocalTime
306 public LocalTime(int hourOfDay, int minute) { in LocalTime() argument
307 if (hourOfDay < 0 || hourOfDay > 23) { in LocalTime()
308 throw new IllegalArgumentException("Invalid hourOfDay: " + hourOfDay); in LocalTime()
313 this.hourOfDay = hourOfDay; in LocalTime()
329 c.set(Calendar.HOUR_OF_DAY, hourOfDay); in getDateTimeBefore()
354 c.set(Calendar.HOUR_OF_DAY, hourOfDay); in getDateTimeAfter()
374 final int hourOfDay = (millis / 3600000) % 24; in valueOf() local
376 return new LocalTime(hourOfDay, minutes); in valueOf()
383 return hourOfDay * 3600000 + minute * 60000; in toMillis()
[all …]
/frameworks/base/core/java/android/app/
DTimePickerDialog.java65 void onTimeSet(TimePicker view, int hourOfDay, int minute); in onTimeSet() argument
77 public TimePickerDialog(Context context, OnTimeSetListener listener, int hourOfDay, int minute, in TimePickerDialog() argument
79 this(context, 0, listener, hourOfDay, minute, is24HourView); in TimePickerDialog()
103 int hourOfDay, int minute, boolean is24HourView) { in TimePickerDialog() argument
107 mInitialHourOfDay = hourOfDay; in TimePickerDialog()
132 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { in onTimeChanged() argument
157 public void updateTime(int hourOfDay, int minuteOfHour) { in updateTime() argument
158 mTimePicker.setCurrentHour(hourOfDay); in updateTime()
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java322 private void initialize(int hourOfDay, int minute, boolean is24HourView, int index) { in initialize() argument
323 mCurrentHour = hourOfDay; in initialize()
587 private int getLocalizedHour(int hourOfDay) {
590 hourOfDay %= 12;
593 if (!mHourFormatStartsAtZero && hourOfDay == 0) {
595 hourOfDay = mIs24Hour ? 24 : 12;
598 return hourOfDay;
601 private void updateHeaderHour(int hourOfDay, boolean announce) {
602 final int localizedHour = getLocalizedHour(hourOfDay);
DTimePicker.java63 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/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java124 void onTimeSet(RadialPickerLayout view, int hourOfDay, int minute); in onTimeSet() argument
132 int hourOfDay, int minute, boolean is24HourMode) { in TimePickerDialog() argument
137 int hourOfDay, int minute, boolean is24HourMode) { in newInstance() argument
139 ret.initialize(callback, hourOfDay, minute, is24HourMode); in newInstance()
144 int hourOfDay, int minute, boolean is24HourMode) { in initialize() argument
147 mInitialHourOfDay = hourOfDay; in initialize()
169 public void setStartTime(int hourOfDay, int minute) { in setStartTime() argument
170 mInitialHourOfDay = hourOfDay; in setStartTime()
DRadialPickerLayout.java256 private boolean isHourInnerCircle(int hourOfDay) { in isHourInnerCircle() argument
258 return mIs24HourMode && (hourOfDay <= 12 && hourOfDay != 0); in isHourInnerCircle()
/frameworks/base/services/core/java/com/android/server/display/
DNightDisplayService.java343 final int hourOfDay = mLastActivatedTime.get(Calendar.HOUR_OF_DAY); in updateActivated() local
349 mLastActivatedTime.set(Calendar.HOUR_OF_DAY, hourOfDay); in updateActivated()
/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
/frameworks/base/docs/html/guide/topics/ui/controls/
Dpickers.jd104 public void onTimeSet(TimePicker view, int hourOfDay, int minute) {