Searched refs:getTemperatureUnit (Results 1 – 8 of 8) sorted by relevance
35 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()
21 when (unitPreferences.getTemperatureUnit()) { in formatValue()43 when (unitPreferences.getTemperatureUnit()) { in formatA11tValue()87 temperature.inCelsius, unitPreferences.getTemperatureUnit()) in formatTemperature()
58 result = LocalePreferences.getTemperatureUnit(Locale.forLanguageTag(record), false); in getSummary()62 result = LocalePreferences.getTemperatureUnit(false); in getSummary()
121 fun getTemperatureUnit(): TemperatureUnit { in getTemperatureUnit() method
123 unitsPreferences.getTemperatureUnit().toString()) { newUnit -> in <lambda>()
209 LocalePreferences.getTemperatureUnit() == LocalePreferences.TemperatureUnit.CELSIUS in <lambda>()
207 assertThat(unitPreferences.getTemperatureUnit()).isEqualTo(TemperatureUnit.KELVIN) in unitsScreen_modifiesTemperature_updatesValue()
545 when (preferences.getTemperatureUnit()) { in isSessionDetailsOverviewCorrect()