Home
last modified time | relevance | path

Searched refs:getAbbreviationResId (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsEnergyConsumptionPreferenceController.java37 mKWh = getContext().getString(UnitsMap.KILOWATT_HOUR.getAbbreviationResId()); in UnitsEnergyConsumptionPreferenceController()
74 getContext().getString(unit.getAbbreviationResId())); in getAbbreviationByUnit()
DUnitsBasePreferenceController.java152 return getContext().getString(unit.getAbbreviationResId()); in generateSummaryFromUnit()
158 getContext().getString(unit.getAbbreviationResId()), in generateEntryStringFromUnit()
DUnit.java42 public int getAbbreviationResId() { in getAbbreviationResId() method in Unit
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/
DUnitsSpeedPreferenceControllerTest.java118 .isEqualTo(mContext.getString(newUnit.getAbbreviationResId())); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsDistancePreferenceControllerTest.java116 .isEqualTo(mContext.getString(newUnit.getAbbreviationResId())); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsPressurePreferenceControllerTest.java118 .isEqualTo(mContext.getString(newUnit.getAbbreviationResId())); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsVolumePreferenceControllerTest.java116 .isEqualTo(mContext.getString(newUnit.getAbbreviationResId())); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsTemperaturePreferenceControllerTest.java117 .isEqualTo(mContext.getString(newUnit.getAbbreviationResId())); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsBasePreferenceControllerTest.java263 .isEqualTo(mContext.getString(newUnit.getAbbreviationResId())); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitAbbreviationAsSummary()