/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiTimerRecordSources.java | 150 public static Time timeOf(int hour, int minute) { in timeOf() argument 151 checkTimeValue(hour, minute); in timeOf() 152 return new Time(hour, minute); in timeOf() 155 private static void checkTimeValue(int hour, int minute) { in checkTimeValue() argument 159 if (minute < 0 || minute > 59) { in checkTimeValue() 160 throw new IllegalArgumentException("Minute should be in rage of [0, 59]:" + minute); in checkTimeValue() 172 public static Duration durationOf(int hour, int minute) { in durationOf() argument 173 checkDurationValue(hour, minute); in durationOf() 174 return new Duration(hour, minute); in durationOf() 177 private static void checkDurationValue(int hour, int minute) { in checkDurationValue() argument [all …]
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | TimePickerBindingAdapter.java | 44 public static void setMinute(TimePicker view, int minute) { in setMinute() argument 46 if (view.getMinute() != minute) { in setMinute() 47 view.setMinute(minute); in setMinute() 50 if (view.getCurrentMinute() != minute) { in setMinute() 51 view.setCurrentHour(minute); in setMinute() 77 Integer minute = view.getCurrentMinute(); in getMinute() local 78 if (minute == null) { in getMinute() 81 return minute; in getMinute() 95 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { in setListeners() 97 listener.onTimeChanged(view, hourOfDay, minute); in setListeners()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | TimeTest.java | 199 || local.minute != test.minute2) { in testNormalize1() 203 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1() 217 || local.minute != test.minute2) { in testNormalize1() 221 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1() 236 local.minute += test.offset; in testNormalize1() 240 || local.minute != test.minute2 || local.isDst != test.dst2) { in testNormalize1() 245 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1() 257 local.minute += test.offset; in testNormalize1() 262 || local.minute != test.minute2 || local.isDst != test.dst2) { in testNormalize1() 267 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1() [all …]
|
/frameworks/base/core/java/android/app/ |
D | TimePickerDialog.java | 66 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 115 mInitialMinute = minute; in TimePickerDialog() 143 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { in onTimeChanged() argument 203 final int minute = savedInstanceState.getInt(MINUTE); in onRestoreInstanceState() local 206 mTimePicker.setCurrentMinute(minute); in onRestoreInstanceState()
|
/frameworks/base/core/java/android/text/format/ |
D | Time.java | 89 public int minute; field in Time 307 this.minute = 0; in clear() 467 minute = n; in parseInternal() 482 minute = 0; in parseInternal() 600 int minute = n; in parse3339Internal() local 658 minute += n; in parse3339Internal() 662 this.minute = minute; in parse3339Internal() 670 this.minute = 0; in parse3339Internal() 788 this.minute = that.minute; in set() 803 public void set(int second, int minute, int hour, int monthDay, int month, int year) { in set() argument [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NightDisplayController.java | 389 public final int minute; field in NightDisplayController.LocalTime 391 public LocalTime(int hourOfDay, int minute) { in LocalTime() argument 394 } else if (minute < 0 || minute > 59) { in LocalTime() 395 throw new IllegalArgumentException("Invalid minute: " + minute); in LocalTime() 399 this.minute = minute; in LocalTime() 415 c.set(Calendar.MINUTE, minute); in getDateTimeBefore() 440 c.set(Calendar.MINUTE, minute); in getDateTimeAfter() 468 return hourOfDay * 3600000 + minute * 60000; in toMillis() 473 return String.format(Locale.US, "%02d:%02d", hourOfDay, minute); in toString()
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 76 this.minute = m; in TimeOfDay() 81 int minute; field in LegacyHttpDateTime.TimeOfDay 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, in parse() 215 int minute = (timeString.charAt(i++) - '0') * 10 in getTime() local 223 return new TimeOfDay(hour, minute, second); in getTime()
|
/frameworks/base/core/java/com/android/internal/http/ |
D | HttpDateTime.java | 76 this.minute = m; in TimeOfDay() 81 int minute; field in HttpDateTime.TimeOfDay 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, in parse() 215 int minute = (timeString.charAt(i++) - '0') * 10 in getTime() local 223 return new TimeOfDay(hour, minute, second); in getTime()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 37 int year, month, day, hour, minute, second; in parseDateTime() local 39 &year, &month, &day, &hour, &minute, &second) != 6) in parseDateTime() 60 tm.tm_min = minute; in parseDateTime()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 267 iterator.minute, in filter() 883 int iteratorMinute = iterator.minute; in expand() 964 int minute = usebyminute in expand() local 967 if (SPEW) Log.i(TAG, " minute=" + minute); in expand() 980 … generated.set(second, minute, hour, day, month, iteratorYear); in expand() 1078 iterator.minute += value; in expand() 1140 int minute = date.minute; in unsafeNormalize() local 1148 minute += addMinutes; in unsafeNormalize() 1149 int addHours = ((minute < 0) ? (minute - 59) : minute) / 60; in unsafeNormalize() 1150 minute -= addHours * 60; in unsafeNormalize() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | TimePicker.java | 99 void onTimeChanged(TimePicker view, int hourOfDay, int minute); in onTimeChanged() argument 193 public void setMinute(@IntRange(from = 0, to = 59) int minute) { in setMinute() 194 mDelegate.setMinute(MathUtils.constrain(minute, 0, 59)); in setMinute() 366 void setMinute(@IntRange(from = 0, to = 59) int minute); in setMinute() 463 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode) { in SavedState() argument 464 this(superState, hour, minute, is24HourMode, 0); in SavedState() 467 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode, in SavedState() argument 471 mMinute = minute; in SavedState()
|
D | RadialTimePickerView.java | 445 public void initialize(int hour, int minute, boolean is24HourMode) { in initialize() argument 452 setCurrentMinuteInternal(minute, false); in initialize() 564 public void setCurrentMinute(int minute) { in setCurrentMinute() argument 565 setCurrentMinuteInternal(minute, true); in setCurrentMinute() 568 private void setCurrentMinuteInternal(int minute, boolean callback) { in setCurrentMinuteInternal() argument 569 mSelectionDegrees[MINUTES] = (minute % MINUTES_IN_CIRCLE) * DEGREES_FOR_ONE_MINUTE; in setCurrentMinuteInternal() 574 mListener.onValueSelected(MINUTES, minute, false); in setCurrentMinuteInternal() 587 private int getDegreesForMinute(int minute) { in getDegreesForMinute() argument 588 return minute * DEGREES_FOR_ONE_MINUTE; in getDegreesForMinute() 1167 final int minute; in getVirtualViewAt() local [all …]
|
D | TimePickerClockDelegate.java | 401 private void initialize(int hourOfDay, int minute, boolean is24HourView, int index) { in initialize() argument 403 mCurrentMinute = minute; in initialize() 513 public void setMinute(int minute) { 514 setMinuteInternal(minute, FROM_EXTERNAL_API); 517 private void setMinuteInternal(int minute, @ChangeSource int source) { 518 if (mCurrentMinute == minute) { 522 mCurrentMinute = minute; 523 updateHeaderMinute(minute, true); 526 mRadialTimePickerView.setCurrentMinute(minute);
|
D | AnalogClock.java | 241 int minute = mCalendar.minute; in onTimeChanged() local 244 mMinutes = minute + second / 60.0f; in onTimeChanged()
|
D | TimePickerSpinnerDelegate.java | 114 mMinuteSpinner = mDelegator.findViewById(R.id.minute); in TimePickerSpinnerDelegate() 330 public void setMinute(int minute) { in setMinute() argument 331 if (minute == getMinute()) { in setMinute() 334 mMinuteSpinner.setValue(minute); in setMinute()
|
D | TextInputTimePickerView.java | 171 void updateTextInputValues(int localizedHour, int minute, int amOrPm, boolean is24Hour, in updateTextInputValues() argument 187 mMinuteEditText.setText(String.format(format, minute)); in updateTextInputValues()
|
D | DateTimeView.java | 123 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); in setTime() 165 t.minute = 0; in update()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
D | TimePicker.java | 303 public void setMinute(@IntRange(from = 0, to = 59) int minute) { in setMinute() 304 if (mCurrentMinute == minute) { in setMinute() 307 if (minute < 0 || minute > 59) { in setMinute() 308 throw new IllegalArgumentException("minute: " + minute + " is not in [0-59] range."); in setMinute() 310 mCurrentMinute = minute; in setMinute()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsCbEtwsInfo.java | 154 int minute = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[4]); in getPrimaryNotificationTimestamp() local 176 time.minute = minute; in getPrimaryNotificationTimestamp()
|
/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 148 mInitialMinute = minute; in initialize() 169 public void setStartTime(int hourOfDay, int minute) { in setStartTime() argument 171 mInitialMinute = minute; in setStartTime() 670 int minute = mTimePicker.getMinutes(); in updateDisplay() local 672 setMinute(minute); in updateDisplay() [all …]
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
D | TwoWayBindingObject.java | 49 public final ObservableInt minute = new ObservableInt(); field in TwoWayBindingObject
|
D | ListenerBindingObject.java | 160 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { } in onTimeChanged() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SmsMessage.java | 586 int minute = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis() local 608 time.minute = minute; in getSCTimestampMillis()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | BearerData.java | 252 int minute = IccUtils.cdmaBcdByteToInt(data[4]); in fromByteArray() local 253 if (minute < 0 || minute > 59) return null; in fromByteArray() 254 ts.minute = minute; in fromByteArray() 269 builder.append(", minute=" + minute); in toString()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | NightDisplayService.java | 466 final int minute = mLastActivatedTime.get(Calendar.MINUTE); in updateActivated() local 472 mLastActivatedTime.set(Calendar.MINUTE, minute); in updateActivated()
|