Home
last modified time | relevance | path

Searched refs:sharedPreferences (Results 1 – 7 of 7) sorted by relevance

/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DStorageProviderFragment.java87 final SharedPreferences sharedPreferences = in writeLoginValue() local
90 sharedPreferences.edit().putBoolean(getString(R.string.key_logged_in), loggedIn).commit(); in writeLoginValue()
97 final SharedPreferences sharedPreferences = in readLoginValue() local
100 return sharedPreferences.getBoolean(getString(R.string.key_logged_in), false); in readLoginValue()
DMyCloudProvider.java614 final SharedPreferences sharedPreferences =
617 return sharedPreferences.getBoolean(getContext().getString(R.string.key_logged_in), false);
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DFitDistanceWatchFaceConfigActivity.java74 SharedPreferences sharedPreferences = getPreferences(Context.MODE_PRIVATE); in onCreate() local
76 sharedPreferences.getBoolean(PREFS_FIT_ENABLED_BY_USER, false); in onCreate()
247 SharedPreferences sharedPreferences = getPreferences(Context.MODE_PRIVATE); in setUserFitPreferences() local
248 SharedPreferences.Editor editor = sharedPreferences.edit(); in setUserFitPreferences()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2Settings.java50 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in onSharedPreferenceChanged() argument
/development/samples/training/network-usage/src/com/example/android/networkusage/
DSettingsActivity.java61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java156 SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this); in onCreate() local
157 mSpeedLimit = sharedPreferences.getInt(PREFS_SPEED_LIMIT_KEY, SPEED_LIMIT_DEFAULT_MPH); in onCreate()
446 SharedPreferences sharedPreferences = in onActivityResult() local
448 SharedPreferences.Editor editor = sharedPreferences.edit(); in onActivityResult()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessagingFragment.java73 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {