Searched refs:usedBytes (Results 1 – 3 of 3) sorted by relevance
41 public void setPercent(long usedBytes, long totalBytes) { in setPercent() argument42 mPercent = MathUtils.constrain((int) ((usedBytes * 100) / totalBytes), in setPercent()43 (usedBytes > 0) ? 1 : 0, 100); in setPercent()
163 final long usedBytes = totalBytes - freeBytes; in update() local165 final Formatter.BytesResult result = Formatter.formatBytes(getResources(), usedBytes, in update()171 mSummary.setPercent(usedBytes, totalBytes); in update()
369 long usedBytes = mCacheStorageInfo.getUsedBytes(); in refreshCacheStorageInfo() local382 progressBar.setProgress((int) (usedBytes * PROGRESS_BAR_MAX / totalBytes)); in refreshCacheStorageInfo()