Home
last modified time | relevance | path

Searched refs:mTemperature (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DTemperatureBarOverlay.java82 private int mTemperature = DEFAULT_TEMPERATURE; field in TemperatureBarOverlay
313 int startColor = getTemperatureColor(mTemperature);
315 if (v == mIncreaseButton && mTemperature < MAX_TEMPERATURE) {
316 mTemperature++;
317 Log.d("HvacTempBar", "increased temperature to " + mTemperature);
318 } else if (v == mDecreaseButton && mTemperature > MIN_TEMPERATURE) {
319 mTemperature--;
320 Log.d("HvacTempBar", "decreased temperature to " + mTemperature);
324 int endColor = getTemperatureColor(mTemperature);
328 getContext().getString(R.string.hvac_temperature_template, mTemperature));
[all …]
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DDataStore.java38 private SparseArray<Float> mTemperature = new SparseArray<Float>(); field in DataStore
79 synchronized (mTemperature) { in getTemperature()
80 return mTemperature.get(zone); in getTemperature()
85 synchronized (mTemperature) { in setTemperature()
88 mTemperature.put(zone, temperature); in setTemperature()
96 synchronized (mTemperature) { in shouldPropagateTempUpdate()