/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/base/core/tests/coretests/src/android/text/format/ |
D | TimeTest.java | 202 || local.minute != test.minute2) { in testNormalize1() 206 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1() 220 || local.minute != test.minute2) { in testNormalize1() 224 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1() 239 local.minute += test.offset; in testNormalize1() 243 || local.minute != test.minute2 || local.isDst != test.dst2) { in testNormalize1() 248 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1() 260 local.minute += test.offset; in testNormalize1() 265 || local.minute != test.minute2 || local.isDst != test.dst2) { in testNormalize1() 270 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1() [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Time.java | 68 private int minute; field in Time 120 minute = mCalendar.get(Calendar.MINUTE); in readFieldsFromCalendar() 126 mCalendar.set(year, month, monthDay, hour, minute, second); in writeFieldsToCalendar() 162 public void set(int second, int minute, int hour, int day, int month, int year) { in set() argument 164 mCalendar.set(year, month, day, hour, minute, second); in set() 176 minute = 0; in setJulianDay() 337 public void setMinute(int minute) { in setMinute() argument 338 this.minute = minute; in setMinute() 339 mCalendar.set(Calendar.MINUTE, minute); in setMinute() 434 minute = n; in parseInternal() [all …]
|
D | RecurrenceProcessor.java | 962 int minute = usebyminute in expand() local 965 if (SPEW) Log.i(TAG, " minute=" + minute); in expand() 978 … generated.set(second, minute, hour, day, month, iteratorYear); in expand() 1124 int minute = date.getMinute(); in unsafeNormalize() local 1132 minute += addMinutes; in unsafeNormalize() 1133 int addHours = ((minute < 0) ? (minute - 59) : minute) / 60; in unsafeNormalize() 1134 minute -= addHours * 60; in unsafeNormalize() 1190 date.setMinute(minute); in unsafeNormalize()
|
/frameworks/base/core/java/android/app/ |
D | TimePickerDialog.java | 68 void onTimeSet(TimePicker view, int hourOfDay, int minute); in onTimeSet() argument 80 public TimePickerDialog(Context context, OnTimeSetListener listener, int hourOfDay, int minute, in TimePickerDialog() argument 82 this(context, 0, listener, hourOfDay, minute, is24HourView); in TimePickerDialog() 112 int hourOfDay, int minute, boolean is24HourView) { in TimePickerDialog() argument 117 mInitialMinute = minute; in TimePickerDialog() 145 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { in onTimeChanged() argument 208 final int minute = savedInstanceState.getInt(MINUTE); in onRestoreInstanceState() local 211 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() 787 this.minute = that.minute; in set() 802 public void set(int second, int minute, int hour, int monthDay, int month, int year) { in set() argument [all …]
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 76 this.minute = m; in TimeOfDay() 81 int minute; field in LegacyHttpDateTime.TimeOfDay 117 calendar.set(Calendar.MINUTE, timeOfDay.minute); in parse() 214 int minute = (timeString.charAt(i++) - '0') * 10 in getTime() local 222 return new TimeOfDay(hour, minute, second); in getTime()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MissedIncomingCallSmsFilter.java | 126 private long getEpochTime(String year, String month, String day, String hour, String minute) { in getEpochTime() argument 139 time = LocalDateTime.parse(year + month + day + hour + minute, formatter); in getEpochTime() 176 String year = null, month = null, day = null, hour = null, minute = null; in processSms() local 182 minute = matcher.group(SMS_MINUTE_TAG); in processSms() 185 + ", minute=" + minute); in processSms() 204 missedCallTime = getEpochTime(year, month, day, hour, minute); in processSms()
|
D | NitzData.java | 91 int minute = Integer.parseInt(nitzSubs[4]); in parse() local 96 long epochMillis = LocalDateTime.of(year, month, date, hour, minute, second) in parse()
|
/frameworks/base/core/java/android/widget/ |
D | TimePicker.java | 105 void onTimeChanged(TimePicker view, int hourOfDay, int minute); in onTimeChanged() argument 206 public void setMinute(@IntRange(from = 0, to = 59) int minute) { in setMinute() 207 mDelegate.setMinute(MathUtils.constrain(minute, 0, 59)); in setMinute() 381 void setMinute(@IntRange(from = 0, to = 59) int minute); in setMinute() 385 @IntRange(from = 0, to = 59) int minute); in setDate() 510 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode) { in SavedState() argument 511 this(superState, hour, minute, is24HourMode, 0); in SavedState() 514 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode, in SavedState() argument 518 mMinute = minute; in SavedState()
|
D | TimePickerSpinnerDelegate.java | 112 mMinuteSpinner = mDelegator.findViewById(R.id.minute); in TimePickerSpinnerDelegate() 285 public void setDate(int hour, int minute) { in setDate() argument 287 setCurrentMinute(minute, false); in setDate() 337 public void setMinute(int minute) { in setMinute() argument 338 setCurrentMinute(minute, true); in setMinute() 341 private void setCurrentMinute(int minute, boolean notifyTimeChanged) { in setCurrentMinute() argument 342 if (minute == getMinute()) { in setCurrentMinute() 346 mMinuteSpinner.setValue(minute); in setCurrentMinute()
|
D | TimePickerClockDelegate.java | 412 private void initialize(int hourOfDay, int minute, boolean is24HourView, int index) { in initialize() argument 414 mCurrentMinute = minute; in initialize() 516 public void setDate(int hour, int minute) { 518 setMinuteInternal(minute, FROM_EXTERNAL_API, false); 577 public void setMinute(int minute) { 578 setMinuteInternal(minute, FROM_EXTERNAL_API, true); 581 private void setMinuteInternal(int minute, @ChangeSource int source, boolean notify) { 582 if (mCurrentMinute == minute) { 587 mCurrentMinute = minute; 588 updateHeaderMinute(minute, true); [all …]
|
D | RadialTimePickerView.java | 447 public void initialize(int hour, int minute, boolean is24HourMode) { in initialize() argument 454 setCurrentMinuteInternal(minute, false); in initialize() 566 public void setCurrentMinute(int minute) { in setCurrentMinute() argument 567 setCurrentMinuteInternal(minute, true); in setCurrentMinute() 570 private void setCurrentMinuteInternal(int minute, boolean callback) { in setCurrentMinuteInternal() argument 571 mSelectionDegrees[MINUTES] = (minute % MINUTES_IN_CIRCLE) * DEGREES_FOR_ONE_MINUTE; in setCurrentMinuteInternal() 576 mListener.onValueSelected(MINUTES, minute, false); in setCurrentMinuteInternal() 589 private int getDegreesForMinute(int minute) { in getDegreesForMinute() argument 590 return minute * DEGREES_FOR_ONE_MINUTE; in getDegreesForMinute() 1169 final int minute; in getVirtualViewAt() local [all …]
|
D | TextInputTimePickerView.java | 199 void updateTextInputValues(int localizedHour, int minute, int amOrPm, boolean is24Hour, in updateTextInputValues() argument 217 mMinuteEditText.setText(String.format(minuteFormat, minute)); in updateTextInputValues() 220 mMinuteEditText.setHint(String.format(minuteFormat, minute)); in updateTextInputValues()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | NitzStateMachineTestSupport.java | 181 int minute, int second) { in setActualTimeUtc() argument 182 mActualTimeMillis = createUtcTime(year, monthInYear, day, hourOfDay, minute, in setActualTimeUtc() 257 private static long createUtcTime(int year, int monthInYear, int day, int hourOfDay, int minute, in createUtcTime() argument 261 cal.set(year, monthInYear - 1, day, hourOfDay, minute, second); in createUtcTime()
|
D | TimeZoneLookupHelperTest.java | 493 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUtcTime() argument 496 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUtcTime()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 57 int year, month, day, hour, minute, second; in parseDateTime() local 59 &year, &month, &day, &hour, &minute, &second) != 6) in parseDateTime() 80 tm.tm_min = minute; in parseDateTime()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NitzDataTest.java | 107 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUtcTime() argument 110 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUtcTime()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsCbEtwsInfo.java | 188 int minute = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[4]); in getPrimaryNotificationTimestamp() local 212 minute, in getPrimaryNotificationTimestamp()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 251 public int minute; field in BearerData.TimeStamp 283 int minute = IccUtils.cdmaBcdByteToInt(data[4]); in fromByteArray() local 284 if (minute < 0 || minute > 59) return null; in fromByteArray() 285 ts.minute = minute; in fromByteArray() 302 ts.minute = localDateTime.getMinute(); in fromMillis() 314 outStream.write((((minute / 10) << 4) & 0xF0) | ((minute % 10) & 0x0F)); in toByteArray() 322 LocalDateTime.of(year, monthOrdinal, monthDay, hour, minute, second); in toMillis() 341 builder.append(", minute=" + minute); in toString()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | TimeTest.java | 722 for (int minute = 0; minute < 60; minute += 15) { 723 time.set(0, minute, hour, monthDay, 0, 2020);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SmsMessage.java | 755 int minute = localDateTime.getMinute(); in getDeliverPdu() 763 scts[4] = (byte) ((((minute % 10) & 0x0F) << 4) | ((minute / 10) & 0x0F)); in getDeliverPdu() 868 int minute = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis() local 893 minute, in getSCTimestampMillis()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ClockDrawableWrapper.java | 259 final Drawable minute = foregroundDrawable.getDrawable(minuteLayerIndex); in applyTime() local 260 if (minute.setLevel(time.get(Calendar.HOUR) * 60 + convertedMinute)) { in applyTime()
|
/frameworks/base/core/proto/android/service/ |
D | procstats.proto | 124 // Same as above, but with minute resolution so it fits into an int32. 129 // Same as above, but with minute resolution so it fits into an int32.
|
/frameworks/base/packages/SystemUI/docs/ |
D | clock-plugins.md | 34 To start, generate a sequence of screenshots for each minute over a 12 hr interval.
|