/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/deviceinfo/ |
PublicVolumeSettings.java | 164 private void addPreference(Preference pref) { 165 pref.setOrder(Preference.DEFAULT_ORDER); 166 getPreferenceScreen().addPreference(pref); 170 final Preference pref = new Preference(getActivity()); local 171 pref.setTitle(titleRes); 172 return pref; 197 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference pref) { 199 if (pref == mMount) { 201 } else if (pref == mUnmount) { 203 } else if (pref == mFormatPublic) [all...] |
Status.java | 214 // Make every pref on this screen copy its data to the clipboard on longpress. 222 Preference pref = (Preference) listAdapter.getItem(position); 226 cm.setText(pref.getSummary()); 264 Preference pref = findPreference(key); local 265 if (pref != null) { 266 getPreferenceScreen().removePreference(pref);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
KeyboardLayoutPickerFragment.java | 142 CheckBoxPreference pref = new CheckBoxPreference(context); local 143 pref.setTitle(layout.getLabel()); 144 pref.setSummary(layout.getCollection()); 145 root.addPreference(pref); 146 mPreferenceMap.put(pref, layout);
|
InputMethodAndSubtypeUtil.java | 173 final Preference pref = context.findPreference(imiId); local 174 if (pref == null) { 178 // <code>pref</code> is an instance of TwoStatePreference. 179 final boolean isImeChecked = (pref instanceof TwoStatePreference) ? 180 ((TwoStatePreference) pref).isChecked() 295 final Preference pref = context.findPreference(imiId); local 296 if (pref instanceof TwoStatePreference) { 297 final TwoStatePreference subtypePref = (TwoStatePreference) pref; 320 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen local 322 if (pref != null) 349 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen local [all...] |
SpellCheckersSettings.java | 82 final SpellCheckerPreference pref = new SpellCheckerPreference(context, sci, this); local 83 screen.addPreference(pref); 84 InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference(pref); 124 final SpellCheckerPreference pref = (SpellCheckerPreference)preference; local 125 final SpellCheckerInfo sci = pref.getSpellCheckerInfo(); 126 pref.setSelected(mCurrentSci != null && mCurrentSci.getId().equals(sci.getId())); 144 public boolean onPreferenceClick(final Preference pref) { 145 if (pref == mSpellCheckerLanaguagePref) { 153 public void onRadioButtonClicked(final SpellCheckerPreference pref) { 154 final SpellCheckerInfo sci = pref.getSpellCheckerInfo() [all...] |
InputMethodAndLanguageSettings.java | 129 // No "Select language" pref if there's only one system locale available. 332 final SwitchPreference pref = (SwitchPreference) preference; local 333 if (pref == mGameControllerCategory.findPreference("vibrate_input_devices")) { 335 pref.isChecked() ? 1 : 0); 388 for (final InputMethodPreference pref : mInputMethodPreferenceList) { 389 mKeyboardSettingsCategory.removePreference(pref); 402 final InputMethodPreference pref = new InputMethodPreference( local 405 mInputMethodPreferenceList.add(pref); 415 final InputMethodPreference pref = mInputMethodPreferenceList.get(i); local 416 mKeyboardSettingsCategory.addPreference(pref); 533 final PreferenceScreen pref = new PreferenceScreen(getActivity(), null); local 553 final Preference pref = mHardKeyboardCategory.getPreference(i); local 562 final Preference pref = mHardKeyboardPreferenceList.get(i); local 606 SwitchPreference pref = (SwitchPreference) local [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
RecentLocationApps.java | 87 DimmableIconPreference pref = new DimmableIconPreference(mActivity, contentDescription); local 88 pref.setIcon(icon); 89 pref.setTitle(label); 91 pref.setSummary(R.string.location_high_battery_use); 93 pref.setSummary(R.string.location_low_battery_use); 95 pref.setOnPreferenceClickListener(listener); 96 return pref;
|
/packages/apps/Settings/src/com/android/settings/net/ |
DataUsageMeteredSettings.java | 111 final MeteredPreference pref = new MeteredPreference(context, template); local 112 pref.setTitle(tele.getNetworkOperatorName()); 113 return pref; 119 final MeteredPreference pref = new MeteredPreference(context, template); local 120 pref.setTitle(removeDoubleQuotes(networkId)); 121 return pref;
|
/packages/apps/Settings/src/com/android/settings/users/ |
AppRestrictionsFragment.java | 310 AppRestrictionsPreference pref = (AppRestrictionsPreference) local 312 if (pref == null) return; 314 if ((Intent.ACTION_PACKAGE_ADDED.equals(action) && pref.isChecked()) 315 || (Intent.ACTION_PACKAGE_REMOVED.equals(action) && !pref.isChecked())) { 316 pref.setEnabled(true); 386 AppRestrictionsPreference pref = (AppRestrictionsPreference) findPreference( local 388 if (pref != null) { 389 pref.setEnabled(false); 770 Preference pref = mAppList.getPreference(i); local 771 if (pref instanceof AppRestrictionsPreference) 782 AppRestrictionsPreference pref = (AppRestrictionsPreference) v.getTag(); local 1035 AppRestrictionsPreference pref = mCustomRequestMap.get(requestCode); local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
GsmUmtsAdditionalCallOptions.java | 86 Preference pref = mPreferences.get(mInitIndex); local 87 if (pref instanceof CallWaitingCheckBoxPreference) { 88 ((CallWaitingCheckBoxPreference) pref).init(this, false, mPhone);
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
ManageAccountsSettings.java | 216 Preference pref = getPreferenceScreen().getPreference(i); local 217 if (pref instanceof AccountPreference) { 218 Account account = ((AccountPreference) pref).getAccount(); 273 Preference pref = getPreferenceScreen().getPreference(i); local 274 if (! (pref instanceof AccountPreference)) { 278 AccountPreference accountPref = (AccountPreference) pref; 449 Preference pref = prefs.getPreference(i); local 450 Intent intent = pref.getIntent(); 470 pref.setOnPreferenceClickListener(new FragmentStarter( 477 prefs.removePreference(pref); 541 Preference pref = getPreferenceScreen().getPreference(i); local [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsDetail.java | 163 CancellablePreference pref = mServiceMap.get(service); local 164 if (pref != null) { 165 pref.setOnCancelListener(new OnCancelListener() { 171 pref.setCancellable(true);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerUsageSummary.java | 347 final PowerGaugePreference pref = new PowerGaugePreference(getActivity(), local 353 pref.setTitle(entry.getLabel()); 354 pref.setOrder(i + 1); 355 pref.setPercent(percentOfMax, percentOfTotal); 357 pref.setKey(Integer.toString(sipper.uidObj.getUid())); 361 pref.setTint(colorControl); 364 mAppListGroup.addPreference(pref);
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipEditor.java | 302 EditTextPreference pref = (EditTextPreference) key.preference; local 303 return TextUtils.isEmpty(pref.getText()) 304 || pref.getSummary().equals(getString(key.defaultSummary)); 313 EditTextPreference pref = (EditTextPreference) p; local 321 pref.setText(getDefaultDisplayName()); 328 pref.setText(getString(R.string.default_port)); 332 firstEmptyFieldTitle = pref.getTitle(); 409 public boolean onPreferenceChange(Preference pref, Object newValue) { 414 if (pref instanceof CheckBoxPreference) { 420 pref.setSummary(getPreferenceKey(pref).defaultSummary) 485 ListPreference pref = (ListPreference) PreferenceKey.SendKeepAlive.preference; local 490 CheckBoxPreference pref = (CheckBoxPreference) key.preference; local 551 Preference pref = group.getPreference(i); local [all...] |
/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/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationServiceTest.java | 484 String[] pref = Collator.getKeywordValuesForLocale("collation", loc, true); local 486 if (!arrayContains(pref, expected[j])) { 495 if (pref.length == all.length) { 497 for (int j = 0; j < pref.length; j++) { 500 if (pref[j].equals(all[k])) { 513 + " got:" + Arrays.toString(all) + " expected:" + Arrays.toString(pref));
|
/frameworks/base/core/java/android/text/method/ |
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/Settings/src/com/android/settings/sim/ |
SimSettings.java | 110 Preference pref = mSimCards.findPreference("sim" + i); local 111 if (pref instanceof SimPreference) { 112 mSimCards.removePreference(pref); 140 Preference pref = mSimCards.getPreference(i); local 141 if (pref instanceof SimPreference) { 142 ((SimPreference)pref).update(); 222 final Preference pref = findPreference(KEY_CELLULAR_DATA); 223 if (pref != null) { 226 pref.setEnabled((state == TelephonyManager.CALL_STATE_IDLE) && !ecbMode);
|
/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); }
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.ui.sdk_1.0.100.v20100513.jar | |
org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jar | |
/packages/apps/Settings/src/com/android/settings/ |
SettingsActivity.java | 441 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { 443 int titleRes = pref.getTitleRes(); 444 if (pref.getFragment().equals(WallpaperTypeSettings.class.getName())) { 446 } else if (pref.getFragment().equals(OwnerInfoSettings.class.getName()) 454 startPreferencePanel(pref.getFragment(), pref.getExtras(), titleRes, pref.getTitle(), [all...] |
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ |
WearableMainActivity.java | 181 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); local 182 mCurrentSpeedLimit = pref.getInt(PREFS_SPEED_LIMIT_KEY, SPEED_LIMIT_DEFAULT_MPH);
|