Lines Matching defs:value
33 * This preference will store a string into the SharedPreferences. This string will be the value
109 * The array to find the value to save for a preference when an entry from
137 * Sets the value of the key. This should be one of the entries in
140 * @param value The value to set for the key.
142 public void setValue(String value) {
144 final boolean changed = !TextUtils.equals(mValue, value);
146 mValue = value;
148 persistString(value);
159 * value will be substituted in its place.
178 * value will be substituted in its place when it's retrieved.
193 * Sets the value to the given index from the entry values.
195 * @param index The index of the value to set.
204 * Returns the value of the key. This should be one of the entries in
207 * @return The value of the key.
214 * Returns the entry corresponding to the current value.
216 * @return The entry corresponding to the current value, or null.
224 * Returns the index of the given value (in the entry values array).
226 * @param value The value whose index should be returned.
227 * @return The index of the value, or -1 if not found.
229 public int findIndexOfValue(String value) {
230 if (value != null && mEntryValues != null) {
232 if (mEntryValues[i].equals(value)) {
281 String value = mEntryValues[mClickedDialogEntryIndex].toString();
282 if (callChangeListener(value)) {
283 setValue(value);
307 myState.value = getValue();
321 setValue(myState.value);
325 String value;
329 value = source.readString();
335 dest.writeString(value);