[go: nahoru, domu]

Searched refs:formatBytes (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DDataUsageDetailView.java75 formatBytes(info.warningLevel));
81 formatBytes(info.usageLevel));
83 formatBytes(info.limitLevel));
89 formatBytes(info.usageLevel));
91 formatBytes(info.limitLevel));
98 usage.setText(formatBytes(bytes));
114 private String formatBytes(long bytes) { method in class:DataUsageDetailView
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DFormatterTest.java90 BytesResult r = Formatter.formatBytes(getContext().getResources(), 1, 0);
101 BytesResult r = Formatter.formatBytes(getContext().getResources(), bytes,
/frameworks/base/core/java/android/text/format/
H A DFormatter.java81 final BytesResult res = formatBytes(context.getResources(), sizeBytes, 0);
94 final BytesResult res = formatBytes(context.getResources(), sizeBytes, FLAG_SHORTER);
100 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { method in class:Formatter

Completed in 162 milliseconds