OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getPreferences
(Results
1 - 25
of
123
) sorted by null
1
2
3
4
5
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
PreferenceManager.java
23
List<Preference>
getPreferences
();
DisplayOptionsPreferenceFragment.java
82
for (Preference preference : preferenceManager.
getPreferences
()) {
/development/samples/ApiDemos/src/com/example/android/apis/app/
PersistentState.java
99
SharedPreferences prefs =
getPreferences
(0);
120
SharedPreferences.Editor editor =
getPreferences
(0).edit();
/packages/apps/Email/provider_src/com/android/email/
DebugUtils.java
18
final Preferences prefs = Preferences.
getPreferences
(context);
32
Preferences prefs = Preferences.
getPreferences
(context);
Preferences.java
101
public static synchronized Preferences
getPreferences
(Context context) {
109
return
getPreferences
(context).mSharedPreferences;
113
return
getPreferences
(context).mSharedPreferences.getString(ACCOUNT_UUIDS, null);
117
getPreferences
(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply();
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerService.java
168
getPreferences
().registerOnSharedPreferenceChangeListener(mPrefListener);
183
private SharedPreferences
getPreferences
() {
188
return
getPreferences
().getBoolean(NETWORK_PREF, true);
192
return
getPreferences
().getBoolean(GPS_PREF, true);
196
return
getPreferences
().getBoolean(DEBUG_PREF, false);
200
return
getPreferences
().getBoolean(SIGNAL_PREF, false);
205
String disString =
getPreferences
().getString(MIN_DIS_PREF, "0");
216
String timeString =
getPreferences
().getString(MIN_TIME_PREF, "0");
263
getPreferences
().unregisterOnSharedPreferenceChangeListener(mPrefListener);
/cts/tests/sample/src/android/sample/
SampleDeviceActivity.java
38
mPreferences =
getPreferences
(Context.MODE_PRIVATE);
/external/junit/src/junit/runner/
BaseTestRunner.java
46
protected static Properties
getPreferences
() {
59
getPreferences
().store(fos, "");
67
getPreferences
().put(key, value);
241
setPreferences(new Properties(
getPreferences
()));
242
getPreferences
().load(is);
253
return
getPreferences
().getProperty(key);
/external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/
CalibrationResult.java
18
SharedPreferences sharedPref = activity.
getPreferences
(Context.MODE_PRIVATE);
43
SharedPreferences sharedPref = activity.
getPreferences
(Context.MODE_PRIVATE);
/external/libgdx/gdx/src/com/badlogic/gdx/
Application.java
169
public Preferences
getPreferences
(String name);
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
PreferencesTest.java
26
Preferences prefs = Gdx.app.
getPreferences
(".test");
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
MailAppProvider.java
325
return
getPreferences
().getString(LAST_VIEWED_ACCOUNT_KEY, null);
332
final SharedPreferences.Editor editor =
getPreferences
().edit();
342
return
getPreferences
().getString(LAST_SENT_FROM_ACCOUNT_KEY, null);
350
final SharedPreferences.Editor editor =
getPreferences
().edit();
358
final String accountsJson =
getPreferences
().getString(ACCOUNT_LIST_KEY, null);
412
final SharedPreferences.Editor editor =
getPreferences
().edit();
417
private SharedPreferences
getPreferences
() {
/developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
FitDistanceWatchFaceConfigActivity.java
74
SharedPreferences sharedPreferences =
getPreferences
(Context.MODE_PRIVATE);
247
SharedPreferences sharedPreferences =
getPreferences
(Context.MODE_PRIVATE);
/developers/samples/android/wearable/wear/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
FitDistanceWatchFaceConfigActivity.java
74
SharedPreferences sharedPreferences =
getPreferences
(Context.MODE_PRIVATE);
247
SharedPreferences sharedPreferences =
getPreferences
(Context.MODE_PRIVATE);
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
FitDistanceWatchFaceConfigActivity.java
74
SharedPreferences sharedPreferences =
getPreferences
(Context.MODE_PRIVATE);
247
SharedPreferences sharedPreferences =
getPreferences
(Context.MODE_PRIVATE);
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
AppWidgetHostActivity.java
93
SharedPreferences.Editor prefs =
getPreferences
(0).edit();
120
int appWidgetId =
getPreferences
(0).getInt(PENDING_APPWIDGET_ID, -1);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
PolicySerializationTestActivity.java
109
SharedPreferences prefs =
getPreferences
(MODE_PRIVATE);
128
SharedPreferences prefs =
getPreferences
(MODE_PRIVATE);
161
SharedPreferences prefs =
getPreferences
(MODE_PRIVATE);
/packages/apps/Email/src/com/android/email/activity/setup/
DebugFragment.java
55
mPreferences = Preferences.
getPreferences
(context);
/external/libgdx/backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/
HeadlessApplication.java
209
public Preferences
getPreferences
(String name) {
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gwt/
GwtTest.java
59
Preferences pref = Gdx.app.
getPreferences
("test");
/external/libgdx/tests/gdx-tests-lwjgl3/src/com/badlogic/gdx/tests/lwjgl3/
Lwjgl3TestStarter.java
54
final Preferences prefs = Gdx.app.
getPreferences
("lwjgl3-tests");
/packages/apps/Email/src/com/android/email/preferences/
EmailPreferenceMigrator.java
73
final Preferences preferences = Preferences.
getPreferences
(context);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ActivityTest.java
402
SharedPreferences preferences = activity.
getPreferences
(Context.MODE_PRIVATE);
405
assertThat(activity.
getPreferences
(Context.MODE_PRIVATE).getString("foo", null), equalTo("bar"));
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
AndroidDaydream.java
299
public Preferences
getPreferences
(String name) {
AndroidLiveWallpaper.java
252
public Preferences
getPreferences
(String name) {
Completed in 1400 milliseconds
1
2
3
4
5