Home
last modified time | relevance | path

Searched refs:stateOn (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DTwoStateButtonPreference.java71 final boolean stateOn = v.getId() == R.id.state_on_button; in onClick()
72 setChecked(stateOn); in onClick()
73 callChangeListener(stateOn); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DTwoStateButtonPreference.java71 final boolean stateOn = v.getId() == R.id.state_on_button; in onClick()
72 setChecked(stateOn); in onClick()
73 callChangeListener(stateOn); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/
DBatterySaverButtonPreferenceController.java84 public boolean setChecked(boolean stateOn) { in setChecked() argument
86 return BatterySaverUtils.setPowerSaveMode(mContext, stateOn, in setChecked()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverButtonPreferenceController.java84 public boolean setChecked(boolean stateOn) { in setChecked() argument
86 return BatterySaverUtils.setPowerSaveMode(mContext, stateOn, in setChecked()