Searched refs:usedBytes (Results 1 – 4 of 4) sorted by relevance
73 final long usedBytes = totalBytes - freeBytes; in StorageVolumePreference() local75 final String used = Formatter.formatFileSize(context, usedBytes); in StorageVolumePreference()79 mUsedPercent = (int) ((usedBytes * 100) / totalBytes); in StorageVolumePreference()
162 final long usedBytes = totalBytes - freeBytes; in update() local164 final BytesResult result = Formatter.formatBytes(getResources(), usedBytes, 0); in update()169 mSummary.setPercent((int) ((usedBytes * 100) / totalBytes)); in update()
235 final long usedBytes = totalBytes - freeBytes; in update() local237 final BytesResult result = Formatter.formatBytes(getResources(), usedBytes, 0); in update()242 mSummary.setPercent((int) ((usedBytes * 100) / totalBytes)); in update()
369 long usedBytes = mCacheStorageInfo.getUsedBytes(); in refreshCacheStorageInfo() local382 progressBar.setProgress((int) (usedBytes * PROGRESS_BAR_MAX / totalBytes)); in refreshCacheStorageInfo()