Home
last modified time | relevance | path

Searched refs:convertToCelsius (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DAdjustableTemperatureView.java19 import static com.android.systemui.car.hvac.HvacController.convertToCelsius;
122 float newTemp = mDisplayInFahrenheit ? convertToCelsius( in initializeButtons()
128 float newTemp = mDisplayInFahrenheit ? convertToCelsius( in initializeButtons()
DHvacController.java252 public static float convertToCelsius(float tempF) { in convertToCelsius() method in HvacController
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DAdjustableTemperatureViewTest.java23 import static com.android.systemui.car.hvac.HvacController.convertToCelsius;
215 eq(convertToCelsius(convertToFahrenheit(TEMP_CELSIUS) + 1))); in adjustableViewIncreaseButton_inFahrenheit_setsTempWithCarPropertyManager()
236 eq(convertToCelsius(convertToFahrenheit(TEMP_CELSIUS) - 1))); in adjustableViewDecreaseButton_inFahrenheit_setsTempWithCarPropertyManager()