Home
last modified time | relevance | path

Searched refs:getWeightUnit (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DWeightFormatter.kt31 return MassFormatter.formatValue(context, record.weight, unitPreferences.getWeightUnit()) in formatValue()
39 context, record.weight, unitPreferences.getWeightUnit()) in formatA11yValue()
DBoneMassFormatter.kt31 return MassFormatter.formatValue(context, record.mass, unitPreferences.getWeightUnit()) in formatValue()
38 return MassFormatter.formatA11yValue(context, record.mass, unitPreferences.getWeightUnit()) in formatA11yValue()
DLeanBodyMassFormatter.kt31 return MassFormatter.formatValue(context, record.mass, unitPreferences.getWeightUnit()) in formatValue()
38 return MassFormatter.formatA11yValue(context, record.mass, unitPreferences.getWeightUnit()) in formatA11yValue()
DBodyWaterMassFormatter.kt38 return formatValue(context, record.bodyWaterMass, unitPreferences.getWeightUnit()) in formatValue()
45 return formatA11yValue(context, record.bodyWaterMass, unitPreferences.getWeightUnit()) in formatA11yValue()
DExercisePerformanceGoalFormatter.kt121 context, performanceGoal.mass, unitPreferences.getWeightUnit()) in formatPerformanceGoal()
195 context, performanceGoal.mass, unitPreferences.getWeightUnit()) in formatPerformanceGoalA11y()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitPreferences.kt87 fun getWeightUnit(): WeightUnit { in getWeightUnit() method
DUnitsFragment.kt77 unitsPreferences.getWeightUnit().toString()) { newUnit -> in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/units/
DUnitsFragmentTest.kt187 assertThat(unitPreferences.getWeightUnit()).isEqualTo(WeightUnit.KILOGRAM) in unitsScreen_modifiesWeight_updatesValue()