/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageSummaryPreference.java | 32 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/ |
D | StorageSummaryPreference.java | 32 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/ |
D | AppDataUsagePreference.java | 32 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/ |
D | AppDataUsagePreference.java | 32 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/ |
D | StorageSummaryDonutPreference.java | 42 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/ |
D | StorageSummaryDonutPreference.java | 42 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/ |
D | DonutView.java | 56 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/ |
D | DonutView.java | 56 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/ |
D | AppDataUsagePreferenceController.java | 221 private final int mPercent; field in AppDataUsagePreferenceController.AppDataUsagePreference 228 mPercent = percent; in AppDataUsagePreference() 252 setProgress(mPercent); in setAppInfo()
|