Searched refs:getUnitLabel (Results 1 – 3 of 3) sorted by relevance
39 import com.android.healthconnect.controller.dataentries.units.UnitPreferencesStrings.getUnitLabel108 onView(withText(getUnitLabel(DEFAULT_HEIGHT_UNIT))).check(matches(isDisplayed())) in unitsScreen_showsDefaultSettings()109 onView(withText(getUnitLabel(DEFAULT_DISTANCE_UNIT))).check(matches(isDisplayed())) in unitsScreen_showsDefaultSettings()110 onView(withText(getUnitLabel(DEFAULT_ENERGY_UNIT))).check(matches(isDisplayed())) in unitsScreen_showsDefaultSettings()111 onView(withText(getUnitLabel(DEFAULT_TEMPERATURE_UNIT))).check(matches(isDisplayed())) in unitsScreen_showsDefaultSettings()112 onView(withText(getUnitLabel(DEFAULT_WEIGHT_UNIT))).check(matches(isDisplayed())) in unitsScreen_showsDefaultSettings()121 onView(withText(getUnitLabel(HeightUnit.FEET))).check(matches(isDisplayed())) in unitsScreen_setHeightUnit_updatesValue()130 onView(withText(getUnitLabel(WeightUnit.STONE))).check(matches(isDisplayed())) in unitsScreen_setWeightUnit_updatesValue()139 onView(withText(getUnitLabel(TemperatureUnit.KELVIN))).check(matches(isDisplayed())) in unitsScreen_setTemperatureUnit_updatesValue()148 onView(withText(getUnitLabel(DistanceUnit.MILES))).check(matches(isDisplayed())) in unitsScreen_setDistanceUnit_updatesValue()[all …]
33 import com.android.healthconnect.controller.dataentries.units.UnitPreferencesStrings.getUnitLabel in <lambda>()173 return entries.map { getString(getUnitLabel(it)) }.toTypedArray() in <lambda>()
40 fun getUnitLabel(unit: UnitPreference): Int { in getUnitLabel() method