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

  /external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
AndroidPreferences.java 29 SharedPreferences sharedPrefs;
33 this.sharedPrefs = preferences;
86 return sharedPrefs.getBoolean(key, false);
91 return sharedPrefs.getInt(key, 0);
96 return sharedPrefs.getLong(key, 0);
101 return sharedPrefs.getFloat(key, 0);
106 return sharedPrefs.getString(key, "");
111 return sharedPrefs.getBoolean(key, defValue);
116 return sharedPrefs.getInt(key, defValue);
121 return sharedPrefs.getLong(key, defValue);
    [all...]
  /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 182 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context);
186 sharedPrefs.edit().putBoolean(
192 sharedPrefs.edit().putBoolean(
198 sharedPrefs.edit().putBoolean(
203 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 81 public SuggestionParser(Context context, SharedPreferences sharedPrefs, int orderXml) {
85 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 265 milliseconds