Lines Matching refs:formatSize
107 String.format(getString(R.string.storage_size), formatSize(INVALID_SIZE)),
141 actions.add(StorageItem.APPS.toAction(getResources(), formatSize(appsSize)));
142 actions.add(StorageItem.PICTURES_VIDEO.toAction(getResources(), formatSize(dcimSize)));
143 actions.add(StorageItem.AUDIO.toAction(getResources(), formatSize(musicSize)));
144 actions.add(StorageItem.DOWNLOADS.toAction(getResources(), formatSize(downloadsSize)));
145 actions.add(StorageItem.CACHED_DATA.toAction(getResources(), formatSize(cacheSize)));
146 actions.add(StorageItem.MISC.toAction(getResources(), formatSize(miscSize)));
147 actions.add(StorageItem.AVAILABLE.toAction(getResources(), formatSize(availSize)));
203 private String formatSize(long size) {
225 String.format(getString(R.string.storage_size), formatSize(totalSize)));