Lines Matching refs:value

50          * may be called even if a preference is set to its existing value.
70 * Set a String value in the preferences editor, to be written back once
74 * @param value The new value for the preference. Supplying {@code null}
75 * as the value is equivalent to calling {@link #remove(String)} with
81 Editor putString(String key, String value);
97 * Set an int value in the preferences editor, to be written back once
101 * @param value The new value for the preference.
106 Editor putInt(String key, int value);
109 * Set a long value in the preferences editor, to be written back once
113 * @param value The new value for the preference.
118 Editor putLong(String key, long value);
121 * Set a float value in the preferences editor, to be written back once
125 * @param value The new value for the preference.
130 Editor putFloat(String key, float value);
133 * Set a boolean value in the preferences editor, to be written back
137 * @param value The new value for the preference.
142 Editor putBoolean(String key, boolean value);
145 * Mark in the editor that a preference value should be removed, which
183 * <p>If you don't care about the return value and you're
214 * {@link #apply} if you were already ignoring the return value.
238 * @return Returns a map containing a list of pairs key/value representing
246 * Retrieve a String value from the preferences.
251 * @return Returns the preference value if it exists, or defValue. Throws
278 * Retrieve an int value from the preferences.
283 * @return Returns the preference value if it exists, or defValue. Throws
292 * Retrieve a long value from the preferences.
297 * @return Returns the preference value if it exists, or defValue. Throws
306 * Retrieve a float value from the preferences.
311 * @return Returns the preference value if it exists, or defValue. Throws
320 * Retrieve a boolean value from the preferences.
325 * @return Returns the preference value if it exists, or defValue. Throws