/cts/tests/sample/src/android/sample/ |
SampleDeviceActivity.java | 32 private SharedPreferences mPreferences; 38 mPreferences = getPreferences(Context.MODE_PRIVATE); 49 Editor editor = mPreferences.edit(); 63 return mPreferences.getString(key, null); 71 Editor editor = mPreferences.edit();
|
/packages/services/Telephony/src/com/android/phone/sip/ |
SipSharedPreferences.java | 37 private SharedPreferences mPreferences; 41 mPreferences = context.getSharedPreferences( 47 SharedPreferences.Editor editor = mPreferences.edit(); 58 return mPreferences.getString(KEY_PRIMARY_ACCOUNT, null); 63 mPreferences.getString(KEY_PRIMARY_ACCOUNT, null)); 68 mPreferences.getString(KEY_PRIMARY_ACCOUNT, null)); 72 SharedPreferences.Editor editor = mPreferences.edit(); 78 return mPreferences.getInt(KEY_NUMBER_OF_PROFILES, 0);
|
SipEditor.java | 599 private Preference[] mPreferences; 618 mPreferences = new Preference[group.getPreferenceCount()]; 620 for (int i = 0, n = mPreferences.length; i < n; i++) { 624 mPreferences[i] = pref; 632 for (Preference pref : mPreferences) { 642 for (Preference pref : mPreferences) {
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
DisplayOrderPreference.java | 33 private ContactsPreferences mPreferences; 48 mPreferences = new ContactsPreferences(mContext); 57 setValue(String.valueOf(mPreferences.getDisplayOrder())); 67 switch (mPreferences.getDisplayOrder()) { 79 if (newValue != mPreferences.getDisplayOrder()) { 80 mPreferences.setDisplayOrder(newValue);
|
SortOrderPreference.java | 33 private ContactsPreferences mPreferences; 48 mPreferences = new ContactsPreferences(mContext); 57 setValue(String.valueOf(mPreferences.getSortOrder())); 67 switch (mPreferences.getSortOrder()) { 79 if (newValue != mPreferences.getSortOrder()) { 80 mPreferences.setSortOrder(newValue);
|
/packages/services/Telephony/src/com/android/phone/ |
GsmUmtsAdditionalCallOptions.java | 24 private final ArrayList<Preference> mPreferences = new ArrayList<Preference>(); 37 mPreferences.add(mCLIRButton); 38 mPreferences.add(mCWButton); 45 mInitIndex = mPreferences.size(); 76 if (mInitIndex < mPreferences.size()-1 && !isFinishing()) { 78 Preference pref = mPreferences.get(mInitIndex);
|
GsmUmtsCallForwardOptions.java | 39 private final ArrayList<CallForwardEditPreference> mPreferences = 63 mPreferences.add(mButtonCFU); 64 mPreferences.add(mButtonCFB); 65 mPreferences.add(mButtonCFNRy); 66 mPreferences.add(mButtonCFNRc); 89 mPreferences.get(mInitIndex).init(this, false); 91 mInitIndex = mPreferences.size(); 93 for (CallForwardEditPreference pref : mPreferences) { 112 for (CallForwardEditPreference pref : mPreferences) { 125 if (mInitIndex < mPreferences.size()-1 && !isFinishing()) [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
DebugFragment.java | 46 private Preferences mPreferences; 60 mPreferences = Preferences.getPreferences(context); 92 mEnableStrictModeView.setChecked(mPreferences.getEnableStrictMode()); 102 mPreferences.setEnableDebugLogging(isChecked); 107 mPreferences.setEnableExchangeLogging(isChecked); 111 mPreferences.setEnableExchangeFileLogging(isChecked); 116 mPreferences.setInhibitGraphicsAcceleration(isChecked); 119 mPreferences.setEnableStrictMode(isChecked);
|
GeneralPreferences.java | 48 private Preferences mPreferences; 104 mPreferences.setAutoAdvanceDirection(mAutoAdvance.findIndexOfValue((String) newValue)); 107 mPreferences.setTextZoom(mTextZoom.findIndexOfValue((String) newValue)); 129 mPreferences.setConfirmDelete(mConfirmDelete.isChecked()); 132 mPreferences.setConfirmSend(mConfirmSend.isChecked()); 142 mPreferences = Preferences.getPreferences(getActivity()); 144 mAutoAdvance.setValueIndex(mPreferences.getAutoAdvanceDirection()); 149 mTextZoom.setValueIndex(mPreferences.getTextZoom()); 180 int textZoomIndex = mPreferences.getTextZoom();
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
OneTimeInitializerService.java | 60 private SharedPreferences mPreferences; 69 mPreferences = getSharedPreferences(SHARED_PREFS_FILE, Context.MODE_PRIVATE); 93 return mPreferences.getInt(MAPPING_VERSION_PREF, 0); 97 SharedPreferences.Editor ed = mPreferences.edit();
|
/packages/apps/Mms/src/com/android/mms/util/ |
DownloadManager.java | 64 private final SharedPreferences mPreferences; 101 mAutoDownload = getAutoDownloadState(mPreferences, isRoaming); 115 mPreferences = PreferenceManager.getDefaultSharedPreferences(context); 116 mPreferences.registerOnSharedPreferenceChangeListener(mPreferencesChangeListener); 122 mAutoDownload = getAutoDownloadState(mPreferences);
|
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkThumbnailWidgetService.java | 168 private SharedPreferences mPreferences = null; 176 if (mPreferences == null) { 177 mPreferences = getWidgetState(mContext, mWidgetId); 179 long currentFolder = mPreferences.getLong(STATE_CURRENT_FOLDER, -1); 180 mRootFolder = mPreferences.getLong(STATE_ROOT_FOLDER, -1); 188 if (mPreferences == null) { 189 mPreferences = getWidgetState(mContext, mWidgetId); 191 mPreferences.edit()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnSettings.java | 78 private HashMap<String, VpnPreference> mPreferences = new HashMap<String, VpnPreference>(); 126 while (mPreferences.containsKey(Long.toHexString(millis))) { 184 if (mPreferences.size() == 0) { 192 mPreferences.put(profile.key, pref); 244 VpnPreference preference = mPreferences.get(profile.key); 251 mPreferences.put(profile.key, preference); 293 VpnPreference preference = mPreferences.get(mSelectedKey); 308 mPreferences.remove(mSelectedKey); 337 while (mPreferences.containsKey(Long.toHexString(millis))) { 356 VpnPreference preference = mPreferences.get(mInfo.key) [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
VideoModule.java | 114 private ComboPreferences mPreferences; 327 mPreferences = new ComboPreferences(mActivity); 328 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); 329 mCameraId = getPreferredCameraId(mPreferences); 331 mPreferences.setLocalId(mActivity, mCameraId); 332 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); 553 String videoQuality = mPreferences.getString(CameraSettings.KEY_VIDEO_QUALITY, 559 mPreferences.edit().putString(CameraSettings.KEY_VIDEO_QUALITY, videoQuality); 586 String frameIntervalStr = mPreferences.getString( 678 boolean recordLocation = RecordLocationPreference.get(mPreferences, [all...] |
PhotoModule.java | 152 private ComboPreferences mPreferences; 363 mPreferences = new ComboPreferences(mActivity); 364 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); 365 mCameraId = getPreferredCameraId(mPreferences); 373 mPreferences.setLocalId(mActivity, mCameraId); 374 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); 400 if (RecordLocationPreference.isSet(mPreferences)) { 434 mPreferences.edit() 467 mPreferences.setLocalId(mActivity, mCameraId); 468 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()) [all...] |
PieController.java | 48 private List<IconListPreference> mPreferences; 59 mPreferences = new ArrayList<IconListPreference>(); 108 mPreferences.add(pref); 152 mPreferences.add(pref);
|
FocusOverlayManager.java | 88 private ComboPreferences mPreferences; 138 mPreferences = preferences; 453 mFocusMode = mPreferences.getString(
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Camera.java | 139 private ComboPreferences mPreferences; 328 String value = mPreferences.getString(CameraSettings.KEY_EXPOSURE, 331 Editor editor = mPreferences.edit(); 363 mPreferences, getContentResolver()); 397 mPreferences.getBoolean(CameraSettings.KEY_CAMERA_FIRST_USE_HINT_SHOWN, true)) { 444 mPreferences, getContentResolver()); 710 updateExposureOnScreenIndicator(CameraSettings.readExposure(mPreferences)); [all...] |
VideoCamera.java | 145 private ComboPreferences mPreferences; 358 mPreferences = new ComboPreferences(this); 359 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); 360 mCameraId = CameraSettings.readPreferredCameraId(mPreferences); 368 mPreferences.setLocalId(this, mCameraId); 369 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); 721 mPreferences.getString(CameraSettings.KEY_VIDEO_QUALITY, 748 mEffectType = CameraSettings.readEffectType(mPreferences); 750 mEffectParameter = CameraSettings.readEffectParameter(mPreferences); 772 String frameIntervalStr = mPreferences.getString [all...] |
FocusManager.java | 73 private ComboPreferences mPreferences; 101 mPreferences = preferences; 360 mFocusMode = mPreferences.getString(
|
/packages/apps/Camera/src/com/android/camera/ |
PieController.java | 44 private List<IconListPreference> mPreferences; 55 mPreferences = new ArrayList<IconListPreference>(); 105 mPreferences.add(pref);
|
PhotoModule.java | 166 private ComboPreferences mPreferences; 465 mPreferences = new ComboPreferences(mActivity); 466 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); 467 mCameraId = getPreferredCameraId(mPreferences); 487 mPreferences.setLocalId(mActivity, mCameraId); 488 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); 507 if (RecordLocationPreference.isSet(mPreferences)) { 543 mPreferences.edit() 615 String value = mPreferences.getString(CameraSettings.KEY_EXPOSURE, 618 Editor editor = mPreferences.edit() [all...] |
VideoModule.java | 136 private ComboPreferences mPreferences; 420 mPreferences = new ComboPreferences(mActivity); 421 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); 422 mCameraId = getPreferredCameraId(mPreferences); 424 mPreferences.setLocalId(mActivity, mCameraId); 425 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); 696 mPreferences.getString(CameraSettings.KEY_VIDEO_QUALITY, 723 mEffectType = CameraSettings.readEffectType(mPreferences); 725 mEffectParameter = CameraSettings.readEffectParameter(mPreferences); 736 String frameIntervalStr = mPreferences.getString [all...] |
FocusOverlayManager.java | 94 private ComboPreferences mPreferences; 129 mPreferences = preferences; 440 mFocusMode = mPreferences.getString(
|
/packages/apps/Music/src/com/android/music/ |
MediaPlaybackService.java | 153 private SharedPreferences mPreferences; 338 mPreferences = getSharedPreferences("Music", MODE_WORLD_READABLE | MODE_WORLD_WRITEABLE); 416 Editor ed = mPreferences.edit(); 482 if (mPreferences.contains("cardid")) { 484 id = mPreferences.getInt("cardid", ~mCardId); 489 q = mPreferences.getString("queue", ""); 520 int pos = mPreferences.getInt("curpos", 0); 567 long seekpos = mPreferences.getLong("seekpos", 0); 573 int repmode = mPreferences.getInt("repeatmode", REPEAT_NONE); 579 int shufmode = mPreferences.getInt("shufflemode", SHUFFLE_NONE) [all...] |