Lines Matching defs:value
48 * @param value the string value of the setting
49 * @return whether to continue with writing the value to the database. In
51 * and in some cases the property value needs to be modified before setting.
53 public boolean restoreValue(String name, String value) {
55 setBrightness(Integer.parseInt(value));
57 setSoundEffects(Integer.parseInt(value) == 1);
59 setGpsLocation(value);
62 setAutoRestore(Integer.parseInt(value) == 1);
98 private void setGpsLocation(String value) {
101 GPS.equals(value) ||
102 value.startsWith(GPS + ",") ||
103 value.endsWith("," + GPS) ||
104 value.contains("," + GPS + ",");