Home
last modified time | relevance | path

Searched refs:mPercent (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSummaryPreference.java32 private int mPercent = -1; field in StorageSummaryPreference
42 mPercent = MathUtils.constrain((int) ((usedBytes * 100) / totalBytes), in setPercent()
49 if (mPercent != -1) { in onBindViewHolder()
51 progress.setProgress(mPercent); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageSummaryPreference.java32 private int mPercent = -1; field in StorageSummaryPreference
42 mPercent = MathUtils.constrain((int) ((usedBytes * 100) / totalBytes), in setPercent()
49 if (mPercent != -1) { in onBindViewHolder()
51 progress.setProgress(mPercent); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsagePreference.java32 private final int mPercent; field in AppDataUsagePreference
39 mPercent = percent; in AppDataUsagePreference()
68 progress.setProgress(mPercent); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DAppDataUsagePreference.java32 private final int mPercent; field in AppDataUsagePreference
39 mPercent = percent; in AppDataUsagePreference()
68 progress.setProgress(mPercent); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageSummaryDonutPreference.java42 private double mPercent = -1; field in StorageSummaryDonutPreference
60 mPercent = usedBytes / (double) totalBytes; in setPercent()
70 donut.setPercentage(mPercent); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DStorageSummaryDonutPreference.java42 private double mPercent = -1; field in StorageSummaryDonutPreference
60 mPercent = usedBytes / (double) totalBytes; in setPercent()
70 donut.setPercentage(mPercent); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/widget/
DDonutView.java56 private double mPercent; field in DonutView
169 (360 * (float) mPercent), in drawDonut()
200 mPercent = percent; in setPercentage()
201 mPercentString = Utils.formatPercentage(mPercent); in setPercentage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDonutView.java56 private double mPercent; field in DonutView
169 (360 * (float) mPercent), in drawDonut()
200 mPercent = percent; in setPercentage()
201 mPercentString = Utils.formatPercentage(mPercent); in setPercentage()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java221 private final int mPercent; field in AppDataUsagePreferenceController.AppDataUsagePreference
228 mPercent = percent; in AppDataUsagePreference()
252 setProgress(mPercent); in setAppInfo()