/frameworks/base/core/java/android/app/ |
D | DatePickerDialog.java | 89 int year, int month, int dayOfMonth) { in DatePickerDialog() argument 90 this(context, 0, listener, null, year, month, dayOfMonth); in DatePickerDialog() 108 @Nullable OnDateSetListener listener, int year, int monthOfYear, int dayOfMonth) { in DatePickerDialog() argument 109 this(context, themeResId, listener, null, year, monthOfYear, dayOfMonth); in DatePickerDialog() 114 int monthOfYear, int dayOfMonth) { in DatePickerDialog() argument 129 dayOfMonth = calendar.get(Calendar.DAY_OF_MONTH); in DatePickerDialog() 133 mDatePicker.init(year, monthOfYear, dayOfMonth, this); in DatePickerDialog() 150 public void onDateChanged(@NonNull DatePicker view, int year, int month, int dayOfMonth) { in onDateChanged() argument 151 mDatePicker.init(year, month, dayOfMonth, this); in onDateChanged() 199 public void updateDate(int year, int month, int dayOfMonth) { in updateDate() argument [all …]
|
/frameworks/base/core/java/android/util/ |
D | DayOfMonthCursor.java | 48 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { in DayOfMonthCursor() argument 50 mRow = getRowOf(dayOfMonth); in DayOfMonthCursor() 51 mColumn = getColumnOf(dayOfMonth); in DayOfMonthCursor() 86 public void setSelectedDayOfMonth(int dayOfMonth) { in setSelectedDayOfMonth() argument 87 mRow = getRowOf(dayOfMonth); in setSelectedDayOfMonth() 88 mColumn = getColumnOf(dayOfMonth); in setSelectedDayOfMonth()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiTimerRecordSources.java | 272 public static TimerInfo timerInfoOf(int dayOfMonth, int monthOfYear, Time startTime, in timerInfoOf() argument 274 if (dayOfMonth < 0 || dayOfMonth > 31) { in timerInfoOf() 276 "Day of month should be in range of [0, 31]:" + dayOfMonth); in timerInfoOf() 291 return new TimerInfo(dayOfMonth, monthOfYear, startTime, duration, recordingSequence); in timerInfoOf() 337 private TimerInfo(int dayOfMonth, int monthOfYear, Time startTime, in TimerInfo() argument 339 mDayOfMonth = dayOfMonth; in TimerInfo()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | DatePicker.java | 83 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); in onDateChanged() argument 271 public void updateDate(int year, int monthOfYear, int dayOfMonth) { in updateDate() argument 272 if (mYear != year || mMonth != monthOfYear || mDay != dayOfMonth) { in updateDate() 275 mDay = dayOfMonth; in updateDate() 398 public void init(int year, int monthOfYear, int dayOfMonth, in init() argument 400 init(year, monthOfYear, dayOfMonth, false, onDateChangedListener); in init() 411 public void init(int year, int monthOfYear, int dayOfMonth, boolean yearOptional, in init() argument 415 mDay = dayOfMonth; in init()
|
D | DatePickerActivity.java | 32 public void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth) { in onCreate()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
D | DatePicker.java | 305 private void setDate(int year, int month, int dayOfMonth) { in setDate() argument 306 mCurrentDate.set(year, month, dayOfMonth); in setDate() 322 public void updateDate(int year, int month, int dayOfMonth, boolean animation) { in updateDate() argument 323 if (!isNewDate(year, month, dayOfMonth)) { in updateDate() 326 setDate(year, month, dayOfMonth); in updateDate() 330 private boolean isNewDate(int year, int month, int dayOfMonth) { in isNewDate() argument 332 || mCurrentDate.get(Calendar.MONTH) != dayOfMonth in isNewDate()
|
/frameworks/base/core/java/android/widget/ |
D | DatePicker.java | 126 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); in onDateChanged() argument 207 public void init(int year, int monthOfYear, int dayOfMonth, in init() argument 209 mDelegate.init(year, monthOfYear, dayOfMonth, onDateChangedListener); in init() 219 public void updateDate(int year, int month, int dayOfMonth) { in updateDate() argument 220 mDelegate.updateDate(year, month, dayOfMonth); in updateDate() 491 void init(int year, int monthOfYear, int dayOfMonth, in init() argument 494 void updateDate(int year, int month, int dayOfMonth); in updateDate() argument
|
D | DatePickerSpinnerDelegate.java | 242 public void init(int year, int monthOfYear, int dayOfMonth, in init() argument 244 setDate(year, monthOfYear, dayOfMonth); in init() 252 public void updateDate(int year, int month, int dayOfMonth) { in updateDate() argument 253 if (!isNewDate(year, month, dayOfMonth)) { in updateDate() 256 setDate(year, month, dayOfMonth); in updateDate() 509 private boolean isNewDate(int year, int month, int dayOfMonth) { in isNewDate() argument 512 || mCurrentDate.get(Calendar.DAY_OF_MONTH) != dayOfMonth); in isNewDate() 515 private void setDate(int year, int month, int dayOfMonth) { in setDate() argument 516 mCurrentDate.set(year, month, dayOfMonth); in setDate()
|
D | CalendarViewMaterialDelegate.java | 118 final int dayOfMonth = day.get(Calendar.DAY_OF_MONTH); 119 mOnDateChangeListener.onSelectedDayChange(mDelegator, year, month, dayOfMonth);
|
D | DatePickerCalendarDelegate.java | 382 public void init(int year, int monthOfYear, int dayOfMonth, in init() argument 386 mCurrentDate.set(Calendar.DAY_OF_MONTH, dayOfMonth); in init() 394 public void updateDate(int year, int month, int dayOfMonth) { in updateDate() argument 397 mCurrentDate.set(Calendar.DAY_OF_MONTH, dayOfMonth); in updateDate() 407 final int dayOfMonth = mCurrentDate.get(Calendar.DAY_OF_MONTH); in onDateChanged() local 408 mDateChangedListener.onDateChanged(mDelegator, year, monthOfYear, dayOfMonth); in onDateChanged()
|
D | DayPickerPagerAdapter.java | 131 final int dayOfMonth = day.get(Calendar.DAY_OF_MONTH); in setSelectedDay() local 132 newMonthView.calendar.setSelectedDay(dayOfMonth); in setSelectedDay()
|
D | CalendarView.java | 88 void onSelectedDayChange(@NonNull CalendarView view, int year, int month, int dayOfMonth); in onSelectedDayChange() argument
|
D | SimpleMonthView.java | 746 public void setSelectedDay(int dayOfMonth) { in setSelectedDay() argument 747 mActivatedDay = dayOfMonth; in setSelectedDay()
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | CalendarViewBindingAdapter.java | 46 int dayOfMonth) { in setListeners() 48 onDayChange.onSelectedDayChange(view, year, month, dayOfMonth); in setListeners()
|
D | DatePickerBindingAdapter.java | 72 public void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth) { in onDateChanged() argument 74 mListener.onDateChanged(view, year, monthOfYear, dayOfMonth); in onDateChanged()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DatePickerDialog.java | 125 void onDateSet(DatePickerDialog dialog, int year, int monthOfYear, int dayOfMonth); in onDateSet() argument 149 int dayOfMonth) { in newInstance() argument 151 ret.initialize(callBack, year, monthOfYear, dayOfMonth); in newInstance() 155 public void initialize(OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) { in initialize() argument 159 mCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth); in initialize()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
D | ListenerBindingObject.java | 91 public void onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth) { } in onSelectedDayChange() argument
|