Searched refs:maxUsage (Results 1 – 1 of 1) sorted by relevance
305 private int scaleUsage(long usage, long maxUsage) { in scaleUsage() argument306 if (maxUsage == 0) { in scaleUsage()309 return (int) ((usage / (float) maxUsage) * MAX_PROGRESS_BAR_VALUE); in scaleUsage()