Home
last modified time | relevance | path

Searched refs:pref (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java153 final Preference pref = mSubtypeEnablerPreference; in updateSubtypeEnabler() local
154 if (pref == null) { in updateSubtypeEnabler()
157 final Context context = pref.getContext(); in updateSubtypeEnabler()
164 pref.setTitle(title); in updateSubtypeEnabler()
165 final Intent intent = pref.getIntent(); in updateSubtypeEnabler()
171 pref.setSummary(summary); in updateSubtypeEnabler()
174 pref.setIcon(mSubtypeEnablerIconRes); in updateSubtypeEnabler()
176 pref.setIcon(mSubtypeEnablerIcon); in updateSubtypeEnabler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerActivity.java60 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { in onPreferenceStartFragment() argument
62 Class<?> cls = Class.forName(pref.getFragment()); in onPreferenceStartFragment()
65 setTitle(pref.getTitle()); in onPreferenceStartFragment()
77 public boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref) { in onPreferenceStartScreen() argument
81 b.putString(PreferenceFragment.ARG_PREFERENCE_ROOT, pref.getKey()); in onPreferenceStartScreen()
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
DPreference_Delegate.java41 /*package*/ static View getView(Preference pref, View convertView, ViewGroup parent) { in getView() argument
42 Context context = pref.getContext(); in getView()
44 convertView = pref.getView_Original(convertView, parent); in getView()
46 Object cookie = bc.getCookie(pref); in getView()
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
DLeanbackListPreferenceDialogFragment.java106 final MultiSelectListPreference pref = (MultiSelectListPreference) preference; in onCreateAdapter() local
107 final CharSequence[] entries = pref.getEntries(); in onCreateAdapter()
108 final CharSequence[] entryValues = pref.getEntryValues(); in onCreateAdapter()
109 final Set<String> initialSelections = pref.getValues(); in onCreateAdapter()
112 final ListPreference pref = (ListPreference) preference; in onCreateAdapter() local
113 final CharSequence[] entries = pref.getEntries(); in onCreateAdapter()
114 final CharSequence[] entryValues = pref.getEntryValues(); in onCreateAdapter()
115 final String initialSelection = pref.getValue(); in onCreateAdapter()
DLeanbackSettingsFragment.java81 public boolean onPreferenceDisplayDialog(PreferenceFragment caller, Preference pref) { in onPreferenceDisplayDialog() argument
83 if (pref instanceof ListPreference) { in onPreferenceDisplayDialog()
84 final ListPreference listPreference = (ListPreference) pref; in onPreferenceDisplayDialog()
88 } else if (pref instanceof MultiSelectListPreference) { in onPreferenceDisplayDialog()
89 MultiSelectListPreference listPreference = (MultiSelectListPreference) pref; in onPreferenceDisplayDialog()
/frameworks/opt/vcard/tests/res/raw/
Dv30_ios_613_multiline.vcf11 item1.EMAIL;type=INTERNET;type=pref:bob@smithauto.com
13 TEL;type=CELL;type=VOICE;type=pref:(650) 555-1212
15 item2.URL;type=pref:www.smithauto.com
/frameworks/base/core/java/android/text/method/
DQwertyKeyListener.java87 int pref = 0; in onKeyDown() local
90 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown()
194 if ((pref & TextKeyListener.AUTO_CAP) != 0 && in onKeyDown()
245 if ((pref & TextKeyListener.AUTO_TEXT) != 0 && mAutoText && in onKeyDown()
279 if ((pref & TextKeyListener.AUTO_PERIOD) != 0 && mAutoText) { in onKeyDown()
DMultiTapKeyListener.java88 int pref = 0; in onKeyDown() local
91 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown()
176 if ((pref & TextKeyListener.AUTO_CAP) != 0 && in onKeyDown()
DPasswordTransformationMethod.java101 int pref = TextKeyListener.getInstance().getPrefs(v.getContext()); in onTextChanged() local
102 if ((pref & TextKeyListener.SHOW_PASSWORD) != 0) { in onTextChanged()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceGroupAdapter.java227 for (final Preference pref : mPreferenceListInternal) { in onPreferenceVisibilityChange()
228 if (preference.equals(pref)) { in onPreferenceVisibilityChange()
231 if (pref.isVisible()) { in onPreferenceVisibilityChange()
DPreferenceFragmentCompat.java168 boolean onPreferenceStartFragment(PreferenceFragmentCompat caller, Preference pref); in onPreferenceStartFragment() argument
184 boolean onPreferenceStartScreen(PreferenceFragmentCompat caller, PreferenceScreen pref); in onPreferenceStartScreen() argument
195 boolean onPreferenceDisplayDialog(PreferenceFragmentCompat caller, Preference pref); in onPreferenceDisplayDialog() argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DWiFiKeyManager.java87 int pref = 0; in chooseClientAlias() local
89 keyPrefs.put(keyType, pref++); in chooseClientAlias()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java227 boolean pref = sharedPrefs.getBoolean("summaryPref", false); in loadXmlFromNetwork()
256 if (pref) { in loadXmlFromNetwork()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceFragment.java180 boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref); in onPreferenceStartFragment() argument
196 boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref); in onPreferenceStartScreen() argument
207 boolean onPreferenceDisplayDialog(PreferenceFragment caller, Preference pref); in onPreferenceDisplayDialog() argument
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java1404 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { in onPreferenceStartFragment() argument
1405 startPreferencePanel(pref.getFragment(), pref.getExtras(), pref.getTitleRes(), in onPreferenceStartFragment()
1406 pref.getTitle(), null, 0); in onPreferenceStartFragment()
DPreferenceFragment.java155 boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref); in onPreferenceStartFragment() argument
/frameworks/base/docs/html-intl/intl/ru/training/basics/data-storage/
Dshared-preferences.jd22 …<li><a href="{@docRoot}guide/topics/data/data-storage.html#pref">Использование общих настроек</a><…
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/data-storage/
Dshared-preferences.jd22 <li><a href="{@docRoot}guide/topics/data/data-storage.html#pref">使用共享首选项</a></li>
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/data-storage/
Dshared-preferences.jd22 <li><a href="{@docRoot}guide/topics/data/data-storage.html#pref">使用共用的偏好設定</a></li>
/frameworks/base/docs/html-intl/intl/ja/training/basics/data-storage/
Dshared-preferences.jd22 <li><a href="{@docRoot}guide/topics/data/data-storage.html#pref">共有の環境設定を使用する</a></li>
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/
Dshared-preferences.jd22 <li><a href="{@docRoot}guide/topics/data/data-storage.html#pref">SharedPreferences 사용하기</a></li>
/frameworks/base/docs/html/training/basics/network-ops/
Dmanaging.jd22 <li><a href="#pref-change">Respond to Preference Changes</a></li>
284 <h2 id="pref-change">Respond to Preference Changes</h2>
332 // pref settings allow it.
437 // connection (mobile or Wi-Fi), or because the pref setting is WIFI, and there
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd19 <li><a href="#pref">Using Shared Preferences</a></li>
28 <li><a href="#pref">Content Providers and Content Resolvers</a></li>
43 <dt><a href="#pref">Shared Preferences</a></dt>
67 <h2 id="pref">Using Shared Preferences</h2>
/frameworks/base/docs/html/training/basics/data-storage/
Dshared-preferences.jd22 <li><a href="{@docRoot}guide/topics/data/data-storage.html#pref">Using Shared Preferences</a></li>
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/data-storage/
Dshared-preferences.jd22 …<li><a href="{@docRoot}guide/topics/data/data-storage.html#pref">Usando preferências compartilhada…

12