Home
last modified time | relevance | path

Searched refs:CELSIUS (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DTemperatureDeltaFormatter.kt36 TemperatureUnit.CELSIUS -> R.string.temperatureDelta_celsius in formatSingleDeltaValue()
50 TemperatureUnit.CELSIUS -> R.string.temperatureDelta_average_celsius in formatAverageDeltaValue()
64 TemperatureUnit.CELSIUS -> R.string.temperatureDelta_celsius_long in formatSingleDeltaA11yValue()
78 TemperatureUnit.CELSIUS -> R.string.temperatureDelta_average_celsius_long in formatAverageDeltaA11yValue()
112 TemperatureUnit.CELSIUS -> temperatureDelta in convertTemperatureDelta()
DTemperatureFormatter.kt22 TemperatureUnit.CELSIUS -> R.string.temperature_celsius in formatValue()
44 TemperatureUnit.CELSIUS -> R.string.temperature_celsius_long in formatA11tValue()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DTemperatureData.java103 if (mUnit == MeasureUnit.CELSIUS) { in convertToFahrenheit()
120 mUnit = MeasureUnit.CELSIUS; in convertToCelsius()
131 @NonNull private MeasureUnit mUnit = MeasureUnit.CELSIUS;
155 mUnit = MeasureUnit.CELSIUS; in setValueCelsius()
DTemperatureViewModel.java113 && newVehicleUnit.getValue() != VehicleUnit.CELSIUS) { in handleUnitChange()
121 ? MeasureUnit.FAHRENHEIT : MeasureUnit.CELSIUS; in handleUnitChange()
148 mUnit = MeasureUnit.CELSIUS; in handleValueChange()
152 if (mUnit != MeasureUnit.CELSIUS) { in handleValueChange()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DTemperatureViewModelTest.java77 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.CELSIUS); in setUp()
181 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.CELSIUS); in testHandleUnitChange_changeUnitFromFtoC_dataChanged()
188 assertEquals(MeasureUnit.CELSIUS, in testHandleUnitChange_changeUnitFromFtoC_dataChanged()
196 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.CELSIUS); in testHandleUnitChange_changeUnitFromCtoC_dataSame()
203 assertEquals(MeasureUnit.CELSIUS, in testHandleUnitChange_changeUnitFromCtoC_dataSame()
DTemperatureDataTest.java46 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testBuilder_celsius_objectCreated()
67 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testBuilder_noValue_defaultsToZeroCelsius()
116 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testConversion_celsiusConvertToC_NoOp()
129 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testConversion_fahrenheitPositive_convertsToC()
142 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testBuilder_fahrenheitNegative_convertsToC()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DTemperatureDeltaFormatterTest.kt65 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
101 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
156 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
210 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
DSkinTemperatureFormatterTest.kt99 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
132 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
297 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
321 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
546 TemperatureUnit.CELSIUS -> in isSessionDetailsOverviewCorrect()
DBodyTemperatureFormatterTest.kt66 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
84 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
174 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
DBasalBodyTemperatureFormatterTest.kt66 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
84 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
174 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsMap.java46 protected static final Unit CELSIUS = new Unit(VehicleUnit.CELSIUS, field in UnitsMap
106 map.put(VehicleUnit.CELSIUS, CELSIUS); in createMap()
/packages/services/Car/car-lib/src/android/car/
DVehicleUnit.java112 public static final int CELSIUS = 0x30; field in VehicleUnit
160 CELSIUS,
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitsFragment.kt25 import com.android.healthconnect.controller.dataentries.units.TemperatureUnit.CELSIUS in <lambda>()
127 CELSIUS -> UnitsElement.CELSIUS_BUTTON in <lambda>()
187 TEMPERATURE_UNIT_PREF_KEY -> arrayOf(CELSIUS, FAHRENHEIT, KELVIN) in <lambda>()
DTemperatureConverter.kt30 TemperatureUnit.CELSIUS -> temperatureInCelsius in convertFromCelsius()
DUnitPreferencesStrings.kt35 TemperatureUnit.CELSIUS to R.string.temperature_unit_celsius_label,
DUnitPreferences.kt164 CELSIUS,
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/
DRegionalPreferencesDataUtilsTest.java69 assertEquals(LocalePreferences.TemperatureUnit.CELSIUS, unit); in getDefaultUnicodeExtensionData_hasProviderValue_resultIsCelsius()
81 assertEquals(LocalePreferences.TemperatureUnit.CELSIUS, unit); in getDefaultUnicodeExtensionData_hasDefaultLocaleSubtag_resultIsCelsius()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehicleUnitTest.java61 {VehicleUnit.CELSIUS, android.hardware.automotive.vehicle.VehicleUnit.CELSIUS}, in constantValues()
/packages/apps/Settings/src/com/android/settings/regionalpreferences/
DRegionalPreferencesDataUtils.java92 case LocalePreferences.TemperatureUnit.CELSIUS: in temperatureUnitsConverter()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/
DUnitsTemperaturePreferenceControllerTest.java49 private static final Unit[] AVAILABLE_UNITS = {UnitsMap.CELSIUS, UnitsMap.FAHRENHEIT};
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/
DClockViewFactoryImpl.kt209 LocalePreferences.getTemperatureUnit() == LocalePreferences.TemperatureUnit.CELSIUS in <lambda>()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DHvacControllerTest.java253 when(mCarPropertyValue.getValue()).thenReturn(VehicleUnit.CELSIUS); in hvacPropertyChanged_temperatureUnitChangedToCelsius_allViewsHandleChange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java615 (mTbTempDisplayUnit.isChecked() ? VehicleUnit.FAHRENHEIT : VehicleUnit.CELSIUS); in configureTempDisplayUnit()
/packages/services/Car/car-lib/api/
Dcurrent.txt484 field public static final int CELSIUS = 48; // 0x30
/packages/services/Car/car-lib-module/api/
Dcurrent.txt484 field public static final int CELSIUS = 48; // 0x30

12