/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/ |
D | LocalPreferences.java | 43 return getPrefs(context).getInt(createKey(ROOT_VIEW_MODE_PREFIX, root), fallback); in getViewMode() 48 return getPrefs(context).getBoolean(SHOW_HIDDEN_FILES, fallback); in getShowHiddenFiles() 53 getPrefs(context).edit().putInt(createKey(ROOT_VIEW_MODE_PREFIX, root), viewMode).apply(); in setViewMode() 59 getPrefs(context).edit() in setShowHiddenFiles() 64 private static SharedPreferences getPrefs(Context context) { in getPrefs() method in LocalPreferences
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | VoicemailProviderSettingsUtil.java | 55 SharedPreferences prefs = getPrefs(context); in load() 103 SharedPreferences prefs = getPrefs(context); in save() 136 SharedPreferences prefs = getPrefs(context); in delete() 143 private static SharedPreferences getPrefs(Context context) { in getPrefs() method in VoicemailProviderSettingsUtil
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 282 return Utilities.getPrefs(context).getBoolean(RESTORE_TASK_PENDING, false); in isPending() 287 Utilities.getPrefs(context).edit().putBoolean(RESTORE_TASK_PENDING, isPending).commit(); in setPending() 291 SharedPreferences prefs = Utilities.getPrefs(context); in restoreAppWidgetIdsIfExists() 306 Utilities.getPrefs(context).edit() in setRestoredAppWidgetIds()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProvider.java | 104 SharedPreferences.Editor editor = getPrefs(context).edit(); in openFile() 129 SharedPreferences prefs = getPrefs(context); in isCachedHtmlFileOutdated() 191 private static SharedPreferences getPrefs(Context context) { in getPrefs() method in ModuleLicenseProvider
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | SessionCommitReceiver.java | 124 return Utilities.getPrefs(context).getBoolean(ADD_ICON_PREFERENCE_KEY, true); in isEnabled() 131 SharedPreferences prefs = Utilities.getPrefs(context); in applyDefaultUserPrefs() 155 Utilities.getPrefs(mContext).edit() in doInBackground()
|
D | InstallShortcutReceiver.java | 108 SharedPreferences prefs = Utilities.getPrefs(context); in addToQueue() 123 SharedPreferences prefs = Utilities.getPrefs(context); in flushQueueInBackground() 164 SharedPreferences sp = Utilities.getPrefs(context); in removeFromInstallQueue() 262 Set<String> strings = Utilities.getPrefs(context).getStringSet(APPS_PENDING_INSTALL, null); in getPendingShortcuts()
|
D | InvariantDeviceProfile.java | 169 Utilities.getPrefs(context).edit().putString(KEY_IDP_GRID_NAME, newGridName).apply(); in InvariantDeviceProfile() 171 Utilities.getPrefs(context).edit() in InvariantDeviceProfile() 219 ? Utilities.getPrefs(context).getString(KEY_IDP_GRID_NAME, null) : null; in getCurrentGridName() 336 Utilities.getPrefs(appContext).edit().putString(KEY_IDP_GRID_NAME, gridName).apply(); in setCurrentGrid()
|
D | LauncherProvider.java | 370 Utilities.getPrefs(getContext()).getBoolean(EMPTY_DATABASE_CREATED, false)); in call() 495 Utilities.getPrefs(getContext()).edit().remove(EMPTY_DATABASE_CREATED).commit(); in clearFlagEmptyDbCreated() 506 SharedPreferences sp = Utilities.getPrefs(getContext()); in loadDefaultFavoritesIfNecessary() 701 Utilities.getPrefs(mContext).edit().putBoolean(EMPTY_DATABASE_CREATED, true).commit(); in onEmptyDbCreated()
|
D | Utilities.java | 485 public static SharedPreferences getPrefs(Context context) { in getPrefs() method in Utilities
|
D | Launcher.java | 375 mSharedPrefs = Utilities.getPrefs(this); in onCreate()
|
/packages/apps/Launcher3/src/com/android/launcher3/pm/ |
D | InstallSessionHelper.java | 19 import static com.android.launcher3.Utilities.getPrefs; 78 getPrefs(context).getString(PROMISE_ICON_IDS, ""))); in InstallSessionHelper() 127 getPrefs(mAppContext).edit() in updatePromiseIconPrefs()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | WorkModeSwitch.java | 77 Utilities.getPrefs(getContext()).edit().putInt(KEY_WORK_TIP_COUNTER, -1).apply(); in toggle() 193 SharedPreferences prefs = Utilities.getPrefs(context); in showTipIfNeeded()
|
/packages/apps/Launcher3/src/com/android/launcher3/qsb/ |
D | QsbContainerView.java | 204 int widgetId = Utilities.getPrefs(context).getInt(mKeyWidgetId, -1); in createQsb() 248 Utilities.getPrefs(getContext()).edit().putInt(mKeyWidgetId, widgetId).apply(); in saveWidgetId()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationTask.java | 882 Utilities.getPrefs(context).edit() 892 SharedPreferences prefs = Utilities.getPrefs(context); 923 SharedPreferences prefs = Utilities.getPrefs(context);
|
D | GridSizeMigrationTaskV2.java | 109 SharedPreferences prefs = Utilities.getPrefs(context); in needsToMigrate() 148 SharedPreferences prefs = Utilities.getPrefs(context); in migrateGridIfNeeded()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | RotationHelper.java | 102 mSharedPrefs = Utilities.getPrefs(mActivity); in RotationHelper()
|
/packages/apps/Launcher3/src/com/android/launcher3/settings/ |
D | SettingsActivity.java | 88 Utilities.getPrefs(getApplicationContext()).registerOnSharedPreferenceChangeListener(this); in onCreate()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RecentsOrientedState.java | 147 mSharedPrefs = Utilities.getPrefs(context); in RecentsOrientedState()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TouchInteractionService.java | 373 SharedPreferences sharedPrefs = Utilities.getPrefs(this); in resetHomeBounceSeenOnQuickstepEnabledFirstTime()
|