Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DTemperatureDeltaFormatter.kt35 when (unitPreferences.getTemperatureUnit()) { in formatSingleDeltaValue()
49 when (unitPreferences.getTemperatureUnit()) { in formatAverageDeltaValue()
63 when (unitPreferences.getTemperatureUnit()) { in formatSingleDeltaA11yValue()
77 when (unitPreferences.getTemperatureUnit()) { in formatAverageDeltaA11yValue()
95 temperatureDelta.inCelsius, unitPreferences.getTemperatureUnit()) * 10) / 10 in formatTemperatureDelta()
DTemperatureFormatter.kt21 when (unitPreferences.getTemperatureUnit()) { in formatValue()
43 when (unitPreferences.getTemperatureUnit()) { in formatA11tValue()
87 temperature.inCelsius, unitPreferences.getTemperatureUnit()) in formatTemperature()
/packages/apps/Settings/src/com/android/settings/regionalpreferences/
DTemperatureUnitController.java58 result = LocalePreferences.getTemperatureUnit(Locale.forLanguageTag(record), false); in getSummary()
62 result = LocalePreferences.getTemperatureUnit(false); in getSummary()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitPreferences.kt121 fun getTemperatureUnit(): TemperatureUnit { in getTemperatureUnit() method
DUnitsFragment.kt123 unitsPreferences.getTemperatureUnit().toString()) { newUnit -> in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/
DClockViewFactoryImpl.kt209 LocalePreferences.getTemperatureUnit() == LocalePreferences.TemperatureUnit.CELSIUS in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/units/
DUnitsFragmentTest.kt207 assertThat(unitPreferences.getTemperatureUnit()).isEqualTo(TemperatureUnit.KELVIN) in unitsScreen_modifiesTemperature_updatesValue()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DSkinTemperatureFormatterTest.kt545 when (preferences.getTemperatureUnit()) { in isSessionDetailsOverviewCorrect()