Lines Matching refs:key

56          * @param key The key of the preference that was changed, added, or
59 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key);
73 * @param key The name of the preference to modify.
79 Editor putString(String key, String value);
85 * @param key The name of the preference to modify.
90 Editor putStringSet(String key, Set<String> values);
96 * @param key The name of the preference to modify.
102 Editor putInt(String key, int value);
108 * @param key The name of the preference to modify.
114 Editor putLong(String key, long value);
120 * @param key The name of the preference to modify.
126 Editor putFloat(String key, float value);
132 * @param key The name of the preference to modify.
138 Editor putBoolean(String key, boolean value);
149 * @param key The name of the preference to remove.
154 Editor remove(String key);
234 * @return Returns a map containing a list of pairs key/value representing
244 * @param key The name of the preference to retrieve.
253 String getString(String key, String defValue);
262 * @param key The name of the preference to retrieve.
271 Set<String> getStringSet(String key, Set<String> defValues);
276 * @param key The name of the preference to retrieve.
285 int getInt(String key, int defValue);
290 * @param key The name of the preference to retrieve.
299 long getLong(String key, long defValue);
304 * @param key The name of the preference to retrieve.
313 float getFloat(String key, float defValue);
318 * @param key The name of the preference to retrieve.
327 boolean getBoolean(String key, boolean defValue);
332 * @param key The name of the preference to check.
336 boolean contains(String key);