Lines Matching defs:key
218 * Finds a {@link Preference} based on its key. If two {@link Preference}
219 * share the same key (not recommended), the first to appear will be
220 * returned (to retrieve the other preference with the same key, call this
221 * method on the first preference). If this preference has the key, it will
227 * @param key The key of the preference to retrieve.
228 * @return The {@link Preference} with the key, or null.
230 public Preference findPreference(CharSequence key) {
231 if (TextUtils.equals(getKey(), key)) {
239 if (curKey != null && curKey.equals(key)) {
245 .findPreference(key);