Home
last modified time | relevance | path

Searched refs:getAbbreviationResId (Results 1 – 4 of 4) 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.java151 return getContext().getString(unit.getAbbreviationResId()); in generateSummaryFromUnit()
156 getContext().getString(unit.getAbbreviationResId()), in generateEntryStringFromUnit()
DUnit.java42 public int getAbbreviationResId() { in getAbbreviationResId() method in Unit
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/units/
DUnitsBasePreferenceControllerTest.java192 .isEqualTo(mContext.getString(newUnit.getAbbreviationResId())); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitAbbreviationAsSummary()