Home
last modified time | relevance | path

Searched refs:minutes (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/opt/calendar/src/com/android/calendarcommon2/
DDuration.java35 public int minutes; field in Duration
53 minutes = 0; in parse()
105 minutes = n; in parse()
134 cal.add(Calendar.MINUTE, sign*minutes); in addTo()
147 + (60*minutes) in getMillis()
/frameworks/support/v4/java/android/support/v4/util/
DTimeUtils.java102 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local
113 minutes = seconds / SECONDS_PER_MINUTE; in formatDurationLocked()
114 seconds -= minutes * SECONDS_PER_MINUTE; in formatDurationLocked()
122 myLen += accumField(minutes, 1, myLen > 0, 2); in formatDurationLocked()
139 pos = printField(formatStr, minutes, 'm', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DDurationTest.java28 int minutes, int seconds) throws DateException { in verifyDuration() argument
37 assertEquals("Duration minutes is not equal for " + str, minutes, duration.minutes); in verifyDuration()
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationManagerTest.java116 double minutes = Double.parseDouble(loc5b); in testLocationConversions() local
117 Log.i(LOG_TAG, "minutes = " + minutes); in testLocationConversions()
118 assertTrue(Math.abs(minutes - 0.5) < 0.0001); in testLocationConversions()
/frameworks/base/core/java/android/util/
DTimeUtils.java321 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local
332 minutes = seconds / SECONDS_PER_MINUTE; in formatDurationLocked()
333 seconds -= minutes * SECONDS_PER_MINUTE; in formatDurationLocked()
341 myLen += accumField(minutes, 1, myLen > 0, 2); in formatDurationLocked()
358 pos = printField(formatStr, minutes, 'm', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked()
/frameworks/base/core/java/android/text/format/
DDateUtils.java623 final int minutes = (int) ((millis + 30000) / MINUTE_IN_MILLIS); in formatDuration() local
625 com.android.internal.R.plurals.duration_minutes, minutes, minutes); in formatDuration()
653 long minutes = 0; in formatElapsedTime() local
661 minutes = elapsedSeconds / 60; in formatElapsedTime()
662 elapsedSeconds -= minutes * 60; in formatElapsedTime()
668 return formatElapsedTime(recycle, sElapsedFormatHMMSS, hours, minutes, seconds); in formatElapsedTime()
670 return formatElapsedTime(recycle, sElapsedFormatMMSS, minutes, seconds); in formatElapsedTime()
689 long minutes, long seconds) { in formatElapsedTime() argument
701 append(sb, minutes, true, zeroDigit); in formatElapsedTime()
706 return String.format(format, hours, minutes, seconds); in formatElapsedTime()
[all …]
DTime.java697 int minutes = (offset % 3600) / 60; in format3339() local
700 return String.format(Locale.US, "%s%s%02d:%02d", base, sign, hours, minutes); in format3339()
DDateFormat.java654 int minutes = (offset % 3600) / 60; in formatZoneOffset() local
657 tb.append(zeroPad(minutes, 2)); in formatZoneOffset()
/frameworks/base/location/java/android/location/
DLocation.java202 int minutes = (int) Math.floor(coordinate); in convert() local
203 sb.append(minutes); in convert()
205 coordinate -= minutes; in convert()
247 String minutes = st.nextToken(); in convert() local
253 min = Integer.parseInt(minutes); in convert()
257 min = Double.parseDouble(minutes); in convert()
/frameworks/base/media/java/android/media/
DExifInterface.java384 double minutes = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat() local
391 double result = degrees + (minutes / 60.0) + (seconds / 3600.0); in convertRationalLatLonToFloat()
/frameworks/base/core/java/android/widget/
DMediaController.java400 int minutes = (totalSeconds / 60) % 60; in stringForTime() local
405 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString(); in stringForTime()
407 return mFormatter.format("%02d:%02d", minutes, seconds).toString(); in stringForTime()
/frameworks/base/docs/html/design/style/
Dwriting.jd248 This may take up to five minutes.
271 This can take up to 5 minutes.
/frameworks/base/docs/html/training/basics/location/
Dcurrentlocation.jd101 // If it's been more than two minutes since the current location, use the new location
105 // If the new location is more than two minutes older, it must be worse
/frameworks/support/renderscript/v8/rs_support/scriptc/
Drs_time.rsh51 int tm_min; ///< minutes
/frameworks/rs/scriptc/
Drs_time.rsh51 int tm_min; ///< minutes
/frameworks/base/docs/html/training/efficient-downloads/
Defficient-network-access.jd86 …a such that you will only need to initiate another download every 2 to 5 minutes, and in the order…
88 …lar intervals (every 2 to 5 minutes), effectively prefetching only the video data likely to be vie…
/frameworks/base/docs/html/distribute/googleplay/publish/
Dregister.jd22 <p>You can set up to start publishing on Google Play in only a few minutes. Here's how you do it: <…
/frameworks/base/docs/html/distribute/googleplay/spotlight/
Dtablets.jd52 <li>Longer sessions &mdash; more Android tablet users have sessions longer than 5 minutes</li>
89 <p>Fifty percent more Android tablet users have Mint sessions of 5 minutes or
/frameworks/base/docs/html/design/patterns/
Dsettings.jd432 After 10 minutes of inactivity
554 After 10 minutes of inactivity
565 minutes", because on its own, the meaning could be misinterpreted as "sleep for 10 minutes".</p>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java1343 int minutes = off % 60; in displayNameFor() local
1350 buf[7] = (char) ('0' + minutes / 10); in displayNameFor()
1351 buf[8] = (char) ('0' + minutes % 10); in displayNameFor()
/frameworks/base/core/java/android/provider/
DCalendarContract.java2250 long begin, long end, long alarmTime, int minutes) { in insert() argument
2261 values.put(CalendarAlerts.MINUTES, minutes); in insert()
/frameworks/base/docs/html/guide/topics/location/
Dstrategies.jd277 // If it's been more than two minutes since the current location, use the new location
281 // If the new location is more than two minutes older, it must be worse
/frameworks/base/docs/html/about/versions/
Dandroid-1.1.jd159 <li>Changes default mail checking interval to every 15 minutes (instead
/frameworks/base/docs/html/training/cloudsync/
Dgcm.jd109 game with the updated score, and then 15 minutes later an updated score message
/frameworks/base/docs/html/tools/workflow/
Dpublishing_overview.jd167 <strong>Publish</strong > in the developer console and within minutes your application will be

12