Searched refs:HeightUnit (Results 1 – 7 of 7) sorted by relevance
22 import com.android.healthconnect.controller.dataentries.units.HeightUnit.CENTIMETERS70 fun getHeightUnit(): HeightUnit { in getHeightUnit()77 return HeightUnit.valueOf(unitString) in getHeightUnit()80 fun setHeightUnit(heightUnit: HeightUnit) { in setHeightUnit()147 enum class HeightUnit : UnitPreference { class
18 import com.android.healthconnect.controller.dataentries.units.HeightUnit.CENTIMETERS19 import com.android.healthconnect.controller.dataentries.units.HeightUnit.FEET49 fun convertHeightFromMeters(unit: HeightUnit, sourceMeters: Double) : Double { in convertHeightFromMeters()
27 HeightUnit.CENTIMETERS to R.string.height_unit_centimeters_label,28 HeightUnit.FEET to R.string.height_unit_feet_label,
24 import com.android.healthconnect.controller.dataentries.units.HeightUnit.* in <lambda>()63 val newHeightUnit = HeightUnit.valueOf(newUnit) in <lambda>()
25 import com.android.healthconnect.controller.dataentries.units.HeightUnit26 import com.android.healthconnect.controller.dataentries.units.HeightUnit.CENTIMETERS27 import com.android.healthconnect.controller.dataentries.units.HeightUnit.FEET73 heightUnit: HeightUnit, in formatHeight()
31 import com.android.healthconnect.controller.dataentries.units.HeightUnit117 unitPreferences.setHeightUnit(HeightUnit.FEET) in unitsScreen_setHeightUnit_updatesValue()121 onView(withText(getUnitLabel(HeightUnit.FEET))).check(matches(isDisplayed())) in unitsScreen_setHeightUnit_updatesValue()167 assertThat(unitPreferences.getHeightUnit()).isEqualTo(HeightUnit.FEET) in unitsScreen_modifiesHeight_updatesValue()
23 import com.android.healthconnect.controller.dataentries.units.HeightUnit.CENTIMETERS24 import com.android.healthconnect.controller.dataentries.units.HeightUnit.FEET