/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/ |
D | HvacPanelController.java | 240 public void onToggled(boolean isOn) { in updateHvacController() 241 mHvacController.setAcState(isOn); in updateHvacController() 248 public void onToggled(boolean isOn) { in updateHvacController() 249 mHvacController.setFrontDefrosterState(isOn); in updateHvacController() 256 public void onToggled(boolean isOn) { in updateHvacController() 257 mHvacController.setRearDefrosterState(isOn); in updateHvacController() 264 public void onToggled(boolean isOn) { in updateHvacController() 265 mHvacController.setAirCirculation(isOn); in updateHvacController() 272 mHvacPowerSwitch.setToggleListener(isOn -> mHvacController.setHvacPowerState(isOn)); in updateHvacController() 281 public void onAirCirculationChange(boolean isOn) { [all …]
|
D | TemperatureController.java | 94 public void onHvacPowerChange(boolean isOn) { 95 mDriverTempBarExpanded.setAvailable(isOn); 96 mDriverTempBarCollapsed.setAvailable(isOn); 97 mPassengerTempBarExpanded.setAvailable(isOn); 98 mPassengerTempBarCollapsed.setAvailable(isOn);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverStickyPreferenceControllerTest.java | 53 final int isOn = getAutoDisableSetting(); in testOnPreferenceChange_turnOnAutoOff_autoDisableOn() local 54 assertThat(isOn).isEqualTo(1); in testOnPreferenceChange_turnOnAutoOff_autoDisableOn() 60 final int isOn = getAutoDisableSetting(); in testOnPreferenceChange_TurnOffAutoOff_autoDisableOff() local 61 assertThat(isOn).isEqualTo(0); in testOnPreferenceChange_TurnOffAutoOff_autoDisableOff()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BatteryPercentagePreferenceControllerTest.java | 53 final int isOn = getPercentageSetting(); in testOnPreferenceChange_TurnOnPercentage_PercentageOn() local 54 assertThat(isOn).isEqualTo(1); in testOnPreferenceChange_TurnOnPercentage_PercentageOn() 60 final int isOn = getPercentageSetting(); in testOnPreferenceChange_TurnOffPercentage_PercentageOff() local 61 assertThat(isOn).isEqualTo(0); in testOnPreferenceChange_TurnOffPercentage_PercentageOff()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacController.java | 71 public void onAcStateChange(boolean isOn) { in onAcStateChange() argument 74 public void onFrontDefrosterChange(boolean isOn) { in onFrontDefrosterChange() argument 77 public void onRearDefrosterChange(boolean isOn) { in onRearDefrosterChange() argument 89 public void onAirCirculationChange(boolean isOn) { in onAirCirculationChange() argument 92 public void onAutoModeChange(boolean isOn) { in onAutoModeChange() argument 95 public void onHvacPowerChange(boolean isOn) { in onHvacPowerChange() argument 245 void handleHvacPowerOn(boolean isOn) { in handleHvacPowerOn() argument 246 boolean shouldPropagate = mDataStore.shouldPropagateHvacPowerUpdate(isOn); in handleHvacPowerOn() 248 Log.d(TAG, "Hvac Power On: " + isOn + " should propagate: " + shouldPropagate); in handleHvacPowerOn() 253 mCallbacks.get(i).onHvacPowerChange(isOn); in handleHvacPowerOn()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | MultiStateCallback.java | 93 boolean isOn = (state & mState) == state; in notifyStateChangeHandlers() 95 if (wasOn != isOn) { in notifyStateChangeHandlers() 96 mStateChangeHandlers.valueAt(i).accept(isOn); in notifyStateChangeHandlers()
|
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
D | PseudoScreenState.java | 39 void onPseudoScreenStateChanged(boolean isOn); in onPseudoScreenStateChanged() argument 46 public boolean isOn() { in isOn() method in PseudoScreenState
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | DisplayInterface.java | 149 boolean isOn = isMainDisplayOn(); in handleMainDisplayChanged() 152 if (mDisplayStateSet == isOn) { // same as what is set in handleMainDisplayChanged() 157 service.handleMainDisplayChanged(isOn); in handleMainDisplayChanged()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/ |
D | FanSpeedBarSegment.java | 90 public void setTurnedOn(boolean isOn) { in setTurnedOn() argument 91 mTurnedOn = isOn; in setTurnedOn()
|
D | TemperatureBarOverlay.java | 371 public void setIsOn(boolean isOn) { in setIsOn() argument 373 mIsOn = isOn; in setIsOn()
|
D | ToggleButton.java | 32 void onToggled(boolean isOn); in onToggled() argument
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/bluetooth/ |
D | BluetoothMonitor.java | 316 private boolean isOn(int input, int position) { in isOn() method in BluetoothMonitor.BluetoothSdpReceiver 326 && isOn(features, REPLY_FEATURE_FLAG_POSITION); in supportsReply()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | InCallActivity.java | 500 onPseudoScreenStateChanged(pseudoScreenState.isOn()); in onResume() 1666 public void onPseudoScreenStateChanged(boolean isOn) { in onPseudoScreenStateChanged() argument 1667 LogUtil.i("InCallActivity.onPseudoScreenStateChanged", "isOn: " + isOn); in onPseudoScreenStateChanged() 1668 pseudoBlackScreenOverlay.setVisibility(isOn ? View.GONE : View.VISIBLE); in onPseudoScreenStateChanged() 1687 if (!InCallPresenter.getInstance().getPseudoScreenState().isOn()) { in dispatchTouchEvent()
|
/packages/apps/Nfc/nci/jni/ |
D | PeerToPeer.h | 334 void handleNfcOnOff(bool isOn);
|
D | PeerToPeer.cpp | 1157 void PeerToPeer::handleNfcOnOff(bool isOn) { in handleNfcOnOff() argument 1160 << StringPrintf("%s: enter; is on=%u", fn, isOn); in handleNfcOnOff() 1165 if (isOn) { in handleNfcOnOff()
|