Lines Matching full:preference
30 import android.preference.CheckBoxPreference;
31 import android.preference.Preference;
32 import android.preference.PreferenceActivity;
33 import android.preference.PreferenceGroup;
34 import android.preference.PreferenceScreen;
35 import android.preference.Preference.OnPreferenceChangeListener;
36 import android.preference.Preference.OnPreferenceClickListener;
54 // Name of the preferences file used to store search preference
62 // Preifx of per-corpus enable preference
65 // References to the top-level preference objects
66 private Preference mClearShortcutsPreference;
96 * Gets the preference key of the preference for whether the given corpus
97 * is enabled. The preference is stored in the {@link #PREFERENCES_NAME}
121 * Enables/disables the "Clear search shortcuts" preference depending
131 * Populates the preference item for the web search engine, which links to further
163 Preference pref = createCorpusPreference(corpus);
174 private Preference createCorpusPreference(Corpus corpus) {
192 * Handles clicks on the "Clear search shortcuts" preference.
194 public synchronized boolean onPreferenceClick(Preference preference) {
195 if (preference == mClearShortcutsPreference) {
233 public synchronized boolean onPreferenceChange(Preference preference, Object newValue) {