/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 231 int days = 0, hours = 0, minutes = 0; in formatShortElapsedTime() local 241 minutes = (int)(secondsLong / SECONDS_PER_MINUTE); in formatShortElapsedTime() 242 secondsLong -= minutes * SECONDS_PER_MINUTE; in formatShortElapsedTime() 256 } else if (hours >= 2 || (hours > 0 && minutes == 0)) { in formatShortElapsedTime() 257 hours += (minutes+30)/60; in formatShortElapsedTime() 262 new Measure(minutes, MeasureUnit.MINUTE)); in formatShortElapsedTime() 263 } else if (minutes >= 2 || (minutes > 0 && seconds == 0)) { in formatShortElapsedTime() 264 minutes += (seconds+30)/60; in formatShortElapsedTime() 265 return measureFormat.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatShortElapsedTime() 266 } else if (minutes > 0) { in formatShortElapsedTime() [all …]
|
D | DateUtils.java | 422 final int minutes = (int) ((millis + 30000) / MINUTE_IN_MILLIS); in formatDuration() local 423 return formatter.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatDuration() 450 long minutes = 0; in formatElapsedTime() local 457 minutes = elapsedSeconds / 60; in formatElapsedTime() 458 elapsedSeconds -= minutes * 60; in formatElapsedTime() 476 return f.format(sElapsedFormatHMMSS, hours, minutes, seconds).toString(); in formatElapsedTime() 478 return f.format(sElapsedFormatMMSS, minutes, seconds).toString(); in formatElapsedTime()
|
D | DateFormat.java | 640 int minutes = (offset % 3600) / 60; in formatZoneOffset() local 643 tb.append(zeroPad(minutes, 2)); in formatZoneOffset()
|
D | Time.java | 932 int minutes = (offset % 3600) / 60; in format3339() local 935 return String.format(Locale.US, "%s%s%02d:%02d", base, sign, hours, minutes); in format3339()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 35 public int minutes; field in Duration 53 minutes = 0; in parse() 108 minutes = n; in parse() 137 cal.add(Calendar.MINUTE, sign*minutes); in addTo() 150 + (60*minutes) in getMillis()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 65 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local 75 minutes = seconds / SECONDS_PER_MINUTE; in formatElapsedTime() 76 seconds -= minutes * SECONDS_PER_MINUTE; in formatElapsedTime() 86 if (minutes > 0) { in formatElapsedTime() 87 measureList.add(new Measure(minutes, MeasureUnit.MINUTE)); in formatElapsedTime() 111 final TtsSpan ttsSpan = new TtsSpan.MeasureBuilder().setNumber(minutes) in formatElapsedTime()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | DurationTest.java | 28 int minutes, int seconds) throws DateException { in verifyDuration() argument 37 assertEquals("Duration minutes is not equal for " + str, minutes, duration.minutes); in verifyDuration()
|
/frameworks/av/services/mediametrics/ |
D | cleaner.cpp | 44 int64_t minutes = (in_millis + MIN_TO_MS - 1) / MIN_TO_MS; in bucket_time_minutes() local 45 in_millis = minutes * MIN_TO_MS; in bucket_time_minutes()
|
/frameworks/base/core/java/android/widget/ |
D | TextInputTimePickerView.java | 250 final int minutes = Integer.parseInt(input); in parseAndSetMinuteInternal() local 251 if (minutes < 0 || minutes > 59) { in parseAndSetMinuteInternal() 252 mListener.onValueChanged(MINUTES, MathUtils.constrain(minutes, 0, 59)); in parseAndSetMinuteInternal() 255 mListener.onValueChanged(MINUTES, minutes); in parseAndSetMinuteInternal()
|
D | MediaController.java | 443 int minutes = (totalSeconds / 60) % 60; in stringForTime() local 448 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString(); in stringForTime() 450 return mFormatter.format("%02d:%02d", minutes, seconds).toString(); in stringForTime()
|
D | TimePickerClockDelegate.java | 159 mMinuteView = (NumericTextView) mainView.findViewById(R.id.minutes); in TimePickerClockDelegate() 1034 case R.id.minutes: 1062 case R.id.minutes:
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 272 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local 283 minutes = seconds / SECONDS_PER_MINUTE; in formatDurationLocked() 284 seconds -= minutes * SECONDS_PER_MINUTE; in formatDurationLocked() 292 myLen += accumField(minutes, 1, myLen > 0, 2); in formatDurationLocked() 309 pos = printFieldLocked(formatStr, minutes, 'm', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSnooze.java | 242 private SnoozeOption createOption(int minutes, int accessibilityActionId) { in createOption() argument 244 boolean showInHours = minutes >= 60; in createOption() 248 int count = showInHours ? (minutes / 60) : minutes; in createOption() 254 return new NotificationSnoozeOption(null, minutes, description, resultText, action); in createOption() 259 return new NotificationSnoozeOption(null, minutes, description, string, in createOption()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | CachedSet.cpp | 48 const auto minutes = std::chrono::duration_cast<std::chrono::minutes>(duration); in durationString() local 49 base::StringAppendF(&result, "%d min ", static_cast<int>(minutes.count())); in durationString() 50 duration -= minutes; in durationString()
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 227 int minutes = (int) Math.floor(coordinate); in convert() local 228 sb.append(minutes); in convert() 230 coordinate -= minutes; in convert() 274 String minutes = st.nextToken(); in convert() local 281 min = Integer.parseInt(minutes); in convert() 286 min = Double.parseDouble(minutes); in convert()
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 1109 public TimeBuilder(int hours, int minutes) { in TimeBuilder() argument 1112 setMinutes(minutes); in TimeBuilder() 1132 public TimeBuilder setMinutes(int minutes) { in setMinutes() argument 1133 return setIntArgument(TtsSpan.ARG_MINUTES, minutes); in setMinutes()
|
/frameworks/base/media/java/android/media/ |
D | SRTRenderer.java | 196 long minutes = Long.parseLong(in.split(":")[1].trim()); in parseMs() local 200 return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies; in parseMs()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 269 int minutes = (75 - (int) (angle / 6)) % 60; in onTouchEvent() local 270 int minuteDelta = minutes - mOverrideMinute; in onTouchEvent() 276 mOverrideMinute = minutes; in onTouchEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySavingStatsTest.java | 80 void advanceClock(int minutes) { in advanceClock() argument 81 mTime += 60_000 * minutes; in advanceClock()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 638 int minutes = (int) value; in toExifLatLong() local 639 value = (value - minutes) * 6000; in toExifLatLong() 641 return new int[] { degrees, 1, minutes, 1, seconds, 100 }; in toExifLatLong()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.md | 67 duration of `mExemptedSyncStartTimeoutMillis`, whose default is 10 minutes as of 2020-10-23. 79 whose default is 10 minutes. 98 for the duration of `mSyncAdapterTimeoutMillis`, whose default is 10 minutes, but _only for_
|
/frameworks/proto_logging/stats/enums/app/ |
D | tvsettings_enums.proto | 171 // Require authentication for purchases (reauth interval) > Every 30 minutes 788 // TvSettings > System > Energy saver > Turn off display after > 15 minutes 791 // TvSettings > System > Energy saver > Turn off display after > 30 minutes 1101 // 5 minutes 1105 // 15 minutes 1109 // 30 minutes
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ExifUtils.cpp | 278 ExifLong minutes = static_cast<ExifLong>(60 * (num - degrees)); in setLatitudeOrLongitudeData() local 280 static_cast<ExifLong>(3600000000u * (num - degrees - minutes / 60.0)); in setLatitudeOrLongitudeData() 282 exif_set_rational(data + sizeof(ExifRational), EXIF_BYTE_ORDER_INTEL, {minutes, 1}); in setLatitudeOrLongitudeData()
|
/frameworks/base/packages/SystemUI/docs/ |
D | clock-plugins.md | 46 t += datetime.timedelta(minutes=1)
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 1912 double minutes = coordinate[1].toDouble(); in convertLatOrLongToDouble() local 1914 double result = degrees + minutes / 60.0 + seconds / 3600.0; in convertLatOrLongToDouble() 2035 int minutes = (int) value; in toExifLatLong() local 2036 value = (value - minutes) * 6000; in toExifLatLong() 2039 new Rational(degrees, 1), new Rational(minutes, 1), new Rational(seconds, 100) in toExifLatLong()
|