/packages/services/Telephony/src/com/android/phone/ |
D | GsmUmtsAdditionalCallOptions.java | 31 private final ArrayList<Preference> mPreferences = new ArrayList<Preference>(); field in GsmUmtsAdditionalCallOptions 86 mPreferences.add(mCLIRButton); in onCreate() 98 mPreferences.add(mCWButton); in onCreate() 105 if (mPreferences.size() != 0) { in onCreate() 111 mInitIndex = mPreferences.size(); in onCreate() 141 int indexOfStartInit = mPreferences.size(); in onResume() 149 if (mPreferences.contains(mCLIRButton)) { in onResume() 150 mPreferences.remove(mCLIRButton); in onResume() 155 if (!mPreferences.contains(mCLIRButton)) { in onResume() 157 mPreferences.add(mCLIRButton); in onResume() [all …]
|
D | CdmaCallForwardOptions.java | 58 private final ArrayList<CallForwardEditPreference> mPreferences = field in CdmaCallForwardOptions 108 mPreferences.add(mButtonCFU); in onCreate() 109 mPreferences.add(mButtonCFB); in onCreate() 110 mPreferences.add(mButtonCFNRy); in onCreate() 113 mPreferences.add(mButtonCFNRc); in onCreate() 128 mPreferences.remove(mButtonCFU); in onCreate() 129 mPreferences.remove(mButtonCFB); in onCreate() 130 mPreferences.remove(mButtonCFNRc); in onCreate() 155 CallForwardEditPreference pref = mPreferences.get(mInitIndex); in onResume() 160 mInitIndex = mPreferences.size(); in onResume() [all …]
|
D | GsmUmtsCallForwardOptions.java | 43 private final ArrayList<CallForwardEditPreference> mPreferences = field in GsmUmtsCallForwardOptions 99 mPreferences.add(mButtonCFU); in onCreate() 110 mPreferences.remove(mButtonCFU); in onCreate() 111 mPreferences.remove(mButtonCFB); in onCreate() 112 mPreferences.remove(mButtonCFNRc); in onCreate() 133 mPreferences.add(preference); in layoutCallForwardItem() 146 CallForwardEditPreference pref = mPreferences.get(mInitIndex); in onResume() 151 mInitIndex = mPreferences.size(); in onResume() 153 for (CallForwardEditPreference pref : mPreferences) { in onResume() 173 for (CallForwardEditPreference pref : mPreferences) { in onSaveInstanceState() [all …]
|
D | GsmUmtsCallBarringOptions.java | 108 private ArrayList<CallBarringEditPreference> mPreferences = field in GsmUmtsCallBarringOptions 331 for (CallBarringEditPreference pref : mPreferences) { in resetCallBarringPrefState() 409 mPreferences.add(mButtonBAOC); in onCreate() 410 mPreferences.add(mButtonBAOIC); in onCreate() 411 mPreferences.add(mButtonBAOICxH); in onCreate() 412 mPreferences.add(mButtonBAIC); in onCreate() 413 mPreferences.add(mButtonBAICr); in onCreate() 446 mInitIndex = mPreferences.size(); in onCreate() 448 for (CallBarringEditPreference pref : mPreferences) { in onCreate() 474 mPreferences.get(mInitIndex).init(this, false, mPhone); in onResume() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 87 private final SharedPreferences mPreferences; field in ContactsPreferences 105 mPreferences = mContext.getSharedPreferences(context.getPackageName(), in ContactsPreferences() 129 mSortOrder = mPreferences.getInt(SORT_ORDER_KEY, getDefaultSortOrder()); in getSortOrder() 136 final Editor editor = mPreferences.edit(); in setSortOrder() 159 mDisplayOrder = mPreferences.getInt(DISPLAY_ORDER_KEY, getDefaultDisplayOrder()); in getDisplayOrder() 166 final Editor editor = mPreferences.edit(); in setDisplayOrder() 187 final Editor editor = mPreferences.edit(); in setPhoneticNameDisplayPreference() 198 mPhoneticNameDisplayPreference = mPreferences.getInt(PHONETIC_NAME_DISPLAY_KEY, in getPhoneticNameDisplayPreference() 217 final String accountString = mPreferences in getDefaultAccount() 228 mPreferences.edit().remove(mDefaultAccountKey).commit(); in clearDefaultAccount() [all …]
|
D | PhoneticNameDisplayPreference.java | 35 private ContactsPreferences mPreferences; field in PhoneticNameDisplayPreference 49 mPreferences = new ContactsPreferences(mContext); in prepare() 58 setValue(String.valueOf(mPreferences.getPhoneticNameDisplayPreference())); in prepare() 68 switch (mPreferences.getPhoneticNameDisplayPreference()) { in getSummary() 80 if (newValue != mPreferences.getPhoneticNameDisplayPreference()) { in persistString() 81 mPreferences.setPhoneticNameDisplayPreference(newValue); in persistString()
|
D | SortOrderPreference.java | 31 private ContactsPreferences mPreferences; field in SortOrderPreference 46 mPreferences = new ContactsPreferences(mContext); in prepare() 55 setValue(String.valueOf(mPreferences.getSortOrder())); in prepare() 65 switch (mPreferences.getSortOrder()) { in getSummary() 77 if (newValue != mPreferences.getSortOrder()) { in persistString() 78 mPreferences.setSortOrder(newValue); in persistString()
|
D | DisplayOrderPreference.java | 31 private ContactsPreferences mPreferences; field in DisplayOrderPreference 46 mPreferences = new ContactsPreferences(mContext); in prepare() 55 setValue(String.valueOf(mPreferences.getDisplayOrder())); in prepare() 65 switch (mPreferences.getDisplayOrder()) { in getSummary() 77 if (newValue != mPreferences.getDisplayOrder()) { in persistString() 78 mPreferences.setDisplayOrder(newValue); in persistString()
|
D | DefaultAccountPreference.java | 33 private ContactsPreferences mPreferences; field in DefaultAccountPreference 63 mPreferences = new ContactsPreferences(getContext()); in prepare() 77 final AccountWithDataSet defaultAccount = mPreferences.getDefaultAccount(); in getSummary() 102 final AccountWithDataSet currentDefault = mPreferences.getDefaultAccount(); in onDialogClosed() 107 mPreferences.setDefaultAccount(chosenAccount); in onDialogClosed()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | UserDeniedManager.java | 39 private final SharedPreferences mPreferences; field in UserDeniedManager 58 mPreferences = context.getSharedPreferences(Constants.REQUEST_ROLE_USER_DENIED_FILE, in UserDeniedManager() 123 mPreferences.edit() in clearPackageDenied() 138 return mPreferences.getStringSet(key, Collections.emptySet()).contains(roleName); in isDenied() 144 Set<String> roleNames = mPreferences.getStringSet(key, Collections.emptySet()); in setDenied() 155 mPreferences.edit().remove(key).apply(); in setDenied() 157 mPreferences.edit().putStringSet(key, roleNames).apply(); in setDenied()
|
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/ |
D | EnabledKeyboardPreferenceController.java | 51 private final Map<String, Preference> mPreferences = new ArrayMap<>(); field in EnabledKeyboardPreferenceController 74 Set<String> preferencesToRemove = new HashSet<>(mPreferences.keySet()); in updateState() 83 if (mPreferences.containsKey(preference.getKey())) { in updateState() 84 Preference displayedPreference = mPreferences.get(preference.getKey()); in updateState() 105 preferenceGroup.removePreference(mPreferences.get(key)); in updatePreferenceGroup() 106 mPreferences.remove(key); in updatePreferenceGroup() 112 mPreferences.put(pref.getKey(), pref); in updatePreferenceGroup()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountListPreferenceController.java | 59 private final ArrayMap<String, Preference> mPreferences = new ArrayMap<>(); field in AccountListPreferenceController 147 Set<String> preferencesToRemove = new HashSet<>(mPreferences.keySet()); in forceUpdateAccountsCategory() 154 mPreferences.put(pref.getKey(), pref); in forceUpdateAccountsCategory() 159 getPreference().removePreference(mPreferences.get(key)); in forceUpdateAccountsCategory() 160 mPreferences.remove(key); in forceUpdateAccountsCategory() 197 AccountPreference preference = (AccountPreference) mPreferences.getOrDefault(key, in getAccountPreferences() 211 return Arrays.asList(mPreferences.getOrDefault(NO_ACCOUNT_PREF_KEY, in getAccountPreferences()
|
D | ChooseAccountPreferenceController.java | 61 private ArrayMap<String, AuthenticatorDescriptionPreference> mPreferences = new ArrayMap<>(); field in ChooseAccountPreferenceController 144 Set<String> preferencesToRemove = new HashSet<>(mPreferences.keySet()); in forceUpdateAccountsCategory() 153 mPreferences.put(key, preference); in forceUpdateAccountsCategory() 158 getPreference().removePreference(mPreferences.get(key)); in forceUpdateAccountsCategory() 159 mPreferences.remove(key); in forceUpdateAccountsCategory() 206 AuthenticatorDescriptionPreference preference = mPreferences.getOrDefault( in getAuthenticatorDescriptionPreferences()
|
/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() 1090 int attemptedCameraId = 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/services/Telephony/src/com/android/phone/vvm/ |
D | VisualVoicemailPreferences.java | 38 private final SharedPreferences mPreferences; field in VisualVoicemailPreferences 42 mPreferences = PreferenceManager.getDefaultSharedPreferences(context); in VisualVoicemailPreferences() 51 mEditor = mPreferences.edit(); in Editor() 129 return mPreferences.contains(getKey(key)); in contains() 136 Object object = mPreferences.getAll().get(getKey(key)); in getValue()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | MobileNetworkListController.java | 59 private Map<Integer, Preference> mPreferences; field in MobileNetworkListController 65 mPreferences = new ArrayMap<>(); in MobileNetworkListController() 97 final Map<Integer, Preference> existingPreferences = mPreferences; in update() 98 mPreferences = new ArrayMap<>(); in update() 131 mPreferences.put(subId, pref); in update()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileNetworkListController.java | 59 private Map<Integer, Preference> mPreferences; field in MobileNetworkListController 65 mPreferences = new ArrayMap<>(); in MobileNetworkListController() 97 final Map<Integer, Preference> existingPreferences = mPreferences; in update() 98 mPreferences = new ArrayMap<>(); in update() 136 mPreferences.put(subId, pref); in update()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | WallpaperSetter.java | 46 private final WallpaperPreferences mPreferences; field in WallpaperSetter 57 mPreferences = preferences; in WallpaperSetter() 83 mPreferences.setPendingWallpaperSetStatus( in setCurrentWallpaper() 167 mPreferences.setPendingWallpaperSetStatus( in onWallpaperApplied() 177 mPreferences.setPendingWallpaperSetStatus( in onWallpaperApplyError()
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
D | OneTimeInitializer.java | 56 private SharedPreferences mPreferences; field in OneTimeInitializer 61 mPreferences = mContext.getSharedPreferences(SHARED_PREFS_FILE, Context.MODE_PRIVATE); in OneTimeInitializer() 84 return mPreferences.getInt(MAPPING_VERSION_PREF, 0); in getMappingVersion() 88 SharedPreferences.Editor ed = mPreferences.edit(); in updateMappingVersion()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/view/ |
D | ViewEmergencyInfoFragment.java | 40 private final List<Preference> mPreferences = new ArrayList<Preference>(); field in ViewEmergencyInfoFragment 48 mPreferences.add(preference); in onCreatePreferences() 69 for (Preference preference : mPreferences) { in onResume()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipEditor.java | 565 private Preference[] mPreferences; field in SipEditor.AdvancedSettings 584 mPreferences = new Preference[group.getPreferenceCount()]; in loadAdvancedPreferences() 586 for (int i = 0, n = mPreferences.length; i < n; i++) { in loadAdvancedPreferences() 590 mPreferences[i] = pref; in loadAdvancedPreferences() 598 for (Preference pref : mPreferences) { in show() 611 for (Preference pref : mPreferences) { in hide()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactDialogFragment.java | 57 private final ContactsPreferences mPreferences; field in PickRawContactDialogFragment.RawContactAccountListAdapter 64 mPreferences = new ContactsPreferences(context); in RawContactAccountListAdapter() 104 mPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY in getView()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperPickerDelegate.java | 74 private WallpaperPreferences mPreferences; field in WallpaperPickerDelegate 93 mPreferences = injector.getPreferences(activity); in WallpaperPickerDelegate() 375 return mPreferences; in getPreferences()
|