/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | TemperatureDeltaFormatter.kt | 36 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()
|
D | TemperatureFormatter.kt | 22 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/ |
D | TemperatureData.java | 103 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()
|
D | TemperatureViewModel.java | 113 && 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/ |
D | TemperatureViewModelTest.java | 77 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()
|
D | TemperatureDataTest.java | 46 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/ |
D | TemperatureDeltaFormatterTest.kt | 65 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>()
|
D | SkinTemperatureFormatterTest.kt | 99 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()
|
D | BodyTemperatureFormatterTest.kt | 66 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>() 84 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>() 174 preferences.setTemperatureUnit(TemperatureUnit.CELSIUS) in <lambda>()
|
D | BasalBodyTemperatureFormatterTest.kt | 66 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/ |
D | UnitsMap.java | 46 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/ |
D | VehicleUnit.java | 112 public static final int CELSIUS = 0x30; field in VehicleUnit 160 CELSIUS,
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/ |
D | UnitsFragment.kt | 25 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>()
|
D | TemperatureConverter.kt | 30 TemperatureUnit.CELSIUS -> temperatureInCelsius in convertFromCelsius()
|
D | UnitPreferencesStrings.kt | 35 TemperatureUnit.CELSIUS to R.string.temperature_unit_celsius_label,
|
D | UnitPreferences.kt | 164 CELSIUS,
|
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/ |
D | RegionalPreferencesDataUtilsTest.java | 69 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/ |
D | VehicleUnitTest.java | 61 {VehicleUnit.CELSIUS, android.hardware.automotive.vehicle.VehicleUnit.CELSIUS}, in constantValues()
|
/packages/apps/Settings/src/com/android/settings/regionalpreferences/ |
D | RegionalPreferencesDataUtils.java | 92 case LocalePreferences.TemperatureUnit.CELSIUS: in temperatureUnitsConverter()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/ |
D | UnitsTemperaturePreferenceControllerTest.java | 49 private static final Unit[] AVAILABLE_UNITS = {UnitsMap.CELSIUS, UnitsMap.FAHRENHEIT};
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/ |
D | ClockViewFactoryImpl.kt | 209 LocalePreferences.getTemperatureUnit() == LocalePreferences.TemperatureUnit.CELSIUS in <lambda>()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/ |
D | HvacControllerTest.java | 253 when(mCarPropertyValue.getValue()).thenReturn(VehicleUnit.CELSIUS); in hvacPropertyChanged_temperatureUnitChangedToCelsius_allViewsHandleChange()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/ |
D | HvacTestFragment.java | 615 (mTbTempDisplayUnit.isChecked() ? VehicleUnit.FAHRENHEIT : VehicleUnit.CELSIUS); in configureTempDisplayUnit()
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 484 field public static final int CELSIUS = 48; // 0x30
|
/packages/services/Car/car-lib-module/api/ |
D | current.txt | 484 field public static final int CELSIUS = 48; // 0x30
|