Searched refs:formatBytes (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DataUsageDetailView.java | 77 formatBytes(info.warningLevel)); in bind() 83 formatBytes(info.usageLevel)); in bind() 85 formatBytes(info.limitLevel)); in bind() 91 formatBytes(info.usageLevel)); in bind() 93 formatBytes(info.limitLevel)); in bind() 104 usage.setText(formatBytes(bytes)); in bind() 126 private String formatBytes(long bytes) { in formatBytes() method in DataUsageDetailView
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 93 BytesResult r = Formatter.formatBytes(mContext.getResources(), 1, 0); in testFormatBytes() 104 BytesResult r = Formatter.formatBytes(mContext.getResources(), bytes, in checkFormatBytes()
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 86 final BytesResult res = formatBytes(context.getResources(), sizeBytes, 0); in formatFileSize() 99 final BytesResult res = formatBytes(context.getResources(), sizeBytes, FLAG_SHORTER); in formatShortFileSize() 105 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { in formatBytes() method in Formatter
|