Home
last modified time | relevance | path

Searched refs:convertToFahrenheit (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DAdjustableTemperatureView.java20 import static com.android.systemui.car.hvac.HvacController.convertToFahrenheit;
117 mDisplayInFahrenheit ? convertToFahrenheit(mCurrentTempC) : mCurrentTempC)); in updateUi()
123 convertToFahrenheit(mCurrentTempC) - 1) : (mCurrentTempC - 1); in initializeButtons()
129 convertToFahrenheit(mCurrentTempC) + 1) : (mCurrentTempC + 1); in initializeButtons()
DTemperatureTextView.java19 import static com.android.systemui.car.hvac.HvacController.convertToFahrenheit;
65 temp = convertToFahrenheit(temp); in setTemp()
DAnimatedTemperatureView.java19 import static com.android.systemui.car.hvac.HvacController.convertToFahrenheit;
194 temp = convertToFahrenheit(temp); in setTemp()
DHvacController.java242 public static float convertToFahrenheit(float tempC) { in convertToFahrenheit() method in HvacController
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DAdjustableTemperatureViewTest.java24 import static com.android.systemui.car.hvac.HvacController.convertToFahrenheit;
160 assertEquals(tempText.getText(), String.format(mFormat, convertToFahrenheit(TEMP_CELSIUS))); in setTemperatureToFahrenheit_callsViewSetDisplayInFahrenheit()
215 eq(convertToCelsius(convertToFahrenheit(TEMP_CELSIUS) + 1))); in adjustableViewIncreaseButton_inFahrenheit_setsTempWithCarPropertyManager()
236 eq(convertToCelsius(convertToFahrenheit(TEMP_CELSIUS) - 1))); in adjustableViewDecreaseButton_inFahrenheit_setsTempWithCarPropertyManager()
DTemperatureTextViewTest.java23 import static com.android.systemui.car.hvac.HvacController.convertToFahrenheit;
111 assertEquals(mTextView.getText(), String.format(mFormat, convertToFahrenheit(TEMP))); in setTemperatureToFahrenheit_callsViewSetDisplayInFahrenheit()