Lines Matching refs:preference

17 package android.support.v7.preference;
55 * store/retrieve the preference data.
57 * When specifying a preference hierarchy in XML, each element can point to a
156 private int mLayoutResId = R.layout.preference;
186 * @param preference The changed Preference.
190 boolean onPreferenceChange(Preference preference, Object newValue);
201 * @param preference The Preference that was clicked.
204 boolean onPreferenceClick(Preference preference);
216 * @param preference This preference.
218 void onPreferenceChange(Preference preference);
223 * @param preference This Preference.
225 void onPreferenceHierarchyChange(Preference preference);
228 * Called when this preference has changed its visibility.
230 * @param preference This Preference.
232 void onPreferenceVisibilityChange(Preference preference);
241 * <var>defStyleAttr</var>. This allows the theme's checkbox preference
242 * style to modify all of the base preference attributes as well as the
249 * preference.
284 R.styleable.Preference_android_layout, R.layout.preference);
335 * <var>defStyleAttr</var>. This allows the theme's checkbox preference
336 * style to modify all of the base preference attributes as well as the
343 * preference.
364 * preference.
392 * @return The default value of this preference type.
439 * <p>The data store will remain assigned even if the Preference is moved around the preference
455 * preference to use the {@link PreferenceDataStore} you need to assign your implementation
474 * Return the extras Bundle object associated with this preference, creating
486 * Return the extras Bundle object associated with this preference,
503 * It is an error to change the layout after adding the preference to a {@link PreferenceGroup}
528 * It is an error to change the layout after adding the preference to a {@link PreferenceGroup}
680 * preference, once bound.
776 * @param summary The summary for the preference.
851 * @param shouldDisableView Set true if this preference should disable its view
852 * when the preference is disabled.
869 * Sets whether this preference should be visible in the list. If false, it is excluded from
873 * @param visible Set false if this preference should be hidden from the list.
885 * Checks whether this preference should be visible to the user in the list.
887 * @return True if this preference should be displayed.
904 * Processes a click on the preference. This includes saving the value to
907 * update the preference's state with the new value.
916 * @param key The key for the preference.
1007 * Gets whether the title of this preference is constrained to a single line.
1010 * @return {@code true} if the title of this preference is constrained to a single line
1020 * set to true, the preference will be offset as if it would have the icon and thus aligned with
1033 * Returns whether the space of this preference icon view is reserved.
1036 * @return {@code true} if the space of this preference icon view is reserved
1045 * Call this method after the user changes the preference, but before the
1049 * @return True if the user value should be set as the preference
1156 * preference is not attached to a Preference hierarchy or if a
1267 * @param parentGroup Parent preference group of this Preference or null if none.
1280 // At this point, the hierarchy that this preference is in is connected
1298 * preference was removed, modified, and re-added to a {@link PreferenceGroup}
1317 Preference preference = findPreferenceInHierarchy(mDependencyKey);
1318 if (preference != null) {
1319 preference.registerDependent(this);
1322 + "\" not found for preference \"" + mKey + "\" (title: \"" + mTitle + "\"");
1439 * Checks whether this preference's dependents should currently be
1475 * preference is not assigned to any group or is a root Preference.
1495 * persistence is off or persistence is on and the preference is not found
1890 * preference. By default, this is the title and summary