/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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | SleepSessionFormatter.kt | 89 formatDuration: (duration: Duration) -> String in <lambda>() 95 context.getString(R.string.sleep_session_default, formatDuration(duration)) in <lambda>() 117 formatDuration: (duration: Duration) -> String in <lambda>() 136 R.string.sleep_stage_default, formatDuration(duration), stageString) in <lambda>()
|
D | ExerciseSessionFormatter.kt | 161 formatDuration: (duration: Duration) -> String in <lambda>() 168 context.getString(R.string.session_title, formatDuration(duration), type) in <lambda>()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/ |
D | TimeUtils.java | 36 public static void formatDuration(long duration, PrintWriter pw) { in formatDuration() method in TimeUtils 37 android.util.TimeUtils.formatDuration(duration, pw); in formatDuration()
|
/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/src/com/android/documentsui/util/ |
D | FormatUtils.java | 44 public static String formatDuration(long millis) { in formatDuration() method in FormatUtils
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/ |
D | AbstractCopyJobTest.java | 186 DateUtils.formatDuration((Long) time))); in runCopyProgressForFileCountTest() 220 DateUtils.formatDuration((Long) time))); in runCopyProgressForByteCountTest()
|
/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/Settings/src/com/android/settings/applications/ |
D | ProcessStatsUi.java | 142 TimeUtils.formatDuration(time, sb); in makeDuration()
|
/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/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 | 226 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 | 420 DateUtils.formatDuration(remainingMillis, abbrev)); in getRemainingText()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 149 FormatUtils.formatDuration(remainingTime))); in getProgressNotification()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_built_in_api_list.txt | 268 method TIRAMISU_0 void formatDuration(long duration, PrintWriter pw);
|
/packages/services/Car/car-builtin-lib/api/ |
D | module-lib-current.txt | 549 method public static void formatDuration(long, java.io.PrintWriter);
|