Searched defs:pref (Results 1 - 17 of 17) sorted by relevance

/frameworks/layoutlib/bridge/src/android/preference/
H A DPreference_Delegate.java41 /*package*/ static View getView(Preference pref, View convertView, ViewGroup parent) { argument
42 Context context = pref.getContext();
44 convertView = pref.getView_Original(convertView, parent);
46 Object cookie = bc.getCookie(pref);
/frameworks/support/frameworks/support/samples/SupportPreferenceDemos/src/com/example/android/supportpreference/
H A DFragmentSupportPreferences.java44 public boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref) { argument
47 args.putString(PreferenceFragment.ARG_PREFERENCE_ROOT, pref.getKey());
H A DFragmentSupportPreferencesCompat.java44 public boolean onPreferenceStartScreen(PreferenceFragmentCompat caller, PreferenceScreen pref) { argument
47 args.putString(PreferenceFragmentCompat.ARG_PREFERENCE_ROOT, pref.getKey());
H A DFragmentSupportPreferencesLeanback.java51 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { argument
53 Fragment.instantiate(getActivity(), pref.getFragment(), pref.getExtras());
64 public boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref) { argument
67 args.putString(PreferenceFragment.ARG_PREFERENCE_ROOT, pref.getKey());
/frameworks/support/samples/SupportPreferenceDemos/src/com/example/android/supportpreference/
H A DFragmentSupportPreferences.java44 public boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref) { argument
47 args.putString(PreferenceFragment.ARG_PREFERENCE_ROOT, pref.getKey());
H A DFragmentSupportPreferencesCompat.java44 public boolean onPreferenceStartScreen(PreferenceFragmentCompat caller, PreferenceScreen pref) { argument
47 args.putString(PreferenceFragmentCompat.ARG_PREFERENCE_ROOT, pref.getKey());
H A DFragmentSupportPreferencesLeanback.java51 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { argument
53 Fragment.instantiate(getActivity(), pref.getFragment(), pref.getExtras());
64 public boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref) { argument
67 args.putString(PreferenceFragment.ARG_PREFERENCE_ROOT, pref.getKey());
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerActivity.java77 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { argument
79 Class<?> cls = Class.forName(pref.getFragment());
82 b.putString(PreferenceFragment.ARG_PREFERENCE_ROOT, pref.getKey());
85 setTitle(pref.getTitle());
97 public boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref) { argument
101 b.putString(PreferenceFragment.ARG_PREFERENCE_ROOT, pref.getKey());
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
H A DLeanbackSettingsFragment.java101 public boolean onPreferenceDisplayDialog(@NonNull PreferenceFragment caller, Preference pref) { argument
103 throw new IllegalArgumentException("Cannot display dialog for preference " + pref
107 if (pref instanceof ListPreference) {
108 final ListPreference listPreference = (ListPreference) pref;
112 } else if (pref instanceof MultiSelectListPreference) {
113 MultiSelectListPreference listPreference = (MultiSelectListPreference) pref;
119 // else if (pref instanceof EditTextPreference) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
H A DInputMethodAndSubtypeEnablerManager.java87 public boolean onPreferenceChange(final Preference pref, final Object newValue) { argument
94 if (mAutoSelectionPrefsMap.get(imiId) == pref) {
95 final TwoStatePreference autoSelectionPref = (TwoStatePreference) pref;
103 if (pref instanceof InputMethodSubtypePreference) {
104 final InputMethodSubtypePreference subtypePref = (InputMethodSubtypePreference) pref;
166 for (final Preference pref : subtypePreferences) {
167 activeInputMethodsCategory.addPreference(pref);
168 pref.setOnPreferenceChangeListener(this);
169 InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference(pref);
182 for (final Preference pref
[all...]
H A DInputMethodPreference.java66 * @param pref This preference.
68 void onSaveInputMethodPreference(InputMethodPreference pref); argument
H A DInputMethodAndSubtypeUtil.java169 final Preference pref = context.findPreference(imiId);
170 if (pref == null) {
174 // <code>pref</code> is an instance of TwoStatePreference.
175 final boolean isImeChecked = (pref instanceof TwoStatePreference) ?
176 ((TwoStatePreference) pref).isChecked()
296 final Preference pref = context.findPreference(imiId);
297 if (pref instanceof TwoStatePreference) {
298 final TwoStatePreference subtypePref = (TwoStatePreference) pref;
321 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen
323 if (pref !
359 removeUnnecessaryNonPersistentPreference(final Preference pref) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceFragment.java157 boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref); argument
H A DPreferenceActivity.java1432 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { argument
1433 startPreferencePanel(pref.getFragment(), pref.getExtras(), pref.getTitleRes(),
1434 pref.getTitle(), null, 0);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPointPreference.java89 // Used for dummy pref.
155 // Used for dummy pref.
250 mContentDescription = buildContentDescription(getContext(), this /* pref */, mAccessPoint);
276 static CharSequence buildContentDescription(Context context, Preference pref, AccessPoint ap) { argument
277 CharSequence contentDescription = pref.getTitle();
278 final CharSequence summary = pref.getSummary();
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DPreferenceFragment.java181 * @param pref The preference requesting the fragment.
184 boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref); argument
197 * @param pref The preference screen to navigate to.
200 boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref); argument
208 * @param pref The preference requesting the dialog.
211 boolean onPreferenceDisplayDialog(@NonNull PreferenceFragment caller, Preference pref); argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceFragmentCompat.java170 * @param pref The preference requesting the fragment.
173 boolean onPreferenceStartFragment(PreferenceFragmentCompat caller, Preference pref); argument
186 * @param pref The preference screen to navigate to.
189 boolean onPreferenceStartScreen(PreferenceFragmentCompat caller, PreferenceScreen pref); argument
197 * @param pref The preference requesting the dialog.
201 Preference pref);
200 onPreferenceDisplayDialog(@onNull PreferenceFragmentCompat caller, Preference pref) argument

Completed in 398 milliseconds