Searched refs:formatBytes (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DataUsageDetailView.java | 75 formatBytes(info.warningLevel)); in bind() 81 formatBytes(info.usageLevel)); in bind() 83 formatBytes(info.limitLevel)); in bind() 89 formatBytes(info.usageLevel)); in bind() 91 formatBytes(info.limitLevel)); in bind() 98 usage.setText(formatBytes(bytes)); in bind() 114 private String formatBytes(long bytes) { in formatBytes() method in DataUsageDetailView
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 90 BytesResult r = Formatter.formatBytes(getContext().getResources(), 1, 0); in testFormatBytes() 101 BytesResult r = Formatter.formatBytes(getContext().getResources(), bytes, in checkFormatBytes()
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 81 final BytesResult res = formatBytes(context.getResources(), sizeBytes, 0); in formatFileSize() 94 final BytesResult res = formatBytes(context.getResources(), sizeBytes, FLAG_SHORTER); in formatShortFileSize() 100 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { in formatBytes() method in Formatter
|