/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/datausage/lib/ |
D | DataUsageFormatter.kt | 25 import android.text.format.Formatter 43 val result = Formatter.formatBytes(context.resources, sizeBytes, Formatter.FLAG_IEC_UNITS) in format() 62 Formatter.formatBytes(this, bytes, Formatter.FLAG_IEC_UNITS).units
|
/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/modules/Virtualization/libs/bssl/error/src/ |
D | code.rs | 34 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 61 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 103 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 158 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 186 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsSummary.java | 25 import android.text.format.Formatter; 26 import android.text.format.Formatter.BytesResult; 119 BytesResult usedResult = Formatter.formatBytes(context.getResources(), (long) usedRam, in refreshUi() 120 Formatter.FLAG_SHORTER); in refreshUi() 121 String totalString = Formatter.formatShortFileSize(context, (long) totalRam); in refreshUi() 122 String freeString = Formatter.formatShortFileSize(context, (long) freeRam); in refreshUi()
|
D | ProcStatsData.java | 26 import android.text.format.Formatter; 386 Log.i(TAG, "Scaled Used RAM: " + Formatter.formatShortFileSize(context, in MemInfo() 388 Log.i(TAG, "Scaled Free RAM: " + Formatter.formatShortFileSize(context, in MemInfo() 392 Log.i(TAG, "Adj Scaled Used RAM: " + Formatter.formatShortFileSize(context, in MemInfo() 394 Log.i(TAG, "Adj Scaled Free RAM: " + Formatter.formatShortFileSize(context, in MemInfo() 436 Log.i(TAG, "Used RAM: " + Formatter.formatShortFileSize(context, in calculateWeightInfo() 438 Log.i(TAG, "Free RAM: " + Formatter.formatShortFileSize(context, in calculateWeightInfo() 440 Log.i(TAG, "Total RAM: " + Formatter.formatShortFileSize(context, in calculateWeightInfo()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageUtils.java | 32 import android.text.format.Formatter; 126 final Formatter.BytesResult result = Formatter.formatBytes(context.getResources(), in getStorageSizeLabel() 127 bytes, Formatter.FLAG_SHORTER); in getStorageSizeLabel() 259 final Formatter.BytesResult result = Formatter.formatBytes(context.getResources(), in getStorageSummary() 260 bytes, Formatter.FLAG_SHORTER); in getStorageSummary()
|
/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/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageUtils.java | 28 import android.text.format.Formatter; 105 Formatter.BytesResult res = Formatter.formatBytes(context.getResources(), byteValue, in bytesToIecUnits() 106 Formatter.FLAG_IEC_UNITS); in bytesToIecUnits()
|
D | DataUsageSummaryPreferenceController.java | 31 import android.text.format.Formatter; 151 Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in getUsageText() 152 mDataplanUse, Formatter.FLAG_CALCULATE_ROUNDED | Formatter.FLAG_IEC_UNITS); in getUsageText()
|
/packages/modules/Virtualization/vmbase/src/hvc/ |
D | trng.rs | 34 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 67 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 73 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | MemoryUsagePreferenceController.java | 22 import android.text.format.Formatter; 66 final String usedResult = Formatter.formatShortFileSize(mContext, in updateState() 68 final String totalResult = Formatter.formatShortFileSize(mContext, in updateState()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageUtils.java | 35 import android.text.format.Formatter; 36 import android.text.format.Formatter.BytesResult; 64 final BytesResult res = Formatter.formatBytes(context.getResources(), byteValue, in formatDataUsage() 65 Formatter.FLAG_IEC_UNITS); in formatDataUsage()
|
D | DataUsageSummary.java | 29 import android.text.format.Formatter; 223 final Formatter.BytesResult usedResult = Formatter.formatBytes(context.getResources(), in formatUsage() 224 usageLevel, Formatter.FLAG_CALCULATE_ROUNDED | Formatter.FLAG_IEC_UNITS); in formatUsage()
|
D | ChartDataUsagePreference.java | 23 import android.text.format.Formatter; 282 Formatter.BytesResult result = Formatter.formatBytes(mResources, bytes, in getLabel() 283 Formatter.FLAG_SHORTER | Formatter.FLAG_IEC_UNITS); in getLabel()
|
D | DataUsageSummaryPreference.java | 27 import android.text.format.Formatter; 170 final Formatter.BytesResult usedResult = Formatter.formatBytes(getContext().getResources(), in updateDataUsageLabels() 171 mDataplanUse, Formatter.FLAG_CALCULATE_ROUNDED | Formatter.FLAG_IEC_UNITS); in updateDataUsageLabels()
|
/packages/modules/Virtualization/vmbase/src/ |
D | exceptions.rs | 47 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 93 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 111 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
|
/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/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/Settings/src/com/android/settings/datetime/timezone/ |
D | SpannableUtil.java | 32 import java.util.Formatter; 49 public void formatTo(Formatter formatter, int flags, int width, int precision) { in formatTo() 103 new Formatter(builder, locale).format(res.getString(resId), args); in getResourcesText()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferAdapter.java | 42 import android.text.format.Formatter; 112 Formatter.formatFileSize(mContext, totalBytes)); in bindView() 117 Formatter.formatFileSize(mContext, totalBytes)); in bindView()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppDataUsagePreferenceController.java | 24 import android.text.format.Formatter; 146 Formatter.formatFileSize(mContext, totalBytes, Formatter.FLAG_IEC_UNITS), in getDataSummary()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StoragePreference.java | 20 import android.text.format.Formatter; 60 : Formatter.formatShortFileSize(context, size); in formatSize()
|