Home
last modified time | relevance | path

Searched refs:units (Results 1 – 25 of 57) sorted by relevance

123

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUnitsManager.java19 import com.android.car.settings.units.CarUnitsManager;
20 import com.android.car.settings.units.Unit;
21 import com.android.car.settings.units.UnitsMap;
83 public static void setUnitsSupportedByProperty(int propertyId, Unit[] units) { in setUnitsSupportedByProperty() argument
84 sSupportedUnits.put(propertyId, units); in setUnitsSupportedByProperty()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DFileSizeFormatter.java61 .unicodeWrap(context.getString(getFileSizeSuffix(context), res.value, res.units)); in formatFileSize()
112 String units = res.getString(suffix); in formatBytes() local
114 return new Formatter.BytesResult(roundedString, units, roundedBytes); in formatBytes()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/
DFileSizeFormatter.java61 .unicodeWrap(context.getString(getFileSizeSuffix(context), res.value, res.units)); in formatFileSize()
112 final String units = res.getString(suffix); in formatBytes() local
114 return new Formatter.BytesResult(roundedString, units, roundedBytes); in formatBytes()
/packages/apps/Settings/src/com/android/settings/utils/
DFileSizeFormatter.java61 .unicodeWrap(context.getString(getFileSizeSuffix(context), res.value, res.units)); in formatFileSize()
112 final String units = res.getString(suffix); in formatBytes() local
114 return new Formatter.BytesResult(roundedString, units, roundedBytes); in formatBytes()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DCarUnitsManager.java17 package com.android.car.settings.units;
110 List<Unit> units = new ArrayList<Unit>(); in getUnitsSupportedByProperty() local
122 units.add(unit); in getUnitsSupportedByProperty()
DUnitsSettingsFragment.java17 package com.android.car.settings.units;
DUnit.java17 package com.android.car.settings.units;
DUnitsDistancePreferenceController.java17 package com.android.car.settings.units;
DUnitsPressurePreferenceController.java17 package com.android.car.settings.units;
DUnitsSpeedPreferenceController.java17 package com.android.car.settings.units;
DUnitsVolumePreferenceController.java17 package com.android.car.settings.units;
DUnitsTemperaturePreferenceController.java17 package com.android.car.settings.units;
DUnitsEnergyConsumptionPreferenceController.java17 package com.android.car.settings.units;
DUnitsFuelConsumptionPreferenceController.java17 package com.android.car.settings.units;
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DUsageBytesThresholdPickerDialog.java92 String[] units = getContext().getResources().getStringArray(R.array.bytes_picker_sizes); in onCreateDialog() local
95 mBytesUnits.setMaxValue(units.length - 1); in onCreateDialog()
96 mBytesUnits.setDisplayedValues(units); in onCreateDialog()
DDataUsageUtils.java80 com.android.internal.R.string.fileSizeSuffix, res.value, res.units)); in bytesToIecUnits()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.c438 ipp_res_t units; in print_col() local
440 xres = ippGetResolution(attr, i, &yres, &units); in print_col()
444 units == IPP_RES_PER_INCH ? "dpi" : "dpc"); in print_col()
526 ipp_res_t units; in print_attr() local
528 xres = ippGetResolution(attr, i, &yres, &units); in print_attr()
532 units == IPP_RES_PER_INCH ? "dpi" : "dpc"); in print_attr()
665 ipp_res_t units; in get_supportedPrinterResolutions() local
667 xres = ippGetResolution(attrptr, i, &yres, &units); in get_supportedPrinterResolutions()
668 if (units == IPP_RES_PER_INCH) { in get_supportedPrinterResolutions()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageSummaryDonutPreferenceControllerTest.java92 .isEqualTo(usedSpaceResults.value + " " + usedSpaceResults.units); in testEmpty()
107 .isEqualTo(usedSpaceResults.value + " " + usedSpaceResults.units); in testTotalStorage()
131 .isEqualTo(usedSpaceResults.value + " " + usedSpaceResults.units); in testPopulateWithVolume()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSummaryPreference.java61 public void setUnits(String units) { in setUnits() argument
62 mUnits = units; in setUnits()
/packages/apps/Settings/src/com/android/settings/
DSummaryPreference.java61 public void setUnits(String units) { in setUnits() argument
62 mUnits = units; in setUnits()
/packages/services/Car/evs/app/
Dconfig.json.readme6 // Throughout this file, units of length are arbitrary, but must all be the same units.
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java1562 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument
1563 computeCurrentVelocity(units, Float.MAX_VALUE); in computeCurrentVelocity()
1566 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
1588 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
1593 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md31 * UTF-16: 16-bit variable-width encoding. It maps a code point to 1–2 16-bit code units (i.e., 2–4 …
80 … point). As mentioned in previous section, a code point may be encoded to 1–4 code units for UTF-8.
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DStorageSummaryDonutPreferenceController.java56 result.value, result.units); in convertUsedBytesToFormattedText()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageSummaryDonutPreferenceController.java56 result.value, result.units); in convertUsedBytesToFormattedText()

123