Home
last modified time | relevance | path

Searched refs:minute (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiTimerRecordSources.java150 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/
DTimePickerBindingAdapter.java44 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/
DTimeTest.java201 || local.minute != test.minute2) { in testNormalize1()
205 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1()
219 || local.minute != test.minute2) { in testNormalize1()
223 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1()
238 local.minute += test.offset; in testNormalize1()
242 || local.minute != test.minute2 || local.isDst != test.dst2) { in testNormalize1()
247 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1()
259 local.minute += test.offset; in testNormalize1()
264 || local.minute != test.minute2 || local.isDst != test.dst2) { in testNormalize1()
269 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1()
[all …]
/frameworks/base/core/java/android/app/
DTimePickerDialog.java66 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
206 final int minute = savedInstanceState.getInt(MINUTE); in onRestoreInstanceState() local
209 mTimePicker.setCurrentMinute(minute); in onRestoreInstanceState()
/frameworks/base/core/java/android/text/format/
DTime.java89 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/base/core/java/com/android/internal/http/
DHttpDateTime.java76 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/ex/common/java/com/android/common/
DLegacyHttpDateTime.java76 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/android/widget/
DTimePicker.java102 void onTimeChanged(TimePicker view, int hourOfDay, int minute); in onTimeChanged() argument
196 public void setMinute(@IntRange(from = 0, to = 59) int minute) { in setMinute()
197 mDelegate.setMinute(MathUtils.constrain(minute, 0, 59)); in setMinute()
369 void setMinute(@IntRange(from = 0, to = 59) int minute); in setMinute()
373 @IntRange(from = 0, to = 59) int minute); in setDate()
496 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode) { in SavedState() argument
497 this(superState, hour, minute, is24HourMode, 0); in SavedState()
500 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode, in SavedState() argument
504 mMinute = minute; in SavedState()
DTimePickerSpinnerDelegate.java114 mMinuteSpinner = mDelegator.findViewById(R.id.minute); in TimePickerSpinnerDelegate()
287 public void setDate(int hour, int minute) { in setDate() argument
289 setCurrentMinute(minute, false); in setDate()
339 public void setMinute(int minute) { in setMinute() argument
340 setCurrentMinute(minute, true); in setMinute()
343 private void setCurrentMinute(int minute, boolean notifyTimeChanged) { in setCurrentMinute() argument
344 if (minute == getMinute()) { in setCurrentMinute()
348 mMinuteSpinner.setValue(minute); in setCurrentMinute()
DTimePickerClockDelegate.java412 private void initialize(int hourOfDay, int minute, boolean is24HourView, int index) { in initialize() argument
414 mCurrentMinute = minute; in initialize()
511 public void setDate(int hour, int minute) {
513 setMinuteInternal(minute, FROM_EXTERNAL_API, false);
572 public void setMinute(int minute) {
573 setMinuteInternal(minute, FROM_EXTERNAL_API, true);
576 private void setMinuteInternal(int minute, @ChangeSource int source, boolean notify) {
577 if (mCurrentMinute == minute) {
582 mCurrentMinute = minute;
583 updateHeaderMinute(minute, true);
[all …]
DRadialTimePickerView.java445 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 …]
DAnalogClock.java241 int minute = mCalendar.minute; in onTimeChanged() local
244 mMinutes = minute + second / 60.0f; in onTimeChanged()
DTextInputTimePickerView.java175 void updateTextInputValues(int localizedHour, int minute, int amOrPm, boolean is24Hour, in updateTextInputValues() argument
192 mMinuteEditText.setText(String.format(minuteFormat, minute)); in updateTextInputValues()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java267 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/telephony/java/com/android/internal/telephony/
DSmsCbEtwsInfo.java154 int minute = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[4]); in getPrimaryNotificationTimestamp() local
176 time.minute = minute; in getPrimaryNotificationTimestamp()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DTimePicker.java381 public void setMinute(@IntRange(from = 0, to = 59) int minute) { in setMinute()
382 if (minute < 0 || minute > 59) { in setMinute()
383 throw new IllegalArgumentException("minute: " + minute + " is not in [0-59] range."); in setMinute()
385 mCurrentMinute = minute; in setMinute()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java127 void onTimeSet(RadialPickerLayout view, int hourOfDay, int minute); in onTimeSet() argument
135 int hourOfDay, int minute, boolean is24HourMode) { in TimePickerDialog() argument
140 int hourOfDay, int minute, boolean is24HourMode) { in newInstance() argument
142 ret.initialize(callback, hourOfDay, minute, is24HourMode); in newInstance()
147 int hourOfDay, int minute, boolean is24HourMode) { in initialize() argument
151 mInitialMinute = minute; in initialize()
172 public void setStartTime(int hourOfDay, int minute) { in setStartTime() argument
174 mInitialMinute = minute; in setStartTime()
673 int minute = mTimePicker.getMinutes(); in updateDisplay() local
675 setMinute(minute); in updateDisplay()
[all …]
/frameworks/av/media/mtp/
DMtpUtils.cpp57 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/
DNitzDataTest.java110 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUtcTime() argument
113 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUtcTime()
DNitzStateMachineTest.java423 private static long createUtcTime(int year, int monthInYear, int day, int hourOfDay, int minute, in createUtcTime() argument
427 cal.set(year, monthInYear - 1, day, hourOfDay, minute, second); in createUtcTime()
690 int hourOfDay, int minute, int second) { in setInitialDeviceSystemClockUtc() argument
692 minute, second); in setInitialDeviceSystemClockUtc()
702 int minute, int second) { in setActualTimeUtc() argument
703 mActualTimeMillis = createUtcTime(year, monthInYear, day, hourOfDay, minute, in setActualTimeUtc()
DTimeZoneLookupHelperTest.java345 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUtcTime() argument
348 calendar.set(year, monthOfYear - 1, dayOfMonth, hourOfDay, minute, second); in createUtcTime()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzData.java100 int minute = Integer.parseInt(nitzSubs[4]); in parse() local
101 c.set(Calendar.MINUTE, minute); in parse()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DTwoWayBindingObject.java49 public final ObservableInt minute = new ObservableInt(); field in TwoWayBindingObject
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java703 int minute = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis() local
725 time.minute = minute; in getSCTimestampMillis()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DBearerData.java252 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()

12