Home
last modified time | relevance | path

Searched refs:minute (Results 1 – 25 of 50) 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.java192 || local.minute != test.minute2) { in testNormalize1()
196 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1()
210 || local.minute != test.minute2) { in testNormalize1()
214 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1()
229 local.minute += test.offset; in testNormalize1()
233 || local.minute != test.minute2 || local.isDst != test.dst2) { in testNormalize1()
238 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1()
250 local.minute += test.offset; in testNormalize1()
255 || local.minute != test.minute2 || local.isDst != test.dst2) { in testNormalize1()
260 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1()
[all …]
/frameworks/base/core/java/android/app/
DTimePickerDialog.java65 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
108 mInitialMinute = minute; in TimePickerDialog()
132 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { in onTimeChanged() argument
175 final int minute = savedInstanceState.getInt(MINUTE); in onRestoreInstanceState() local
178 mTimePicker.setCurrentMinute(minute); in onRestoreInstanceState()
/frameworks/base/core/java/com/android/internal/app/
DNightDisplayController.java304 public final int minute; field in NightDisplayController.LocalTime
306 public LocalTime(int hourOfDay, int minute) { in LocalTime() argument
309 } else if (minute < 0 || minute > 59) { in LocalTime()
310 throw new IllegalArgumentException("Invalid minute: " + minute); in LocalTime()
314 this.minute = minute; in LocalTime()
330 c.set(Calendar.MINUTE, minute); in getDateTimeBefore()
355 c.set(Calendar.MINUTE, minute); in getDateTimeAfter()
383 return hourOfDay * 3600000 + minute * 60000; in toMillis()
388 return String.format(Locale.US, "%02d:%02d", hourOfDay, minute); in toString()
/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()
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/android/widget/
DTimePicker.java63 void onTimeChanged(TimePicker view, int hourOfDay, int minute); in onTimeChanged() argument
125 public void setMinute(int minute) { in setMinute() argument
126 mDelegate.setMinute(minute); in setMinute()
262 void setMinute(int minute); in setMinute() argument
314 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode) { in SavedState() argument
315 this(superState, hour, minute, is24HourMode, 0); in SavedState()
318 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode, in SavedState() argument
322 mMinute = minute; in SavedState()
DTimePickerClockDelegate.java322 private void initialize(int hourOfDay, int minute, boolean is24HourView, int index) { in initialize() argument
324 mCurrentMinute = minute; in initialize()
425 public void setMinute(int minute) {
426 setMinuteInternal(minute, false);
429 private void setMinuteInternal(int minute, boolean isFromPicker) {
430 if (mCurrentMinute == minute) {
434 mCurrentMinute = minute;
435 updateHeaderMinute(minute, true);
438 mRadialTimePickerView.setCurrentMinute(minute);
DRadialTimePickerView.java444 public void initialize(int hour, int minute, boolean is24HourMode) { in initialize() argument
451 setCurrentMinuteInternal(minute, false); in initialize()
563 public void setCurrentMinute(int minute) { in setCurrentMinute() argument
564 setCurrentMinuteInternal(minute, true); in setCurrentMinute()
567 private void setCurrentMinuteInternal(int minute, boolean callback) { in setCurrentMinuteInternal() argument
568 mSelectionDegrees[MINUTES] = (minute % MINUTES_IN_CIRCLE) * DEGREES_FOR_ONE_MINUTE; in setCurrentMinuteInternal()
573 mListener.onValueSelected(MINUTES, minute, false); in setCurrentMinuteInternal()
586 private int getDegreesForMinute(int minute) { in getDegreesForMinute() argument
587 return minute * DEGREES_FOR_ONE_MINUTE; in getDegreesForMinute()
1154 final int minute; in getVirtualViewAt() local
[all …]
DAnalogClock.java242 int minute = mCalendar.minute; in onTimeChanged() local
245 mMinutes = minute + second / 60.0f; in onTimeChanged()
DTimePickerSpinnerDelegate.java111 mMinuteSpinner = (NumberPicker) mDelegator.findViewById(R.id.minute); in TimePickerSpinnerDelegate()
322 public void setMinute(int minute) { in setMinute() argument
323 if (minute == getMinute()) { in setMinute()
326 mMinuteSpinner.setValue(minute); in setMinute()
DDateTimeView.java123 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); in setTime()
165 t.minute = 0; in update()
/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/av/media/mtp/
DMtpUtils.cpp37 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/
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 …]
DRecurrenceSet.java308 dtstartTime.minute = 0; in populateComponent()
367 dtstartTime.minute = 0; in populateComponent()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbEtwsInfo.java154 int minute = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[4]); in getPrimaryNotificationTimestamp() local
176 time.minute = minute; in getPrimaryNotificationTimestamp()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java124 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/base/docs/html/guide/topics/ui/controls/
Dpickers.jd36 Each picker provides controls for selecting each part of the time (hour, minute, AM/PM) or date
97 int minute = c.get(Calendar.MINUTE);
100 return new TimePickerDialog(getActivity(), this, hour, minute,
104 public void onTimeSet(TimePicker view, int hourOfDay, int minute) {
/frameworks/base/services/core/java/com/android/server/display/
DNightDisplayService.java344 final int minute = mLastActivatedTime.get(Calendar.MINUTE); in updateActivated() local
350 mLastActivatedTime.set(Calendar.MINUTE, minute); in updateActivated()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSmsMessage.java586 int minute = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis() local
608 time.minute = minute; in getSCTimestampMillis()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
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()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DListenerBindingObject.java160 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { } in onTimeChanged() argument
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java81 recycledTime.minute; in getLocalTime()

12