HomeSort by relevance Sort by last modified time
    Searched refs:sharedPrefs (Results 1 - 10 of 10) sorted by null

  /packages/apps/Launcher2/src/com/android/launcher2/
UninstallShortcutReceiver.java 85 SharedPreferences sharedPrefs = context.getSharedPreferences(spKey, Context.MODE_PRIVATE);
91 removeShortcut(context, data, sharedPrefs);
96 final SharedPreferences sharedPrefs) {
141 newApps = sharedPrefs.getStringSet(InstallShortcutReceiver.NEW_APPS_LIST_KEY, newApps);
152 SharedPreferences.Editor editor = sharedPrefs.edit();
InstallShortcutReceiver.java 68 private static void addToStringSet(SharedPreferences sharedPrefs,
70 Set<String> strings = sharedPrefs.getStringSet(key, null);
81 SharedPreferences sharedPrefs, PendingInstallShortcutInfo info) {
101 SharedPreferences.Editor editor = sharedPrefs.edit();
102 addToStringSet(sharedPrefs, editor, APPS_PENDING_INSTALL, json.toString());
111 SharedPreferences sharedPrefs) {
113 Set<String> strings = sharedPrefs.getStringSet(APPS_PENDING_INSTALL, null);
150 sharedPrefs.edit().putStringSet(APPS_PENDING_INSTALL, new HashSet<String>()).commit();
280 final SharedPreferences sharedPrefs, int[] result) {
302 final int newAppsScreen = sharedPrefs.getInt
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/util/
WallpaperUtils.java 39 final SharedPreferences sharedPrefs,
45 int savedWidth = sharedPrefs.getInt(WALLPAPER_WIDTH_KEY, -1);
46 int savedHeight = sharedPrefs.getInt(WALLPAPER_HEIGHT_KEY, -1);
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastReceiver.java 151 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context);
155 sharedPrefs.edit().putBoolean(
161 sharedPrefs.edit().putBoolean(
167 sharedPrefs.edit().putBoolean(
172 sharedPrefs.edit().putBoolean(
  /development/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java 100 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);
104 sPref = sharedPrefs.getString("listPref", "Wi-Fi");
226 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);
227 boolean pref = sharedPrefs.getBoolean("summaryPref", false);
  /frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java 100 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);
104 sPref = sharedPrefs.getString("listPref", "Wi-Fi");
226 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);
227 boolean pref = sharedPrefs.getBoolean("summaryPref", false);
  /packages/apps/Launcher3/src/com/android/launcher3/
InstallShortcutReceiver.java 74 SharedPreferences sharedPrefs, PendingInstallShortcutInfo info) {
78 Set<String> strings = sharedPrefs.getStringSet(APPS_PENDING_INSTALL, null);
85 sharedPrefs.edit().putStringSet(APPS_PENDING_INSTALL, strings).apply();
119 SharedPreferences sharedPrefs, Context context) {
121 Set<String> strings = sharedPrefs.getStringSet(APPS_PENDING_INSTALL, null);
134 sharedPrefs.edit().putStringSet(APPS_PENDING_INSTALL, new HashSet<String>()).apply();
LauncherClings.java 248 SharedPreferences sharedPrefs = mLauncher.getSharedPrefs();
250 !sharedPrefs.getBoolean(WORKSPACE_CLING_DISMISSED_KEY, false) &&
251 !sharedPrefs.getBoolean(MIGRATION_CLING_DISMISSED_KEY, false);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
SuggestionParser.java 82 public SuggestionParser(Context context, SharedPreferences sharedPrefs, int orderXml) {
86 mSharedPrefs = sharedPrefs;
  /packages/services/Telephony/src/com/android/phone/
CarrierConfigLoader.java 328 SharedPreferences sharedPrefs =
330 final String lastFingerprint = sharedPrefs.getString(KEY_FINGERPRINT, null);
335 sharedPrefs.edit().putString(KEY_FINGERPRINT, Build.FINGERPRINT).apply();
    [all...]

Completed in 1287 milliseconds