OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SharedPreferences
(Results
1 - 25
of
610
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/content/
SharedPreferences.java
19
public class
SharedPreferences
{
21
public void onSharedPreferenceChanged(
SharedPreferences
sharedPreferences
, String key);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
LetterConverter.java
19
import android.content.
SharedPreferences
;
48
public void setPreferences(
SharedPreferences
pref);
InputViewManager.java
20
import android.content.
SharedPreferences
;
60
public void setPreferences(
SharedPreferences
pref, EditorInfo editor);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
CommonPreferences.java
20
import android.content.
SharedPreferences
;
25
public static
SharedPreferences
getCommonPreferences(final Context context) {
29
public static void enable(final
SharedPreferences
pref, final String id) {
30
final
SharedPreferences
.Editor editor = pref.edit();
35
public static void disable(final
SharedPreferences
pref, final String id) {
36
final
SharedPreferences
.Editor editor = pref.edit();
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherExterns.java
19
import android.content.
SharedPreferences
;
29
public
SharedPreferences
getSharedPrefs();
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/define/
DebugFlags.java
19
import android.content.
SharedPreferences
;
29
public static void init(final
SharedPreferences
prefs) {
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
PreferencesMonitor.java
20
import android.content.
SharedPreferences
;
21
import android.content.
SharedPreferences
.OnSharedPreferenceChangeListener;
37
private final
SharedPreferences
mPrefs;
43
SharedPreferences
prefs,
60
void onSharedPreferenceChanged(
SharedPreferences
prefs, String key) {
PrefsBackupHelper.java
19
import android.content.
SharedPreferences
;
20
import android.content.
SharedPreferences
.Editor;
31
private
SharedPreferences
mDefaultPreferences;
34
PrefsBackupHelper(
SharedPreferences
overridePreferences) {
45
void getBackupPreferences(
SharedPreferences
prefs) {
56
void putBackupPreferences(
SharedPreferences
prefs) {
63
private void copyMatchingPreferences(
SharedPreferences
source, Editor destination) {
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
BroadcastIntentReceiver.java
22
import android.content.
SharedPreferences
;
33
SharedPreferences
prefs = c.getSharedPreferences(PREFERENCES_NAME, Context.MODE_PRIVATE);
34
SharedPreferences
.Editor editor = prefs.edit();
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
CubeWallpaper2Settings.java
21
import android.content.
SharedPreferences
;
26
implements
SharedPreferences
.OnSharedPreferenceChangeListener {
50
public void onSharedPreferenceChanged(
SharedPreferences
sharedPreferences
,
/development/samples/training/network-usage/src/com/example/android/networkusage/
SettingsActivity.java
17
import android.content.
SharedPreferences
;
18
import android.content.
SharedPreferences
.OnSharedPreferenceChangeListener;
61
public void onSharedPreferenceChanged(
SharedPreferences
sharedPreferences
, String key) {
/frameworks/base/packages/Shell/src/com/android/shell/
BugreportPrefs.java
20
import android.content.
SharedPreferences
;
37
final
SharedPreferences
prefs = context.getSharedPreferences(
43
final
SharedPreferences
prefs = context.getSharedPreferences(
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
SettingsActivity.java
17
import android.content.
SharedPreferences
;
18
import android.content.
SharedPreferences
.OnSharedPreferenceChangeListener;
61
public void onSharedPreferenceChanged(
SharedPreferences
sharedPreferences
, String key) {
/frameworks/ex/common/java/com/android/common/
SharedPreferencesCompat.java
19
import android.content.
SharedPreferences
;
25
* Reflection utils to call
SharedPreferences
$Editor.apply when possible,
32
Class cls =
SharedPreferences
.Editor.class;
39
public static void apply(
SharedPreferences
.Editor editor) {
/frameworks/support/compat/java/android/support/v4/content/
SharedPreferencesCompat.java
19
import android.content.
SharedPreferences
;
32
public void apply(@NonNull
SharedPreferences
.Editor editor) {
37
//
SharedPreferences
.Editor implementation without
57
public void apply(@NonNull
SharedPreferences
.Editor editor) {
/packages/apps/DeskClock/src/com/android/deskclock/data/
WidgetModel.java
19
import android.content.
SharedPreferences
;
30
private final
SharedPreferences
mPrefs;
32
WidgetModel(
SharedPreferences
prefs) {
WidgetDAO.java
19
import android.content.
SharedPreferences
;
23
* in {@link
SharedPreferences
}.
37
static int updateWidgetCount(
SharedPreferences
prefs, Class widgetProviderClass, int count) {
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
TabDAO.java
19
import android.content.
SharedPreferences
;
24
* This class encapsulates the storage of tab data in {@link
SharedPreferences
}.
36
static Tab getSelectedTab(
SharedPreferences
prefs) {
44
static void setSelectedTab(
SharedPreferences
prefs, Tab tab) {
/packages/apps/Music/src/com/android/music/
SharedPreferencesCompat.java
19
import android.content.
SharedPreferences
;
25
* Reflection utils to call
SharedPreferences
$Editor.apply when possible,
33
Class cls =
SharedPreferences
.Editor.class;
41
public static void apply(
SharedPreferences
.Editor editor) {
/external/libmojo/base/android/java/src/org/chromium/base/
ContextUtils.java
8
import android.content.
SharedPreferences
;
26
private static
SharedPreferences
sSharedPreferences = fetchAppSharedPreferences();
77
private static
SharedPreferences
fetchAppSharedPreferences() {
88
public static
SharedPreferences
getAppSharedPreferences() {
/packages/apps/Contacts/src/com/android/contacts/testing/
InjectedServices.java
20
import android.content.
SharedPreferences
;
34
private
SharedPreferences
mSharedPreferences;
45
public void setSharedPreferences(
SharedPreferences
sharedPreferences
) {
46
this.mSharedPreferences =
sharedPreferences
;
49
public
SharedPreferences
getSharedPreferences() {
/packages/apps/Dialer/java/com/android/contacts/common/testing/
InjectedServices.java
20
import android.content.
SharedPreferences
;
32
private
SharedPreferences
mSharedPreferences;
43
public
SharedPreferences
getSharedPreferences() {
47
public void setSharedPreferences(
SharedPreferences
sharedPreferences
) {
48
this.mSharedPreferences =
sharedPreferences
;
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
SharedPrefUtil.java
32
import android.content.
SharedPreferences
;
42
SharedPreferences
eabPref = context.getSharedPreferences(
48
SharedPreferences
.Editor eabPref = context.getSharedPreferences(
55
SharedPreferences
pref = context.getSharedPreferences(EAB_SHARED_PREF,
62
SharedPreferences
.Editor eabPref = context.getSharedPreferences(
69
SharedPreferences
pref = context.getSharedPreferences(EAB_SHARED_PREF,
76
SharedPreferences
.Editor eabPref = context.getSharedPreferences(
83
SharedPreferences
pref = context.getSharedPreferences(EAB_SHARED_PREF,
90
SharedPreferences
.Editor eabPref = context.getSharedPreferences(
98
SharedPreferences
.Editor eabPref = context.getSharedPreferences
[
all
...]
/packages/apps/Messaging/src/com/android/messaging/util/
BuglePrefsImpl.java
20
import android.content.
SharedPreferences
;
45
final
SharedPreferences
prefs = mContext.getSharedPreferences(
53
final
SharedPreferences
prefs = mContext.getSharedPreferences(
61
final
SharedPreferences
prefs = mContext.getSharedPreferences(
69
final
SharedPreferences
prefs = mContext.getSharedPreferences(
83
final
SharedPreferences
prefs = mContext.getSharedPreferences(
85
final
SharedPreferences
.Editor editor = prefs.edit();
93
final
SharedPreferences
prefs = mContext.getSharedPreferences(
95
final
SharedPreferences
.Editor editor = prefs.edit();
103
final
SharedPreferences
prefs = mContext.getSharedPreferences
[
all
...]
/cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java
21
import android.content.
SharedPreferences
;
37
* Test {@link
SharedPreferences
}.
51
SharedPreferences
prefs = getPrefs();
64
private
SharedPreferences
getPrefs() {
73
SharedPreferences
prefs = getPrefs();
80
SharedPreferences
prefs = getPrefs();
94
SharedPreferences
prefs = getPrefs();
98
SharedPreferences
.Editor editor = prefs.edit().putString("test-key", null);
108
public abstract void setUp(
SharedPreferences
.Editor editor);
112
public abstract void subsequentEdit(
SharedPreferences
.Editor editor)
[
all
...]
Completed in 850 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>