Lines Matching refs:defValue
248 * @param defValue Value to return if this preference does not exist.
250 * @return Returns the preference value if it exists, or defValue. Throws
257 String getString(String key, @Nullable String defValue);
282 * @param defValue Value to return if this preference does not exist.
284 * @return Returns the preference value if it exists, or defValue. Throws
290 int getInt(String key, int defValue);
296 * @param defValue Value to return if this preference does not exist.
298 * @return Returns the preference value if it exists, or defValue. Throws
304 long getLong(String key, long defValue);
310 * @param defValue Value to return if this preference does not exist.
312 * @return Returns the preference value if it exists, or defValue. Throws
318 float getFloat(String key, float defValue);
324 * @param defValue Value to return if this preference does not exist.
326 * @return Returns the preference value if it exists, or defValue. Throws
332 boolean getBoolean(String key, boolean defValue);