/frameworks/base/core/java/com/android/internal/app/ |
D | NightDisplayController.java | 300 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/ |
D | TimePickerDialog.java | 65 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/ |
D | TimePickerClockDelegate.java | 322 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);
|
D | TimePicker.java | 63 void onTimeChanged(TimePicker view, int hourOfDay, int minute); in onTimeChanged() argument
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | TimePickerBindingAdapter.java | 95 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/ |
D | TimePickerDialog.java | 124 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()
|
D | RadialPickerLayout.java | 256 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/ |
D | NightDisplayService.java | 343 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/ |
D | ListenerBindingObject.java | 160 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { } in onTimeChanged() argument
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | pickers.jd | 104 public void onTimeSet(TimePicker view, int hourOfDay, int minute) {
|