Home
last modified time | relevance | path

Searched refs:usedResult (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/development/
DMemoryUsagePreferenceController.java66 final String usedResult = Formatter.formatShortFileSize(mContext, in updateState() local
74 ? mContext.getString(R.string.memory_summary, usedResult, totalResult) in updateState()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsSummary.java119 BytesResult usedResult = Formatter.formatBytes(context.getResources(), (long) usedRam, in refreshUi() local
131 mSummaryPref.setAmount(usedResult.value); in refreshUi()
132 mSummaryPref.setUnits(usedResult.units); in refreshUi()
DProcessStatsDetail.java209 Formatter.BytesResult usedResult = Formatter.formatBytes(context.getResources(), in createDetails() local
211 summaryPreference.setAmount(usedResult.value); in createDetails()
212 summaryPreference.setUnits(usedResult.units); in createDetails()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummary.java223 final Formatter.BytesResult usedResult = Formatter.formatBytes(context.getResources(), in formatUsage() local
225 final SpannableString enlargedValue = new SpannableString(usedResult.value); in formatUsage()
232 enlargedValue, usedResult.units); in formatUsage()
DDataUsageSummaryPreference.java170 final Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in updateDataUsageLabels() local
172 final SpannableString usageNumberText = new SpannableString(usedResult.value); in updateDataUsageLabels()
180 TextUtils.expandTemplate(template, usageNumberText, usedResult.units); in updateDataUsageLabels()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java151 Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in getUsageText() local
153 SpannableString usageNumberText = new SpannableString(usedResult.value); in getUsageText()
163 usedResult.units); in getUsageText()