Searched refs:usedResult (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsSummary.java | 74 BytesResult usedResult = Formatter.formatBytes(context.getResources(), (long) usedRam, in refreshUi() local 86 mSummaryPref.setAmount(usedResult.value); in refreshUi() 87 mSummaryPref.setUnits(usedResult.units); in refreshUi()
|
D | ProcessStatsDetail.java | 210 Formatter.BytesResult usedResult = Formatter.formatBytes(context.getResources(), in createDetails() local 212 summaryPreference.setAmount(usedResult.value); in createDetails() 213 summaryPreference.setUnits(usedResult.units); in createDetails()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | MemoryUsagePreferenceController.java | 64 final String usedResult = Formatter.formatShortFileSize(mContext, in updateState() local 70 usedResult, totalResult))); in updateState()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummary.java | 247 final Formatter.BytesResult usedResult = Formatter.formatBytes(context.getResources(), in formatUsage() local 249 final SpannableString enlargedValue = new SpannableString(usedResult.value); in formatUsage() 256 enlargedValue, usedResult.units); in formatUsage()
|
D | DataUsageSummaryPreference.java | 241 final Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in updateDataUsageLabels() local 243 final SpannableString usageNumberText = new SpannableString(usedResult.value); in updateDataUsageLabels() 251 TextUtils.expandTemplate(template, usageNumberText, usedResult.units); in updateDataUsageLabels()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 151 Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in getUsageText() local 153 SpannableString usageNumberText = new SpannableString(usedResult.value); in getUsageText() 163 usedResult.units); in getUsageText()
|