/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsSummary.java | 76 BytesResult usedResult = Formatter.formatBytes(context.getResources(), (long) usedRam, in refreshUi() local 88 mSummaryPref.setAmount(usedResult.value); in refreshUi() 89 mSummaryPref.setUnits(usedResult.units); in refreshUi() 147 String usedResult = Formatter.formatShortFileSize(mContext, in setListening() local 152 usedResult, totalResult)); in setListening()
|
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcessStatsSummary.java | 76 BytesResult usedResult = Formatter.formatBytes(context.getResources(), (long) usedRam, in refreshUi() local 88 mSummaryPref.setAmount(usedResult.value); in refreshUi() 89 mSummaryPref.setUnits(usedResult.units); in refreshUi() 147 String usedResult = Formatter.formatShortFileSize(mContext, in setListening() local 152 usedResult, totalResult)); in setListening()
|
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/deviceinfo/ |
D | DataUsageSlice.java | 108 final Formatter.BytesResult usedResult = Formatter.formatBytes(mContext.getResources(), in getDataUsageText() local 110 final SpannableString usageNumberText = new SpannableString(usedResult.value); in getDataUsageText() 115 usageNumberText, usedResult.units); in getDataUsageText()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/deviceinfo/ |
D | DataUsageSlice.java | 108 final Formatter.BytesResult usedResult = Formatter.formatBytes(mContext.getResources(), in getDataUsageText() local 110 final SpannableString usageNumberText = new SpannableString(usedResult.value); in getDataUsageText() 115 usageNumberText, usedResult.units); in getDataUsageText()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | MemoryUsagePreferenceController.java | 64 final String usedResult = Formatter.formatShortFileSize(mContext, in updateState() local 70 usedResult, totalResult))); in updateState()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 148 Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in getUsageText() local 150 SpannableString usageNumberText = new SpannableString(usedResult.value); in getUsageText() 160 usedResult.units); in getUsageText()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummary.java | 206 final Formatter.BytesResult usedResult = Formatter.formatBytes(context.getResources(), in formatUsage() local 208 final SpannableString enlargedValue = new SpannableString(usedResult.value); in formatUsage() 215 enlargedValue, usedResult.units); in formatUsage()
|
D | DataUsageSummaryPreference.java | 240 final Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in updateDataUsageLabels() local 242 final SpannableString usageNumberText = new SpannableString(usedResult.value); in updateDataUsageLabels() 250 TextUtils.expandTemplate(template, usageNumberText, usedResult.units); in updateDataUsageLabels()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummary.java | 217 final Formatter.BytesResult usedResult = Formatter.formatBytes(context.getResources(), in formatUsage() local 219 final SpannableString enlargedValue = new SpannableString(usedResult.value); in formatUsage() 226 enlargedValue, usedResult.units); in formatUsage()
|
D | DataUsageSummaryPreference.java | 240 final Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in updateDataUsageLabels() local 242 final SpannableString usageNumberText = new SpannableString(usedResult.value); in updateDataUsageLabels() 250 TextUtils.expandTemplate(template, usageNumberText, usedResult.units); in updateDataUsageLabels()
|