/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/util/ |
D | FormatUtilsTest.java | 26 assertEquals("0 seconds", FormatUtils.formatDuration(0)); in testFormatDuration_seconds() 27 assertEquals("0 seconds", FormatUtils.formatDuration(1)); in testFormatDuration_seconds() 28 assertEquals("0 seconds", FormatUtils.formatDuration(499)); in testFormatDuration_seconds() 29 assertEquals("1 second", FormatUtils.formatDuration(500)); in testFormatDuration_seconds() 30 assertEquals("1 second", FormatUtils.formatDuration(1000)); in testFormatDuration_seconds() 31 assertEquals("2 seconds", FormatUtils.formatDuration(1500)); in testFormatDuration_seconds() 36 assertEquals("59 seconds", FormatUtils.formatDuration(59000)); in testFormatDuration_Minutes() 37 assertEquals("60 seconds", FormatUtils.formatDuration(59500)); in testFormatDuration_Minutes() 38 assertEquals("1 minute", FormatUtils.formatDuration(60000)); in testFormatDuration_Minutes() 39 assertEquals("1 minute", FormatUtils.formatDuration(65000)); in testFormatDuration_Minutes() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallLogDurations.java | 30 private static CharSequence formatDuration(Context context, long elapsedSeconds) { in formatDuration() method in CallLogDurations 89 context, formatDuration(context, elapsedSeconds), dataUsage); in formatDurationAndDataUsage()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | AbstractCopyJobTest.java | 185 DateUtils.formatDuration((Long) time))); in runCopyProgressForFileCountTest() 219 DateUtils.formatDuration((Long) time))); in runCopyProgressForByteCountTest()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | FormatUtils.java | 44 public static String formatDuration(long millis) { in formatDuration() method in FormatUtils
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | MigrateEstimateTask.java | 108 final String time = DateUtils.formatDuration(timeMillis).toString(); in onPostExecute()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | MigrateEstimateTask.java | 108 final String time = DateUtils.formatDuration(timeMillis).toString(); in onPostExecute()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | OperationProgressDialog.java | 74 FormatUtils.formatDuration(message.arg2))); in OperationProgressDialog()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | MediaDetails.java | 176 public static String formatDuration(final Context context, long seconds) { in formatDuration() method in MediaDetails
|
D | VideoItem.java | 134 String duration = MediaDetails.formatDuration(mContext, in getMediaDetails()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcessStatsUi.java | 147 TimeUtils.formatDuration(time, sb); in makeDuration()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsUi.java | 147 TimeUtils.formatDuration(time, sb); in makeDuration()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MovieViewControl.java | 115 MenuHelper.formatDuration(context, bookmark))); in MovieViewControl()
|
D | MenuHelper.java | 870 public static String formatDuration(final Context context,
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalVideo.java | 222 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration( in getDetails()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 339 public static String formatDuration(final Context context, int duration) { in formatDuration() method in GalleryUtils
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | MoviePlayer.java | 252 GalleryUtils.formatDuration(context, bookmark / 1000))); in showResumeDialog()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 315 DateUtils.formatDuration(remainingMillis)); in updateWithLocked()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 139 FormatUtils.formatDuration(remainingTime))); in getProgressNotification()
|