Home
last modified time | relevance | path

Searched refs:FAHRENHEIT (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DTemperatureDeltaFormatter.kt37 TemperatureUnit.FAHRENHEIT -> R.string.temperatureDelta_fahrenheit in formatSingleDeltaValue()
51 TemperatureUnit.FAHRENHEIT -> R.string.temperatureDelta_average_fahrenheit in formatAverageDeltaValue()
65 TemperatureUnit.FAHRENHEIT -> R.string.temperatureDelta_fahrenheit_long in formatSingleDeltaA11yValue()
79 TemperatureUnit.FAHRENHEIT -> R.string.temperatureDelta_average_fahrenheit_long in formatAverageDeltaA11yValue()
113 TemperatureUnit.FAHRENHEIT -> temperatureDelta * 1.8 in convertTemperatureDelta()
DTemperatureFormatter.kt23 TemperatureUnit.FAHRENHEIT -> R.string.temperature_fahrenheit in formatValue()
45 TemperatureUnit.FAHRENHEIT -> R.string.temperature_fahrenheit_long in formatA11tValue()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DTemperatureViewModel.java112 if (newVehicleUnit.getValue() != VehicleUnit.FAHRENHEIT in handleUnitChange()
120 newVehicleUnit.getValue() == VehicleUnit.FAHRENHEIT in handleUnitChange()
121 ? MeasureUnit.FAHRENHEIT : MeasureUnit.CELSIUS; in handleUnitChange()
129 if (mUnit == MeasureUnit.FAHRENHEIT) { in handleUnitChange()
DTemperatureData.java105 mUnit = MeasureUnit.FAHRENHEIT; in convertToFahrenheit()
118 if (mUnit == MeasureUnit.FAHRENHEIT) { in convertToCelsius()
161 mUnit = MeasureUnit.FAHRENHEIT; in setValueFahrenheit()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DTemperatureDataTest.java57 assertEquals(MeasureUnit.FAHRENHEIT, temp.getUnit()); in testBuilder_fahrenheit_objectCreated()
79 assertEquals(MeasureUnit.FAHRENHEIT, temp.getUnit()); in testConversion_celsiusDecimalPositive_convertsToF()
91 assertEquals(temp.getUnit(), MeasureUnit.FAHRENHEIT); in testConversion_celsiusRoundPositive_convertsToF()
104 assertEquals(MeasureUnit.FAHRENHEIT, temp.getUnit()); in testConversion_celsiusNegative_convertsToF()
154 assertEquals(MeasureUnit.FAHRENHEIT, temp.getUnit()); in testBuilder_fahrenheit_convertsToFNoOp()
DTemperatureViewModelTest.java164 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.FAHRENHEIT); in testHandleUnitChange_changeUnitFromCtoF_dataChanged()
171 assertEquals(MeasureUnit.FAHRENHEIT, in testHandleUnitChange_changeUnitFromCtoF_dataChanged()
177 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.FAHRENHEIT); in testHandleUnitChange_changeUnitFromFtoC_dataChanged()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DTemperatureDeltaFormatterTest.kt77 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in <lambda>()
119 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in <lambda>()
174 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in <lambda>()
228 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in <lambda>()
DSkinTemperatureFormatterTest.kt165 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in getRecord_singleDeltaInFahrenheit_formattedCorrectly()
198 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in getRecord_multipleDeltaInFahrenheit_formattedCorrectly()
361 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in <lambda>()
385 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in getRecordDetails_multipleDeltaInFahrenheit_formattedCorrectly()
549 TemperatureUnit.FAHRENHEIT -> in isSessionDetailsOverviewCorrect()
DBodyTemperatureFormatterTest.kt138 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in <lambda>()
156 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in formatA11yValue_fahrenheit()
DBasalBodyTemperatureFormatterTest.kt138 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in <lambda>()
156 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in formatA11yValue_fahrenheit()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitPreferences.kt23 import com.android.healthconnect.controller.dataentries.units.TemperatureUnit.FAHRENHEIT
45 @VisibleForTesting val DEFAULT_TEMPERATURE_UNIT = FAHRENHEIT
165 FAHRENHEIT,
DUnitsFragment.kt26 import com.android.healthconnect.controller.dataentries.units.TemperatureUnit.FAHRENHEIT in <lambda>()
128 FAHRENHEIT -> UnitsElement.FAHRENHEIT_BUTTON in <lambda>()
187 TEMPERATURE_UNIT_PREF_KEY -> arrayOf(CELSIUS, FAHRENHEIT, KELVIN) in <lambda>()
DTemperatureConverter.kt31 TemperatureUnit.FAHRENHEIT -> temperatureInCelsius * 1.8 + 32 in convertFromCelsius()
DUnitPreferencesStrings.kt34 TemperatureUnit.FAHRENHEIT to R.string.temperature_unit_fahrenheit_label,
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsMap.java48 protected static final Unit FAHRENHEIT = new Unit(VehicleUnit.FAHRENHEIT, field in UnitsMap
107 map.put(VehicleUnit.FAHRENHEIT, FAHRENHEIT); in createMap()
/packages/services/Car/car-lib/src/android/car/
DVehicleUnit.java113 public static final int FAHRENHEIT = 0x31; field in VehicleUnit
161 FAHRENHEIT,
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehicleUnitTest.java62 {VehicleUnit.FAHRENHEIT, in constantValues()
63 android.hardware.automotive.vehicle.VehicleUnit.FAHRENHEIT}, in constantValues()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/statusicon/ui/
DStatusBarSensorInfoManager.java160 boolean displayInInFahrenheit = mTemperatureUnit == VehicleUnit.FAHRENHEIT; in updateHvacProperties()
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/
DRegionalPreferencesDataUtilsTest.java123 LocalePreferences.TemperatureUnit.FAHRENHEIT); in temperatureUnitsConverter_inputFahrenheit_resultIsFahrenheitString()
/packages/apps/Settings/src/com/android/settings/regionalpreferences/
DRegionalPreferencesDataUtils.java94 case LocalePreferences.TemperatureUnit.FAHRENHEIT: 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/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacController.java324 == VehicleUnit.FAHRENHEIT; in registerHvacViews()
403 (Integer) value.getValue() == VehicleUnit.FAHRENHEIT)); in handleHvacPropertyChange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java178 ((Integer) value.getValue()).equals(VehicleUnit.FAHRENHEIT));
615 (mTbTempDisplayUnit.isChecked() ? VehicleUnit.FAHRENHEIT : VehicleUnit.CELSIUS); in configureTempDisplayUnit()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DHvacControllerTest.java236 when(mCarPropertyValue.getValue()).thenReturn(VehicleUnit.FAHRENHEIT); in hvacPropertyChanged_temperatureUnitChangedToFahrenheit_allViewsHandleChange()
/packages/services/Car/car-lib/api/
Dcurrent.txt485 field public static final int FAHRENHEIT = 49; // 0x31

12