Home
last modified time | relevance | path

Searched refs:onPropertyChanged (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/toggle/
DHvacIntegerToggleButtonTest.java104 mDefaultButton.onPropertyChanged(mHvacPowerProperty); in onClickDefaultButton_powerOn_autoOff_currentValueFalse_setsValueToTrue()
106 mDefaultButton.onPropertyChanged(mHvacAutoProperty); in onClickDefaultButton_powerOn_autoOff_currentValueFalse_setsValueToTrue()
108 mDefaultButton.onPropertyChanged(mCarPropertyValue); in onClickDefaultButton_powerOn_autoOff_currentValueFalse_setsValueToTrue()
118 mDefaultButton.onPropertyChanged(mHvacPowerProperty); in onClickDefaultButton_powerOn_autoOff_currentValueTrue_setsValueToFalse()
120 mDefaultButton.onPropertyChanged(mHvacAutoProperty); in onClickDefaultButton_powerOn_autoOff_currentValueTrue_setsValueToFalse()
122 mDefaultButton.onPropertyChanged(mCarPropertyValue); in onClickDefaultButton_powerOn_autoOff_currentValueTrue_setsValueToFalse()
132 mDefaultButton.onPropertyChanged(mHvacPowerProperty); in onClickDefaultButton_powerOff_autoOff_currentValueFalse_doesNotSetNewValue()
134 mDefaultButton.onPropertyChanged(mHvacAutoProperty); in onClickDefaultButton_powerOff_autoOff_currentValueFalse_doesNotSetNewValue()
136 mDefaultButton.onPropertyChanged(mCarPropertyValue); in onClickDefaultButton_powerOff_autoOff_currentValueFalse_doesNotSetNewValue()
147 mDefaultButton.onPropertyChanged(mHvacPowerProperty); in onClickDefaultButton_powerOff_autoOff_currentValueTrue_doesNotSetNewValue()
[all …]
DHvacBooleanToggleButtonTest.java96 mDefaultButton.onPropertyChanged(mHvacPowerProperty); in onClickDefaultButton_powerOn_autoOff_currentValueFalse_setsValueToTrue()
98 mDefaultButton.onPropertyChanged(mHvacAutoProperty); in onClickDefaultButton_powerOn_autoOff_currentValueFalse_setsValueToTrue()
100 mDefaultButton.onPropertyChanged(mCarPropertyValue); in onClickDefaultButton_powerOn_autoOff_currentValueFalse_setsValueToTrue()
110 mDefaultButton.onPropertyChanged(mHvacPowerProperty); in onClickDefaultButton_powerOn_autoOff_currentValueTrue_setsValueToFalse()
112 mDefaultButton.onPropertyChanged(mHvacAutoProperty); in onClickDefaultButton_powerOn_autoOff_currentValueTrue_setsValueToFalse()
114 mDefaultButton.onPropertyChanged(mCarPropertyValue); in onClickDefaultButton_powerOn_autoOff_currentValueTrue_setsValueToFalse()
124 mDefaultButton.onPropertyChanged(mHvacPowerProperty); in onClickDefaultButton_powerOff_autoOff_currentValueFalse_doesNotSetNewValue()
126 mDefaultButton.onPropertyChanged(mHvacAutoProperty); in onClickDefaultButton_powerOff_autoOff_currentValueFalse_doesNotSetNewValue()
128 mDefaultButton.onPropertyChanged(mCarPropertyValue); in onClickDefaultButton_powerOff_autoOff_currentValueFalse_doesNotSetNewValue()
139 mDefaultButton.onPropertyChanged(mHvacPowerProperty); in onClickDefaultButton_powerOff_autoOff_currentValueTrue_doesNotSetNewValue()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DFanDirectionButtonTest.java98 mFanDirectionButtons.onPropertyChanged(mHvacPowerProperty); in onPropertyChanged_fanDirectionFace_faceDirectionButtonSelected()
100 mFanDirectionButtons.onPropertyChanged(mHvacAutoProperty); in onPropertyChanged_fanDirectionFace_faceDirectionButtonSelected()
103 mFanDirectionButtons.onPropertyChanged(mCarPropertyValue); in onPropertyChanged_fanDirectionFace_faceDirectionButtonSelected()
112 mFanDirectionButtons.onPropertyChanged(mHvacPowerProperty); in onPropertyChanged_fanDirectionFace_otherButtonsUnselected()
114 mFanDirectionButtons.onPropertyChanged(mHvacAutoProperty); in onPropertyChanged_fanDirectionFace_otherButtonsUnselected()
117 mFanDirectionButtons.onPropertyChanged(mCarPropertyValue); in onPropertyChanged_fanDirectionFace_otherButtonsUnselected()
128 mFanDirectionButtons.onPropertyChanged(mHvacPowerProperty); in onPropertyChanged_fanDirectionFaceAndFloor_faceAndFloorDirectionButtonSelected()
130 mFanDirectionButtons.onPropertyChanged(mHvacAutoProperty); in onPropertyChanged_fanDirectionFaceAndFloor_faceAndFloorDirectionButtonSelected()
133 mFanDirectionButtons.onPropertyChanged(mCarPropertyValue); in onPropertyChanged_fanDirectionFaceAndFloor_faceAndFloorDirectionButtonSelected()
142 mFanDirectionButtons.onPropertyChanged(mHvacPowerProperty); in onPropertyChanged_fanDirectionFaceAndFloor_otherButtonsUnselected()
[all …]
DFanSpeedBarTest.java89 mFanSpeedBar.onPropertyChanged(mHvacPowerProperty); in onClickOffButton_allowsControl_setsFanSpeedToMin()
91 mFanSpeedBar.onPropertyChanged(mHvacAutoProperty); in onClickOffButton_allowsControl_setsFanSpeedToMin()
101 mFanSpeedBar.onPropertyChanged(mHvacPowerProperty); in onClickSpeedOneButton_allowsControl_setsFanSpeedToTwo()
103 mFanSpeedBar.onPropertyChanged(mHvacAutoProperty); in onClickSpeedOneButton_allowsControl_setsFanSpeedToTwo()
113 mFanSpeedBar.onPropertyChanged(mHvacPowerProperty); in onClickSpeedTwoButton_allowsControl_setsFanSpeedToThree()
115 mFanSpeedBar.onPropertyChanged(mHvacAutoProperty); in onClickSpeedTwoButton_allowsControl_setsFanSpeedToThree()
125 mFanSpeedBar.onPropertyChanged(mHvacPowerProperty); in onClickSpeedThreeButton_allowsControl_setsFanSpeedToFour()
127 mFanSpeedBar.onPropertyChanged(mHvacAutoProperty); in onClickSpeedThreeButton_allowsControl_setsFanSpeedToFour()
137 mFanSpeedBar.onPropertyChanged(mHvacPowerProperty); in onClickSpeedFourButton_allowsControl_setsFanSpeedToFive()
139 mFanSpeedBar.onPropertyChanged(mHvacAutoProperty); in onClickSpeedFourButton_allowsControl_setsFanSpeedToFive()
[all …]
DTemperatureControlViewTest.java98 mTemperatureControlView.onPropertyChanged(mHvacPowerProperty); in onPropertyChanged_inCelsius_displaysSetTemperatureInCelsius()
99 mTemperatureControlView.onPropertyChanged(mCarPropertyValue); in onPropertyChanged_inCelsius_displaysSetTemperatureInCelsius()
109 mTemperatureControlView.onPropertyChanged(mHvacPowerProperty); in onPropertyChanged_inFahrenheit_displaysSetTemperatureInFahrenheit()
110 mTemperatureControlView.onPropertyChanged(mCarPropertyValue); in onPropertyChanged_inFahrenheit_displaysSetTemperatureInFahrenheit()
121 mTemperatureControlView.onPropertyChanged(mHvacPowerProperty); in onHoldIncreaseButtonDown_inCelsius_increasesThreeDegreesCelsius()
124 mTemperatureControlView.onPropertyChanged(mCarPropertyValue); in onHoldIncreaseButtonDown_inCelsius_increasesThreeDegreesCelsius()
142 mTemperatureControlView.onPropertyChanged(mHvacPowerProperty); in onHoldDecreaseButtonDown_inCelsius_decreasesThreeDegreesCelsius()
145 mTemperatureControlView.onPropertyChanged(mCarPropertyValue); in onHoldDecreaseButtonDown_inCelsius_decreasesThreeDegreesCelsius()
163 mTemperatureControlView.onPropertyChanged(mHvacPowerProperty); in onHoldIncreaseButtonDown_inFahrenheit_increasesThreeDegreesFahrenheit()
166 mTemperatureControlView.onPropertyChanged(mCarPropertyValue); in onHoldIncreaseButtonDown_inFahrenheit_increasesThreeDegreesFahrenheit()
[all …]
DSeatTemperatureLevelButtonTest.java79 mSeatTemperatureLevelButton.onPropertyChanged(mCarPropertyValue); in onClick_currentLevelZero_setsHeatLevelToOne()
89 mSeatTemperatureLevelButton.onPropertyChanged(mCarPropertyValue); in onClick_currentLevelOne_setsHeatLevelToTwo()
99 mSeatTemperatureLevelButton.onPropertyChanged(mCarPropertyValue); in onClick_currentLevelTwo_setsHeatLevelToThree()
109 mSeatTemperatureLevelButton.onPropertyChanged(mCarPropertyValue); in onClick_currentLevelThree_setsHeatLevelToZero()
119 mSeatTemperatureLevelButton.onPropertyChanged(mCarPropertyValue); in onLongClick_currentLevelZero_setsHeatLevelToThree()
129 mSeatTemperatureLevelButton.onPropertyChanged(mCarPropertyValue); in onLongClick_currentLevelOne_setsHeatLevelToZero()
139 mSeatTemperatureLevelButton.onPropertyChanged(mCarPropertyValue); in onLongClick_currentLevelTwo_setsHeatLevelToZero()
149 mSeatTemperatureLevelButton.onPropertyChanged(mCarPropertyValue); in onLongClick_currentLevelThree_setsHeatLevelToZero()
DHvacControllerTest.java138 verify(mTestHvacView1, never()).onPropertyChanged(mCarPropertyValue); in registerHvacView_skipHvacPropertiesToGetOnInit()
165 verify(mTestHvacView1, times(3)).onPropertyChanged(mCarPropertyValue); in registerHvacView_retrieveHvacPropertiesToGetOnInit()
197 verify(mTestHvacView1).onPropertyChanged(mCarPropertyValue); in hvacPropertyChanged_subscribingViewRegistered_viewHandleChange()
209 verify(mTestHvacView2, never()).onPropertyChanged(mCarPropertyValue); in hvacPropertyChanged_subscribingViewRegistered_notSubscribingViewDoesNotHandle()
221 verify(mTestHvacView2).onPropertyChanged(mCarPropertyValue); in hvacPropertyChanged_subscribingViewRegistered_viewWithGlobalPropDoesHandle()
313 public void onPropertyChanged(CarPropertyValue value) { in onPropertyChanged() method in HvacControllerTest.TestHvacView
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/custom/
DFanDirectionButton.java63 public void onPropertyChanged(CarPropertyValue value) { in onPropertyChanged() method in FanDirectionButton
70 super.onPropertyChanged(value); in onPropertyChanged()
DFanSpeedSeekBar.java185 public void onPropertyChanged(CarPropertyValue value) { in onPropertyChanged() method in FanSpeedSeekBar
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacController.java320 hvacView.onPropertyChanged(initValueOrNull); in registerHvacViews()
344 hvacView.onPropertyChanged(propToGetOnInitValueOrNull); in registerHvacViews()
416 views.forEach(v -> v.onPropertyChanged(value)); in handleHvacPropertyChange()
427 views.forEach(v -> v.onPropertyChanged(value)); in handleHvacPropertyChange()
DHvacView.java52 void onPropertyChanged(CarPropertyValue value); in onPropertyChanged() method
DSeatTemperatureLevelButton.java117 public void onPropertyChanged(CarPropertyValue value) { in onPropertyChanged() method in SeatTemperatureLevelButton
DTemperatureControlView.java110 public void onPropertyChanged(CarPropertyValue value) { in onPropertyChanged() method in TemperatureControlView
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/toggle/
DHvacToggleButton.java149 public void onPropertyChanged(CarPropertyValue value) { in onPropertyChanged() method in HvacToggleButton
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/referenceui/
DFanDirectionButtons.java137 public void onPropertyChanged(CarPropertyValue value) { in onPropertyChanged() method in FanDirectionButtons
DFanSpeedBar.java126 public void onPropertyChanged(CarPropertyValue value) { in onPropertyChanged() method in FanSpeedBar
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/
DCarUiPortraitTemperatureControlView.java111 public void onPropertyChanged(CarPropertyValue value) { in onPropertyChanged() method in CarUiPortraitTemperatureControlView