/packages/apps/Settings/tests/unit/src/com/android/settings/datetime/timezone/ |
D | TimeZoneInfoTest.java | 23 import com.android.settings.datetime.timezone.TimeZoneInfo.Formatter; 37 Formatter formatter = new Formatter(Locale.US, now); in testFormat() 51 Formatter formatter = new Formatter(Locale.US, date); in getGmtOffset_zoneLordHowe_correctGmtOffset()
|
D | RegionZonePickerTest.java | 26 import com.android.settings.datetime.timezone.TimeZoneInfo.Formatter; 43 Formatter formatter = new Formatter(Locale.US, now); in compareTimeZoneInfo_matchGmtOrder()
|
D | TimeZoneInfoPreferenceControllerTest.java | 29 import com.android.settings.datetime.timezone.TimeZoneInfo.Formatter; 48 final Formatter formatter = new Formatter(Locale.US, now); in setUp()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsSummary.java | 21 import android.text.format.Formatter; 22 import android.text.format.Formatter.BytesResult; 74 BytesResult usedResult = Formatter.formatBytes(context.getResources(), (long) usedRam, in refreshUi() 75 Formatter.FLAG_SHORTER); in refreshUi() 76 String totalString = Formatter.formatShortFileSize(context, (long) totalRam); in refreshUi() 77 String freeString = Formatter.formatShortFileSize(context, (long) freeRam); in refreshUi()
|
D | ProcStatsData.java | 26 import android.text.format.Formatter; 394 Log.i(TAG, "Scaled Used RAM: " + Formatter.formatShortFileSize(context, in MemInfo() 396 Log.i(TAG, "Scaled Free RAM: " + Formatter.formatShortFileSize(context, in MemInfo() 400 Log.i(TAG, "Adj Scaled Used RAM: " + Formatter.formatShortFileSize(context, in MemInfo() 402 Log.i(TAG, "Adj Scaled Free RAM: " + Formatter.formatShortFileSize(context, in MemInfo() 444 Log.i(TAG, "Used RAM: " + Formatter.formatShortFileSize(context, in calculateWeightInfo() 446 Log.i(TAG, "Free RAM: " + Formatter.formatShortFileSize(context, in calculateWeightInfo() 448 Log.i(TAG, "Total RAM: " + Formatter.formatShortFileSize(context, in calculateWeightInfo()
|
D | ProcessStatsDetail.java | 38 import android.text.format.Formatter; 210 Formatter.BytesResult usedResult = Formatter.formatBytes(context.getResources(), in createDetails() 211 (long) avgRam, Formatter.FLAG_SHORTER); in createDetails() 221 Formatter.formatShortFileSize(getContext(), (long) max)); in createDetails() 274 String memoryString = Formatter.formatShortFileSize(getActivity(), memoryUse); in fillProcessesSection()
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | TwoDigitFormatter.java | 17 public class TwoDigitFormatter implements NumberPicker.Formatter { 21 java.util.Formatter mFmt; 52 private java.util.Formatter createFormatter(Locale locale) { in createFormatter() 53 return new java.util.Formatter(mBuilder, locale); in createFormatter()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | FileSizeFormatter.java | 23 import android.text.format.Formatter; 58 final Formatter.BytesResult res = in formatFileSize() 79 private static Formatter.BytesResult formatBytes( in formatBytes() 114 return new Formatter.BytesResult(roundedString, units, roundedBytes); in formatBytes()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | FileSizeFormatter.java | 22 import android.text.format.Formatter; 58 Formatter.BytesResult res = in formatFileSize() 79 private static Formatter.BytesResult formatBytes( in formatBytes() 114 return new Formatter.BytesResult(roundedString, units, roundedBytes); in formatBytes()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageUsageProgressBarPreferenceController.java | 21 import android.text.format.Formatter; 124 final Formatter.BytesResult result = Formatter.formatBytes(mContext.getResources(), in getStorageSummary() 125 bytes, Formatter.FLAG_SHORTER); in getStorageSummary()
|
D | StorageUtils.java | 30 import android.text.format.Formatter; 122 final Formatter.BytesResult result = Formatter.formatBytes(context.getResources(), in getStorageSizeLabel() 123 bytes, Formatter.FLAG_SHORTER); in getStorageSizeLabel()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageUtils.java | 27 import android.text.format.Formatter; 80 Formatter.BytesResult res = Formatter.formatBytes(context.getResources(), byteValue, in bytesToIecUnits() 81 Formatter.FLAG_IEC_UNITS); in bytesToIecUnits()
|
D | DataUsageSummaryPreferenceController.java | 33 import android.text.format.Formatter; 153 Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in getUsageText() 154 mDataplanUse, Formatter.FLAG_CALCULATE_ROUNDED | Formatter.FLAG_IEC_UNITS); in getUsageText()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummary.java | 28 import android.text.format.Formatter; 227 final Formatter.BytesResult usedResult = Formatter.formatBytes(context.getResources(), in formatUsage() 228 usageLevel, Formatter.FLAG_CALCULATE_ROUNDED | Formatter.FLAG_IEC_UNITS); in formatUsage()
|
D | DataUsageUtils.java | 33 import android.text.format.Formatter; 34 import android.text.format.Formatter.BytesResult; 59 final BytesResult res = Formatter.formatBytes(context.getResources(), byteValue, in formatDataUsage() 60 Formatter.FLAG_IEC_UNITS); in formatDataUsage()
|
D | ChartDataUsagePreference.java | 24 import android.text.format.Formatter; 287 Formatter.BytesResult result = Formatter.formatBytes(mResources, bytes, in getLabel() 288 Formatter.FLAG_SHORTER | Formatter.FLAG_IEC_UNITS); in getLabel()
|
D | DataUsageSummaryPreference.java | 30 import android.text.format.Formatter; 242 final Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in updateDataUsageLabels() 243 mDataplanUse, Formatter.FLAG_CALCULATE_ROUNDED | Formatter.FLAG_IEC_UNITS); in updateDataUsageLabels()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | GifTranscoder.java | 20 import android.text.format.Formatter; 59 Formatter.formatShortFileSize(context, inputSize), in transcode() 60 Formatter.formatShortFileSize(context, outputSize), in transcode()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | MemoryUsagePreferenceController.java | 20 import android.text.format.Formatter; 64 final String usedResult = Formatter.formatShortFileSize(mContext, in updateState() 66 final String totalResult = Formatter.formatShortFileSize(mContext, in updateState()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/ |
D | BufferDebug.java | 20 import java.util.Formatter; 88 final Formatter f = new Formatter(str); in writeRow()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PublicVolumeSettings.java | 32 import android.text.format.Formatter; 165 final Formatter.BytesResult result = Formatter.formatBytes(getResources(), usedBytes, in update() 170 Formatter.formatFileSize(context, totalBytes))); in update()
|
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/ |
D | CalendarFormatter.java | 36 import java.util.Formatter; 105 Formatter formatter = new Formatter(new StringBuilder(50), mLocale); in getTimeRangeText()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkWatchlistTest.java | 49 import java.util.Formatter; 115 Formatter formatter = new Formatter(); in byteArrayToHexString()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferAdapter.java | 42 import android.text.format.Formatter; 111 Formatter.formatFileSize(mContext, totalBytes)); in bindView() 114 Formatter.formatFileSize(mContext, totalBytes)); in bindView()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppDataUsagePreferenceController.java | 23 import android.text.format.Formatter; 130 Formatter.formatFileSize(mContext, totalBytes, Formatter.FLAG_IEC_UNITS), in getDataSummary()
|