/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | StepsFormatter.kt | 38 return formatUnit(record.count) in formatValue() 48 override fun formatUnit(unit: Long): String { in formatUnit() method in com.android.healthconnect.controller.dataentries.formatters.StepsFormatter 53 return formatUnit(unit) in formatA11yUnit()
|
D | SkinTemperatureFormatter.kt | 145 formatUnit(record.deltas.first().delta) in formatValue() 162 override fun formatUnit(unit: TemperatureDelta): String { in formatUnit() method in com.android.healthconnect.controller.dataentries.formatters.SkinTemperatureFormatter
|
D | DistanceFormatter.kt | 46 override fun formatUnit(unit: Length): String { in formatUnit() method in com.android.healthconnect.controller.dataentries.formatters.DistanceFormatter
|
D | TotalCaloriesBurnedFormatter.kt | 49 override fun formatUnit(unit: Energy): String { in formatUnit() method in com.android.healthconnect.controller.dataentries.formatters.TotalCaloriesBurnedFormatter
|
D | PlannedExerciseStepFormatter.kt | 100 StepsFormatter(context).formatUnit(completionGoal.steps.toLong()) in <lambda>()
|
D | SleepSessionFormatter.kt | 79 override fun formatUnit(unit: Long): String { in <lambda>() method in com.android.healthconnect.controller.dataentries.formatters.SleepSessionFormatter
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/ |
D | LoadDataAggregationsUseCase.kt | 133 aggregation = stepsFormatter.formatUnit(aggregationResult as Long), in <lambda>() 140 totalCaloriesBurnedFormatter.formatUnit(aggregationResult as Energy), in <lambda>() 147 aggregation = distanceFormatter.formatUnit(aggregationResult as Length), in <lambda>() 154 aggregation = sleepFormatter.formatUnit(aggregationResult as Long), in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/ |
D | LoadDataAggregationsUseCase.kt | 161 aggregation = stepsFormatter.formatUnit(aggregationResult), in <lambda>() 166 aggregation = sleepSessionFormatter.formatUnit(aggregationResult), in <lambda>() 177 aggregation = totalCaloriesBurnedFormatter.formatUnit(aggregationResult), in <lambda>() 183 aggregation = distanceFormatter.formatUnit(aggregationResult), in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/ |
D | UnitFormatter.kt | 23 fun formatUnit(unit: T): String method
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | SleepSessionFormatterTest.kt | 174 assertThat(formatter.formatUnit(totalSleepTime)).isEqualTo("10h 54m") in formatUnit_showsAmountOfSleep()
|