/packages/services/Telephony/src/com/android/phone/ |
D | GsmUmtsCallForwardOptions.java | 39 private final ArrayList<CallForwardEditPreference> mPreferences = field in GsmUmtsCallForwardOptions 63 mPreferences.add(mButtonCFU); in onCreate() 64 mPreferences.add(mButtonCFB); in onCreate() 65 mPreferences.add(mButtonCFNRy); in onCreate() 66 mPreferences.add(mButtonCFNRc); in onCreate() 89 mPreferences.get(mInitIndex).init(this, false); in onResume() 91 mInitIndex = mPreferences.size(); in onResume() 93 for (CallForwardEditPreference pref : mPreferences) { in onResume() 112 for (CallForwardEditPreference pref : mPreferences) { in onSaveInstanceState() 125 if (mInitIndex < mPreferences.size()-1 && !isFinishing()) { in onFinished() [all …]
|
D | GsmUmtsAdditionalCallOptions.java | 24 private final ArrayList<Preference> mPreferences = new ArrayList<Preference>(); field in GsmUmtsAdditionalCallOptions 37 mPreferences.add(mCLIRButton); in onCreate() 38 mPreferences.add(mCWButton); in onCreate() 45 mInitIndex = mPreferences.size(); in onCreate() 76 if (mInitIndex < mPreferences.size()-1 && !isFinishing()) { in onFinished() 78 Preference pref = mPreferences.get(mInitIndex); in onFinished()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/ |
D | ContactsPreferences.java | 69 private final SharedPreferences mPreferences; field in ContactsPreferences 74 mPreferences = mContext.getSharedPreferences(context.getPackageName(), in ContactsPreferences() 96 mSortOrder = mPreferences.getInt(SORT_ORDER_KEY, getDefaultSortOrder()); in getSortOrder() 103 final Editor editor = mPreferences.edit(); in setSortOrder() 125 mDisplayOrder = mPreferences.getInt(DISPLAY_ORDER_KEY, getDefaultDisplayOrder()); in getDisplayOrder() 132 final Editor editor = mPreferences.edit(); in setDisplayOrder() 147 mPreferences.registerOnSharedPreferenceChangeListener(this); in registerChangeListener() 155 mPreferences.unregisterOnSharedPreferenceChangeListener(this); in unregisterChangeListener() 185 if (!mPreferences.contains(SORT_ORDER_KEY)) { in maybeMigrateSystemSettings() 195 if (!mPreferences.contains(DISPLAY_ORDER_KEY)) { in maybeMigrateSystemSettings()
|
D | SortOrderPreference.java | 32 private ContactsPreferences mPreferences; field in SortOrderPreference 47 mPreferences = new ContactsPreferences(mContext); in prepare() 56 setValue(String.valueOf(mPreferences.getSortOrder())); in prepare() 66 switch (mPreferences.getSortOrder()) { in getSummary() 78 if (newValue != mPreferences.getSortOrder()) { in persistString() 79 mPreferences.setSortOrder(newValue); in persistString()
|
D | DisplayOrderPreference.java | 33 private ContactsPreferences mPreferences; field in DisplayOrderPreference 48 mPreferences = new ContactsPreferences(mContext); in prepare() 57 setValue(String.valueOf(mPreferences.getDisplayOrder())); in prepare() 67 switch (mPreferences.getDisplayOrder()) { in getSummary() 79 if (newValue != mPreferences.getDisplayOrder()) { in persistString() 80 mPreferences.setDisplayOrder(newValue); in persistString()
|
/packages/apps/Camera/src/com/android/camera/ |
D | PhotoModule.java | 166 private ComboPreferences mPreferences; field in PhotoModule 465 mPreferences = new ComboPreferences(mActivity); in init() 466 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); in init() 467 mCameraId = getPreferredCameraId(mPreferences); in init() 487 mPreferences.setLocalId(mActivity, mCameraId); in init() 488 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); in init() 507 if (RecordLocationPreference.isSet(mPreferences)) { in locationFirstRun() 543 mPreferences.edit() in setLocationPreference() 615 String value = mPreferences.getString(CameraSettings.KEY_EXPOSURE, in resetExposureCompensation() 618 Editor editor = mPreferences.edit(); in resetExposureCompensation() [all …]
|
D | VideoModule.java | 136 private ComboPreferences mPreferences; field in VideoModule 420 mPreferences = new ComboPreferences(mActivity); in init() 421 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); in init() 422 mCameraId = getPreferredCameraId(mPreferences); in init() 424 mPreferences.setLocalId(mActivity, mCameraId); in init() 425 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); in init() 696 mPreferences.getString(CameraSettings.KEY_VIDEO_QUALITY, in readVideoPreferences() 723 mEffectType = CameraSettings.readEffectType(mPreferences); in readVideoPreferences() 725 mEffectParameter = CameraSettings.readEffectParameter(mPreferences); in readVideoPreferences() 736 String frameIntervalStr = mPreferences.getString( in readVideoPreferences() [all …]
|
D | PieController.java | 44 private List<IconListPreference> mPreferences; field in PieController 55 mPreferences = new ArrayList<IconListPreference>(); in PieController() 105 mPreferences.add(pref); in addItem()
|
D | FocusOverlayManager.java | 94 private ComboPreferences mPreferences; field in FocusOverlayManager 129 mPreferences = preferences; in FocusOverlayManager() 440 mFocusMode = mPreferences.getString( in getFocusMode()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | VideoCamera.java | 145 private ComboPreferences mPreferences; field in VideoCamera 358 mPreferences = new ComboPreferences(this); in onCreate() 359 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); in onCreate() 360 mCameraId = CameraSettings.readPreferredCameraId(mPreferences); in onCreate() 368 mPreferences.setLocalId(this, mCameraId); in onCreate() 369 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); in onCreate() 721 mPreferences.getString(CameraSettings.KEY_VIDEO_QUALITY, in readVideoPreferences() 748 mEffectType = CameraSettings.readEffectType(mPreferences); in readVideoPreferences() 750 mEffectParameter = CameraSettings.readEffectParameter(mPreferences); in readVideoPreferences() 772 String frameIntervalStr = mPreferences.getString( in readVideoPreferences() [all …]
|
D | Camera.java | 139 private ComboPreferences mPreferences; field in Camera 328 String value = mPreferences.getString(CameraSettings.KEY_EXPOSURE, in resetExposureCompensation() 331 Editor editor = mPreferences.edit(); in resetExposureCompensation() 363 mPreferences, getContentResolver()); in initializeFirstTime() 397 mPreferences.getBoolean(CameraSettings.KEY_CAMERA_FIRST_USE_HINT_SHOWN, true)) { in initializeFirstTime() 444 mPreferences, getContentResolver()); in initializeSecondTime() 710 updateExposureOnScreenIndicator(CameraSettings.readExposure(mPreferences)); in updateOnScreenIndicators() 1086 mPreferences = new ComboPreferences(this); in getPreferredCameraId() 1087 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); in getPreferredCameraId() 1088 mCameraId = CameraSettings.readPreferredCameraId(mPreferences); in getPreferredCameraId() [all …]
|
D | FocusManager.java | 73 private ComboPreferences mPreferences; field in FocusManager 101 mPreferences = preferences; in FocusManager() 360 mFocusMode = mPreferences.getString( in getFocusMode()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 83 private HashMap<String, VpnPreference> mPreferences = new HashMap<String, VpnPreference>(); field in VpnSettings 142 while (mPreferences.containsKey(Long.toHexString(millis))) { in onOptionsItemSelected() 209 if (mPreferences.size() == 0) { in onResume() 217 mPreferences.put(profile.key, pref); in onResume() 273 VpnPreference preference = mPreferences.get(profile.key); in onClick() 280 mPreferences.put(profile.key, preference); in onClick() 322 VpnPreference preference = mPreferences.get(mSelectedKey); in onContextItemSelected() 337 mPreferences.remove(mSelectedKey); in onContextItemSelected() 366 while (mPreferences.containsKey(Long.toHexString(millis))) { in onPreferenceClick() 385 VpnPreference preference = mPreferences.get(mInfo.key); in handleMessage() [all …]
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipSharedPreferences.java | 44 private SharedPreferences mPreferences; field in SipSharedPreferences 48 mPreferences = context.getSharedPreferences( in SipSharedPreferences() 59 return mPreferences.getString(KEY_PRIMARY_ACCOUNT, null); in getPrimaryAccount() 63 SharedPreferences.Editor editor = mPreferences.edit(); in setProfilesCount() 69 return mPreferences.getInt(KEY_NUMBER_OF_PROFILES, 0); in getProfilesCount() 110 if (mPreferences.contains(KEY_PRIMARY_ACCOUNT)) { in cleanupPrimaryAccountSetting() 111 SharedPreferences.Editor editor = mPreferences.edit(); in cleanupPrimaryAccountSetting()
|
D | SipEditor.java | 523 private Preference[] mPreferences; field in SipEditor.AdvancedSettings 542 mPreferences = new Preference[group.getPreferenceCount()]; in loadAdvancedPreferences() 544 for (int i = 0, n = mPreferences.length; i < n; i++) { in loadAdvancedPreferences() 548 mPreferences[i] = pref; in loadAdvancedPreferences() 556 for (Preference pref : mPreferences) { in show() 569 for (Preference pref : mPreferences) { in hide()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | DebugFragment.java | 40 private Preferences mPreferences; field in DebugFragment 54 mPreferences = Preferences.getPreferences(context); in onCreateView() 79 enableStrictModeView.setChecked(mPreferences.getEnableStrictMode()); in onCreateView() 89 mPreferences.setEnableDebugLogging(isChecked); in onCheckedChanged() 94 mPreferences.setEnableExchangeLogging(isChecked); in onCheckedChanged() 98 mPreferences.setEnableExchangeFileLogging(isChecked); in onCheckedChanged() 102 mPreferences.setEnableStrictMode(isChecked); in onCheckedChanged()
|
/packages/apps/Browser/src/com/android/browser/widget/ |
D | BookmarkThumbnailWidgetService.java | 168 private SharedPreferences mPreferences = null; field in BookmarkThumbnailWidgetService.BookmarkFactory 176 if (mPreferences == null) { in syncState() 177 mPreferences = getWidgetState(mContext, mWidgetId); in syncState() 179 long currentFolder = mPreferences.getLong(STATE_CURRENT_FOLDER, -1); in syncState() 180 mRootFolder = mPreferences.getLong(STATE_ROOT_FOLDER, -1); in syncState() 188 if (mPreferences == null) { in saveState() 189 mPreferences = getWidgetState(mContext, mWidgetId); in saveState() 191 mPreferences.edit() in saveState()
|
/packages/apps/Music/src/com/android/music/ |
D | MediaPlaybackService.java | 153 private SharedPreferences mPreferences; field in MediaPlaybackService 338 mPreferences = getSharedPreferences("Music", MODE_WORLD_READABLE | MODE_WORLD_WRITEABLE); in onCreate() 416 Editor ed = mPreferences.edit(); in saveQueue() 482 if (mPreferences.contains("cardid")) { in reloadQueue() 484 id = mPreferences.getInt("cardid", ~mCardId); in reloadQueue() 489 q = mPreferences.getString("queue", ""); in reloadQueue() 520 int pos = mPreferences.getInt("curpos", 0); in reloadQueue() 567 long seekpos = mPreferences.getLong("seekpos", 0); in reloadQueue() 573 int repmode = mPreferences.getInt("repeatmode", REPEAT_NONE); in reloadQueue() 579 int shufmode = mPreferences.getInt("shufflemode", SHUFFLE_NONE); in reloadQueue() [all …]
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | DownloadManager.java | 67 private final SharedPreferences mPreferences; field in DownloadManager 104 mAutoDownload = getAutoDownloadState(mPreferences, isRoaming); 118 mPreferences = PreferenceManager.getDefaultSharedPreferences(context); in DownloadManager() 119 mPreferences.registerOnSharedPreferenceChangeListener(mPreferencesChangeListener); in DownloadManager() 125 mAutoDownload = getAutoDownloadState(mPreferences); in DownloadManager()
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
D | OneTimeInitializerService.java | 60 private SharedPreferences mPreferences; field in OneTimeInitializerService 69 mPreferences = getSharedPreferences(SHARED_PREFS_FILE, Context.MODE_PRIVATE); in onCreate() 93 return mPreferences.getInt(MAPPING_VERSION_PREF, 0); in getMappingVersion() 97 SharedPreferences.Editor ed = mPreferences.edit(); in updateMappingVersion()
|
/packages/apps/Dialer/src/com/android/dialer/settings/ |
D | DialerSettingsActivity.java | 30 protected SharedPreferences mPreferences; field in DialerSettingsActivity 38 mPreferences = PreferenceManager.getDefaultSharedPreferences(this); in onCreate()
|