Searched refs:VALUE_ON (Results 1 – 6 of 6) sorted by relevance
55 private static final String VALUE_ON = "1"; field in EditPhoneNumberPreference409 shouldDisable = inValues[0].equals(VALUE_ON); in shouldDisableDependents()482 setToggled(inValues[0].equals(VALUE_ON)); in setValueFromString()488 return ((isToggled() ? VALUE_ON : VALUE_OFF) + VALUE_SEPARATOR + getPhoneNumber()); in getStringValue()
33 public static final String VALUE_ON = "on"; field in RecordLocationPreference45 return get(getSharedPreferences(), mResolver) ? VALUE_ON : VALUE_OFF; in getValue()51 return VALUE_ON.equals(value); in get()
337 ? RecordLocationPreference.VALUE_ON in upgradeGlobalPreferences()
31 public static final String VALUE_ON = "on"; field in RecordLocationPreference43 return get(getSharedPreferences(), mResolver) ? VALUE_ON : VALUE_OFF; in getValue()50 return VALUE_ON.equals(value); in get()
398 ? RecordLocationPreference.VALUE_ON in upgradeOldVersion()
524 setLocationPreference(RecordLocationPreference.VALUE_ON); in locationFirstRun()