Lines Matching refs:preference
25 import android.support.v7.preference.Preference;
26 import android.support.v7.preference.PreferenceGroup;
38 Preference preference, int flags) {
39 if (preference == null) {
43 Intent intent = preference.getIntent();
53 preference.setIntent(new Intent().setClassName(
58 // Set the preference title to the activity's label
59 preference.setTitle(resolveInfo.loadLabel(pm));
67 // Did not find a matching activity, so remove the preference
68 parent.removePreference(preference);