Searched refs:desiredState (Results 1 – 6 of 6) sorted by relevance
347 protected abstract void requestStateChange(Context context, boolean desiredState); in requestStateChange() argument376 protected void requestStateChange(Context context, final boolean desiredState) { in requestStateChange() argument395 if (desiredState && ((wifiApState == WifiManager.WIFI_AP_STATE_ENABLING) || in requestStateChange()400 wifiManager.setWifiEnabled(desiredState); in requestStateChange()461 protected void requestStateChange(Context context, final boolean desiredState) { in requestStateChange() argument473 sLocalBluetoothAdapter.setBluetoothEnabled(desiredState); in requestStateChange()549 public void requestStateChange(final Context context, final boolean desiredState) { in requestStateChange() argument617 public void requestStateChange(final Context context, final boolean desiredState) { in requestStateChange() argument626 if (desiredState) { in requestStateChange()
88 public void onSwitchChanged(Switch switchView, boolean desiredState) { in onSwitchChanged() argument91 if (desiredState) { in onSwitchChanged()97 mSwitchBar.setChecked(desiredState); in onSwitchChanged()
97 final boolean desiredState = (Boolean) value; in onPreferenceChange()100 if (desiredState) { in onPreferenceChange()
36 public void onCheckedChanged(CompoundButton buttonView, boolean desiredState) {37 changeIndex(desiredState ? 1 : 0);
67 final boolean desiredState = (Boolean) value; in onPreferenceChange()69 mNsdManager.setEnabled(desiredState); in onPreferenceChange()