/frameworks/base/core/java/android/preference/ |
PreferenceActivity.java | [all...] |
/frameworks/base/core/java/android/text/method/ |
MultiTapKeyListener.java | 88 int pref = 0; local 91 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); 176 if ((pref & TextKeyListener.AUTO_CAP) != 0 &&
|
PasswordTransformationMethod.java | 102 int pref = TextKeyListener.getInstance().getPrefs(v.getContext()); local 103 if ((pref & TextKeyListener.SHOW_PASSWORD) != 0) {
|
QwertyKeyListener.java | 87 int pref = 0; local 90 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); 194 if ((pref & TextKeyListener.AUTO_CAP) != 0 && 245 if ((pref & TextKeyListener.AUTO_TEXT) != 0 && mAutoText && 279 if ((pref & TextKeyListener.AUTO_PERIOD) != 0 && mAutoText) {
|
/packages/apps/Camera/src/com/android/camera/ |
PhotoController.java | 88 ListPreference pref = mPreferenceGroup 90 if (pref != null) { 92 int index = (pref.findIndexOfValue(pref.getValue()) + 1) % 2; 93 pref.setValueIndex(index); 94 onSettingChanged(pref); 123 ListPreference pref = mPreferenceGroup.findPreference(CameraSettings.KEY_CAMERA_ID); local 124 pref.setValue("" + cameraId); 137 public void onListPrefChanged(ListPreference pref) { 142 onSettingChanged(pref); 181 ListPreference pref = mPreferenceGroup.findPreference(key); local [all...] |
VideoController.java | 68 ListPreference pref = mPreferenceGroup.findPreference(CameraSettings.KEY_CAMERA_ID); 69 if (pref != null) { 70 int index = pref.findIndexOfValue(pref.getValue()); 71 CharSequence[] values = pref.getEntryValues(); 101 ListPreference pref = mPreferenceGroup.findPreference(CameraSettings.KEY_CAMERA_ID); local 102 pref.setValue("" + cameraId); 125 public void onListPrefChanged(ListPreference pref) { 131 super.onSettingChanged(pref); 161 public void onPreferenceClicked(ListPreference pref) { [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
MoreSettingPopup.java | 50 public void onSettingChanged(ListPreference pref); 51 public void onPreferenceClicked(ListPreference pref); 66 private int getSettingLayoutId(ListPreference pref) { 68 if (isOnOffPreference(pref)) { 74 private boolean isOnOffPreference(ListPreference pref) { 75 CharSequence[] entries = pref.getEntries(); 87 ListPreference pref = mListItem.get(position); 89 int viewLayoutId = getSettingLayoutId(pref); 93 view.initialize(pref); // no init for restore one 124 ListPreference pref = group.findPreference(keys[i]) local 145 ListPreference pref = mListItem.get(j); local 166 ListPreference pref = mListItem.get(j); local 186 ListPreference pref = mListItem.get(position); local 195 ListPreference pref = mListItem.get(i); local [all...] |
/packages/apps/Email/src/com/android/email/service/ |
EmailBroadcastProcessorService.java | 151 final Preferences pref = Preferences.getPreferences(this); local 152 int progress = pref.getOneTimeInitializationProgress(); 176 pref.setOneTimeInitializationProgress(progress);
|
/packages/apps/Gallery2/src/com/android/camera/ui/ |
MoreSettingPopup.java | 50 public void onSettingChanged(ListPreference pref); 51 public void onPreferenceClicked(ListPreference pref); 66 private int getSettingLayoutId(ListPreference pref) { 68 if (isOnOffPreference(pref)) { 74 private boolean isOnOffPreference(ListPreference pref) { 75 CharSequence[] entries = pref.getEntries(); 87 ListPreference pref = mListItem.get(position); 89 int viewLayoutId = getSettingLayoutId(pref); 93 view.initialize(pref); // no init for restore one 124 ListPreference pref = group.findPreference(keys[i]) local 145 ListPreference pref = mListItem.get(j); local 166 ListPreference pref = mListItem.get(j); local 186 ListPreference pref = mListItem.get(position); local 195 ListPreference pref = mListItem.get(i); local [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
OtherSettingsPopup.java | 59 private int getSettingLayoutId(ListPreference pref) { 62 if (pref == null) return R.layout.in_line_setting_restore; 66 if (CameraSettings.KEY_RECORD_LOCATION.equals(pref.getKey())) { 76 ListPreference pref = mListItem.get(position); 78 int viewLayoutId = getSettingLayoutId(pref); 82 view.initialize(pref); // no init for restore one 99 ListPreference pref = group.findPreference(keys[i]); local 100 if (pref != null) mListItem.add(pref); 126 ListPreference pref = (ListPreference) mListItem.get(j) local 148 ListPreference pref = (ListPreference) mListItem.get(i); local [all...] |
/packages/apps/MusicFX/src/com/android/musicfx/ |
Compatibility.java | 66 SharedPreferences pref = getSharedPreferences("musicfx", MODE_PRIVATE); local 67 String defPackage = pref.getString("defaultpanelpackage", null); 68 String defName = pref.getString("defaultpanelname", null); 152 SharedPreferences pref = getSharedPreferences("musicfx", MODE_PRIVATE); local 153 String savedDefPackage = pref.getString("defaultpanelpackage", null); 154 String savedDefName = pref.getString("defaultpanelname", null); 209 SharedPreferences pref = getSharedPreferences("musicfx", MODE_PRIVATE); local 210 Editor ed = pref.edit();
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
SyncSettings.java | 170 Preference pref = getPreferenceScreen().getPreference(i); local 171 if (pref instanceof AccountPreference) {
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
KeyboardLayoutPickerFragment.java | 135 CheckBoxPreference pref = new CheckBoxPreference(context); local 136 pref.setTitle(layout.getLabel()); 137 pref.setSummary(layout.getCollection()); 138 root.addPreference(pref); 139 mPreferenceMap.put(pref, layout);
|
InputMethodAndSubtypeUtil.java | 193 Preference pref = context.findPreference(imiId); local 194 if (pref == null) continue; 196 // pref is instance of CheckBoxPreference in the Configure input method screen. 197 final boolean isImeChecked = (pref instanceof CheckBoxPreference) ? 198 ((CheckBoxPreference) pref).isChecked() 312 Preference pref = context.findPreference(imiId); local 313 if (pref != null && pref instanceof CheckBoxPreference) { 314 CheckBoxPreference checkBoxPreference = (CheckBoxPreference) pref; 336 CheckBoxPreference pref = (CheckBoxPreference) preferenceScreen.findPreference local 362 CheckBoxPreference pref = (CheckBoxPreference) preferenceScreen.findPreference( local [all...] |
/packages/apps/Phone/src/com/android/phone/sip/ |
SipEditor.java | 309 EditTextPreference pref = (EditTextPreference) key.preference; local 310 return TextUtils.isEmpty(pref.getText()) 311 || pref.getSummary().equals(getString(key.defaultSummary)); 320 EditTextPreference pref = (EditTextPreference) p; local 328 pref.setText(getDefaultDisplayName()); 335 pref.setText(getString(R.string.default_port)); 339 firstEmptyFieldTitle = pref.getTitle(); 433 public boolean onPreferenceChange(Preference pref, Object newValue) { 440 if (pref instanceof CheckBoxPreference) { 446 pref.setSummary(getPreferenceKey(pref).defaultSummary) 512 ListPreference pref = (ListPreference) local 519 CheckBoxPreference pref = (CheckBoxPreference) key.preference; local 621 Preference pref = group.getPreference(i); local [all...] |
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnSettings.java | 190 final VpnPreference pref = new VpnPreference(context, profile); local 191 pref.setOnPreferenceClickListener(this); 192 mPreferences.put(profile.key, pref); 193 group.addPreference(pref);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ChangedContacts.java | 147 SharedPreferences pref = getSharedPreferences(CLASS, Context.MODE_PRIVATE); local 148 SharedPreferences.Editor editor = pref.edit(); 154 SharedPreferences pref = getSharedPreferences(CLASS, Context.MODE_PRIVATE); local 155 return pref.getLong(key, time);
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
KeyChainDemoActivity.java | 182 SharedPreferences pref = getSharedPreferences(KEYCHAIN_PREF, local 184 return pref.getString(KEYCHAIN_PREF_ALIAS, DEFAULT_ALIAS); 191 SharedPreferences pref = getSharedPreferences(KEYCHAIN_PREF, local 193 Editor editor = pref.edit();
|
/external/chromium/chrome/browser/extensions/ |
extension_preference_api.cc | 93 const PrefService::Preference* pref = local 95 CHECK(pref); 98 if (!pref->IsExtensionModifiable()) 180 "Trying to register pref transformer for " << browser_pref << " twice"; 184 // Mapping from extension pref keys to browser pref keys and permissions. 187 // Mapping from browser pref keys to extension event names and permissions. 190 // Mapping from browser pref keys to transformers. 239 const PrefService::Preference* pref = local 241 CHECK(pref); 315 const PrefService::Preference* pref = local 366 const PrefService::Preference* pref = local [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_blocking_page.cc | 351 const PrefService::Preference* pref = local 356 if (pref && pref->GetValue()->GetAsBoolean(&value) && value) { 488 PrefService* pref = tab()->profile()->GetPrefs(); local 489 pref->SetBoolean(prefs::kSafeBrowsingReportingEnabled, report); 602 const PrefService::Preference* pref = local 607 if (pref && pref->GetValue()->GetAsBoolean(&value) && value) {
|
/packages/apps/Settings/src/com/android/settings/ |
ChooseLockGeneric.java | 284 Preference pref = entries.getPreference(i); local 285 if (pref instanceof PreferenceScreen) { 286 final String key = ((PreferenceScreen) pref).getKey(); 306 entries.removePreference(pref); 308 pref.setSummary(R.string.unlock_set_unlock_disabled_summary); 309 pref.setEnabled(false);
|
DeviceInfoSettings.java | 229 Preference pref = findPreference(preference); local 230 if (pref != null) { 231 getPreferenceScreen().removePreference(pref);
|
SettingsPreferenceFragment.java | 75 Preference pref = findPreference(key); local 76 if (pref != null) { 77 getPreferenceScreen().removePreference(pref);
|
Settings.java | 759 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { 761 int titleRes = pref.getTitleRes(); 762 if (pref.getFragment().equals(WallpaperTypeSettings.class.getName())) { 764 } else if (pref.getFragment().equals(OwnerInfoSettings.class.getName()) 772 startPreferencePanel(pref.getFragment(), pref.getExtras(), titleRes, pref.getTitle(), [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnn.java | 98 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); local 140 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); local 241 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); local 242 if (mCandidatesViewManager != null) { mCandidatesViewManager.setPreferences(pref); } 243 if (mInputViewManager != null) { mInputViewManager.setPreferences(pref, attribute); } 244 if (mPreConverter != null) { mPreConverter.setPreferences(pref); } 245 if (mConverter != null) { mConverter.setPreferences(pref); }
|