Home
last modified time | relevance | path

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

/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DHvacPanelController.java107 private HvacController mHvacController; field in HvacPanelController
198 mHvacController = controller; in updateHvacController()
200 mFanSpeedBarController = new FanSpeedBarController(mFanSpeedBar, mHvacController); in updateHvacController()
202 = new FanDirectionButtonsController(mFanDirectionButtons, mHvacController); in updateHvacController()
204 mDriverTemperature, mHvacController); in updateHvacController()
206 mDriverSeatWarmer, mHvacController); in updateHvacController()
210 mAcButton.setIsOn(mHvacController.getAcState()); in updateHvacController()
214 mHvacController.setAcState(isOn); in updateHvacController()
218 mFrontDefrosterButton.setIsOn(mHvacController.getFrontDefrosterState()); in updateHvacController()
222 mHvacController.setFrontDefrosterState(isOn); in updateHvacController()
[all …]
DTemperatureController.java27 private final HvacController mHvacController; field in TemperatureController
33 mHvacController = controller; in TemperatureController()
35 mHvacController.registerCallback(mCallback); in TemperatureController()
39 mDriverTempBar.setTemperature(mHvacController.getDriverTemperature()); in TemperatureController()
40 mPassengerTempBar.setTemperature(mHvacController.getPassengerTemperature()); in TemperatureController()
59 mHvacController.setPassengerTemperature(temperature);
67 mHvacController.setDriverTemperature(temperature);
DFanSpeedBarController.java29 private final HvacController mHvacController; field in FanSpeedBarController
38 mHvacController = controller; in FanSpeedBarController()
44 mHvacController.registerCallback(mCallback); in initialize()
46 handleFanSpeedUpdate(mHvacController.getFanSpeed(), false /* animateUpdate */); in initialize()
75 mHvacController.setFanSpeed(MAX_FAN_SPEED);
80 mHvacController.setFanSpeed(MIN_FAN_SPEED);
88 mHvacController.setFanSpeed(position + 1);
DSeatWarmerController.java28 private final HvacController mHvacController; field in SeatWarmerController
35 mHvacController = hvacController; in SeatWarmerController()
36 mHvacController.registerCallback(mCallback); in SeatWarmerController()
70 mHvacController.setPassengerSeatWarmerLevel(level);
78 mHvacController.setDriverSeatWarmerLevel(level);
DFanDirectionButtonsController.java33 private final HvacController mHvacController; field in FanDirectionButtonsController
38 mHvacController = controller; in FanDirectionButtonsController()
60 mHvacController.setFanDirection(mFanDirectionMap.get(direction));
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java66 private HvacController mHvacController; field in HvacUiService
191 if(mHvacController != null){ in onDestroy()
199 mHvacController = ((HvacController.LocalBinder) service).getService();
207 mHvacPanelController.updateHvacController(mHvacController);
211 if (mHvacController != null) {
212 mHvacController.requestRefresh(r, new Handler(context.getMainLooper()));
218 mHvacController = null;