Home
last modified time | relevance | path

Searched refs:usedBytes (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DTopLevelStoragePreferenceController.java79 long usedBytes = info.totalBytes - info.freeBytes; in refreshSummaryThread() local
80 storageCacheHelper.cacheUsedSize(usedBytes); in refreshSummaryThread()
83 getSummary(usedBytes, info.totalBytes)); in refreshSummaryThread()
93 private String getSummary(long usedBytes, long totalBytes) { in getSummary() argument
97 totalBytes == 0L ? "0" : percentageFormat.format(((double) usedBytes) / totalBytes), in getSummary()
98 Formatter.formatFileSize(mContext, totalBytes - usedBytes)); in getSummary()
DPublicVolumeSettings.java180 final long usedBytes = totalBytes - freeBytes; in update() local
183 context, R.string.storage_usage_summary, usedBytes)); in update()
186 mSummary.setPercent(usedBytes, totalBytes); in update()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DManageCachePage.java369 long usedBytes = mCacheStorageInfo.getUsedBytes(); in refreshCacheStorageInfo() local
382 progressBar.setProgress((int) (usedBytes * PROGRESS_BAR_MAX / totalBytes)); in refreshCacheStorageInfo()