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