/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | TemperatureDeltaFormatter.kt | 37 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()
|
D | TemperatureFormatter.kt | 23 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/ |
D | TemperatureViewModel.java | 112 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()
|
D | TemperatureData.java | 105 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/ |
D | TemperatureDataTest.java | 57 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()
|
D | TemperatureViewModelTest.java | 164 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/ |
D | TemperatureDeltaFormatterTest.kt | 77 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>()
|
D | SkinTemperatureFormatterTest.kt | 165 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()
|
D | BodyTemperatureFormatterTest.kt | 138 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in <lambda>() 156 preferences.setTemperatureUnit(TemperatureUnit.FAHRENHEIT) in formatA11yValue_fahrenheit()
|
D | BasalBodyTemperatureFormatterTest.kt | 138 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/ |
D | UnitPreferences.kt | 23 import com.android.healthconnect.controller.dataentries.units.TemperatureUnit.FAHRENHEIT 45 @VisibleForTesting val DEFAULT_TEMPERATURE_UNIT = FAHRENHEIT 165 FAHRENHEIT,
|
D | UnitsFragment.kt | 26 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>()
|
D | TemperatureConverter.kt | 31 TemperatureUnit.FAHRENHEIT -> temperatureInCelsius * 1.8 + 32 in convertFromCelsius()
|
D | UnitPreferencesStrings.kt | 34 TemperatureUnit.FAHRENHEIT to R.string.temperature_unit_fahrenheit_label,
|
/packages/apps/Car/Settings/src/com/android/car/settings/units/ |
D | UnitsMap.java | 48 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/ |
D | VehicleUnit.java | 113 public static final int FAHRENHEIT = 0x31; field in VehicleUnit 161 FAHRENHEIT,
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | VehicleUnitTest.java | 62 {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/ |
D | StatusBarSensorInfoManager.java | 160 boolean displayInInFahrenheit = mTemperatureUnit == VehicleUnit.FAHRENHEIT; in updateHvacProperties()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/ |
D | RegionalPreferencesDataUtilsTest.java | 123 LocalePreferences.TemperatureUnit.FAHRENHEIT); in temperatureUnitsConverter_inputFahrenheit_resultIsFahrenheitString()
|
/packages/apps/Settings/src/com/android/settings/regionalpreferences/ |
D | RegionalPreferencesDataUtils.java | 94 case LocalePreferences.TemperatureUnit.FAHRENHEIT: 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/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | HvacController.java | 324 == VehicleUnit.FAHRENHEIT; in registerHvacViews() 403 (Integer) value.getValue() == VehicleUnit.FAHRENHEIT)); in handleHvacPropertyChange()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/ |
D | HvacTestFragment.java | 178 ((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/ |
D | HvacControllerTest.java | 236 when(mCarPropertyValue.getValue()).thenReturn(VehicleUnit.FAHRENHEIT); in hvacPropertyChanged_temperatureUnitChangedToFahrenheit_allViewsHandleChange()
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 485 field public static final int FAHRENHEIT = 49; // 0x31
|