Searched refs:formatSize (Results 1 – 3 of 3) sorted by relevance
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StorageActivity.java | 107 String.format(getString(R.string.storage_size), formatSize(INVALID_SIZE)), in onCreate() 141 actions.add(StorageItem.APPS.toAction(getResources(), formatSize(appsSize))); in getActions() 142 actions.add(StorageItem.PICTURES_VIDEO.toAction(getResources(), formatSize(dcimSize))); in getActions() 143 actions.add(StorageItem.AUDIO.toAction(getResources(), formatSize(musicSize))); in getActions() 144 actions.add(StorageItem.DOWNLOADS.toAction(getResources(), formatSize(downloadsSize))); in getActions() 145 actions.add(StorageItem.CACHED_DATA.toAction(getResources(), formatSize(cacheSize))); in getActions() 146 actions.add(StorageItem.MISC.toAction(getResources(), formatSize(miscSize))); in getActions() 147 actions.add(StorageItem.AVAILABLE.toAction(getResources(), formatSize(availSize))); in getActions() 203 private String formatSize(long size) { in formatSize() method in StorageActivity 225 String.format(getString(R.string.storage_size), formatSize(totalSize))); in updateStorageContentFragment()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageVolumePreferenceCategory.java | 296 mItemTotal.setSummary(formatSize(totalSize)); in updateApproximate() 297 mItemAvailable.setSummary(formatSize(availSize)); in updateApproximate() 325 mItemTotal.setSummary(formatSize(details.totalSize)); in updateDetails() 326 mItemAvailable.setSummary(formatSize(details.availSize)); in updateDetails() 357 pref.setSummary(formatSize(size)); in updatePreference() 398 private String formatSize(long size) { in formatSize() method in StorageVolumePreferenceCategory
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageResetActivity.java | 104 return String.format(getString(R.string.storage_size), formatSize(mSize)); in get() 347 private String formatSize(long size) { in formatSize() method in StorageResetActivity
|