Searched refs:usedBytes (Results 1 – 3 of 3) sorted by relevance
79 long usedBytes = info.totalBytes - info.freeBytes; in refreshSummaryThread() local80 storageCacheHelper.cacheUsedSize(usedBytes); in refreshSummaryThread()83 getSummary(usedBytes, info.totalBytes)); in refreshSummaryThread()93 private String getSummary(long usedBytes, long totalBytes) { in getSummary() argument97 totalBytes == 0L ? "0" : percentageFormat.format(((double) usedBytes) / totalBytes), in getSummary()98 Formatter.formatFileSize(mContext, totalBytes - usedBytes)); in getSummary()
180 final long usedBytes = totalBytes - freeBytes; in update() local183 context, R.string.storage_usage_summary, usedBytes)); in update()186 mSummary.setPercent(usedBytes, totalBytes); in update()
369 long usedBytes = mCacheStorageInfo.getUsedBytes(); in refreshCacheStorageInfo() local382 progressBar.setProgress((int) (usedBytes * PROGRESS_BAR_MAX / totalBytes)); in refreshCacheStorageInfo()