Searched refs:Unit (Results 1 – 24 of 24) sorted by relevance
30 protected static final Unit METER_PER_SEC = new Unit(VehicleUnit.METER_PER_SEC,32 protected static final Unit RPM = new Unit(VehicleUnit.RPM,34 protected static final Unit HERTZ = new Unit(VehicleUnit.HERTZ,36 protected static final Unit PERCENTILE = new Unit(VehicleUnit.PERCENTILE,38 protected static final Unit MILLIMETER = new Unit(VehicleUnit.MILLIMETER,40 protected static final Unit METER = new Unit(VehicleUnit.METER,42 protected static final Unit KILOMETER = new Unit(VehicleUnit.KILOMETER,44 protected static final Unit MILE = new Unit(VehicleUnit.MILE,46 protected static final Unit CELSIUS = new Unit(VehicleUnit.CELSIUS,48 protected static final Unit FAHRENHEIT = new Unit(VehicleUnit.FAHRENHEIT,[all …]
105 protected Unit[] getUnitsSupportedByProperty(int propertyId) { in getUnitsSupportedByProperty()110 List<Unit> units = new ArrayList<Unit>(); in getUnitsSupportedByProperty()118 Unit[] result = new Unit[availableUnitsId.size()]; in getUnitsSupportedByProperty()121 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()128 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()135 protected Unit getUnitUsedByProperty(int propertyId) { in getUnitUsedByProperty()
88 private Unit[] mSupportedUnits;89 private Unit mUnitBeingUsed;90 private Unit mDefaultUnit;144 Unit unit = mSupportedUnits[i]; in getEntriesOfSupportedUnits()150 protected String generateSummaryFromUnit(Unit unit) { in generateSummaryFromUnit()154 protected String generateEntryStringFromUnit(Unit unit) { in generateEntryStringFromUnit()172 private Unit getUnitUsedByThisProperty() { in getUnitUsedByThisProperty()173 Unit savedUnit = mCarUnitsManager.getUnitUsedByProperty(getPropertyId()); in getUnitUsedByThisProperty()
48 protected String generateSummaryFromUnit(Unit unit) { in generateSummaryFromUnit()53 protected String generateEntryStringFromUnit(Unit unit) { in generateEntryStringFromUnit()58 private String getAbbreviationByVolumeUnit(Unit unit) { in getAbbreviationByVolumeUnit()81 private String getPronouncedNameByVolumeUnit(Unit unit) { in getPronouncedNameByVolumeUnit()
51 protected String generateSummaryFromUnit(Unit unit) { in generateSummaryFromUnit()56 protected String generateEntryStringFromUnit(Unit unit) { in generateEntryStringFromUnit()71 private String getAbbreviationByUnit(Unit unit) { in getAbbreviationByUnit()
26 public class Unit { class31 Unit(@VehicleUnit.Enum int unitId, @StringRes int unitAbbreviationResId, in Unit() method in Unit
20 import com.android.car.settings.units.Unit;36 private static HashMap<Integer, Unit[]> sSupportedUnits = new HashMap<>();37 private static HashMap<Integer, Unit> sUnitsBeingUsed = new HashMap<>();50 protected static Unit[] getUnitsSupportedByProperty(int propertyId) { in getUnitsSupportedByProperty()55 protected static Unit getUnitUsedByProperty(int propertyId) { in getUnitUsedByProperty()83 public static void setUnitsSupportedByProperty(int propertyId, Unit[] units) { in setUnitsSupportedByProperty()
52 private static final Unit[] AVAILABLE_UNITS =54 private static final Unit DEFAULT_UNIT = UnitsMap.YEAR;175 Unit newUnit = UnitsMap.SECS; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()186 Unit newUnit = UnitsMap.SECS; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitAbbreviationAsSummary()
133 .setDisplayUnits(Distance.Unit.FEET) in getNavStateData()172 .setDisplayUnits(Distance.Unit.KILOMETERS) in getNavStateData()
1 Unit test suite for CarMessengerApp using Robolectric.
1 Unit test suite for SettingsLib using Robolectric.
1 Unit test suite for DirectRenderingCluster using Robolectric.
1 Unit test suite for CarDialerApp using Robolectric.
1 Unit test suite for Live Channels using Robolectric.
325 if (distance == null || distance.getDisplayUnits() == Distance.Unit.UNKNOWN) { in formatDistance()
107 Unit tests for DoT are in `resolv_tls_unit_test.cpp`. They cover all the classes except
76 enum Unit { enum104 Unit display_units = 3;
8681 carrier_name: "Unité"
8476 carrier_name: "Unité"
8432 carrier_name: "Unité"
1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...