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
430
) 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/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/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/settings/
AdditionalFeaturesSettingUtils.java
20
import android.content.
SharedPreferences
;
40
final
SharedPreferences
prefs, final int[] additionalFeaturesPreferences) {
/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
;
35
final
SharedPreferences
prefs = context.getSharedPreferences(
41
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) {
/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) {
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
PolarClockSettings.java
21
import android.content.
SharedPreferences
;
26
implements
SharedPreferences
.OnSharedPreferenceChangeListener {
50
public void onSharedPreferenceChanged(
SharedPreferences
sharedPreferences
,
/packages/apps/ContactsCommon/src/com/android/contacts/common/testing/
InjectedServices.java
20
import android.content.
SharedPreferences
;
36
private
SharedPreferences
mSharedPreferences;
49
public void setSharedPreferences(
SharedPreferences
sharedPreferences
) {
50
this.mSharedPreferences =
sharedPreferences
;
53
public
SharedPreferences
getSharedPreferences() {
/cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java
22
import android.content.
SharedPreferences
;
36
* Test {@link
SharedPreferences
}.
52
SharedPreferences
prefs = getPrefs();
62
private
SharedPreferences
getPrefs() {
71
SharedPreferences
prefs = getPrefs();
78
SharedPreferences
prefs = getPrefs();
92
SharedPreferences
prefs = getPrefs();
96
SharedPreferences
.Editor editor = prefs.edit().putString("test-key", null);
106
public abstract void setUp(
SharedPreferences
.Editor editor);
110
public abstract void subsequentEdit(
SharedPreferences
.Editor editor)
[
all
...]
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
InMemorySharedPreferences.java
7
import android.content.
SharedPreferences
;
15
* An implementation of
SharedPreferences
that can be used in tests.
19
public class InMemorySharedPreferences implements
SharedPreferences
{
108
public
SharedPreferences
.Editor edit() {
114
SharedPreferences
.OnSharedPreferenceChangeListener
121
SharedPreferences
.OnSharedPreferenceChangeListener listener) {
125
private class InMemoryEditor implements
SharedPreferences
.Editor {
133
public
SharedPreferences
.Editor putString(String key, String value) {
142
public
SharedPreferences
.Editor putStringSet(String key, Set<String> values) {
151
public
SharedPreferences
.Editor putInt(String key, int value)
[
all
...]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
AlbumSettings.java
18
import android.content.
SharedPreferences
;
31
private static HashMap<
SharedPreferences
, AlbumSettings> singletons;
33
private final
SharedPreferences
mSettings;
36
public static AlbumSettings getAlbumSettings(
SharedPreferences
settings) {
38
singletons = new HashMap<
SharedPreferences
, AlbumSettings>();
109
private AlbumSettings(
SharedPreferences
settings) {
124
SharedPreferences
.Editor editor = mSettings.edit();
/cts/tests/sample/src/android/sample/
SampleDeviceActivity.java
21
import android.content.
SharedPreferences
;
22
import android.content.
SharedPreferences
.Editor;
28
* A simple activity for using the
SharedPreferences
API.
32
private
SharedPreferences
mPreferences;
/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
AccountStorage.java
20
import android.content.
SharedPreferences
;
27
* <p>The default
SharedPreferences
instance is used as the backing storage. Values are cached
42
SharedPreferences
prefs = PreferenceManager.getDefaultSharedPreferences(c);
51
SharedPreferences
prefs = PreferenceManager.getDefaultSharedPreferences(c);
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
Utils.java
20
import android.content.
SharedPreferences
;
49
SharedPreferences
pref = PreferenceManager.getDefaultSharedPreferences(context);
63
SharedPreferences
pref = PreferenceManager.getDefaultSharedPreferences(context);
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageLogger.java
20
import android.content.
SharedPreferences
;
39
SharedPreferences
prefs = getPrefs(context);
46
public static
SharedPreferences
getPrefs(Context context) {
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
AccountStorage.java
20
import android.content.
SharedPreferences
;
27
* <p>The default
SharedPreferences
instance is used as the backing storage. Values are cached
42
SharedPreferences
prefs = PreferenceManager.getDefaultSharedPreferences(c);
51
SharedPreferences
prefs = PreferenceManager.getDefaultSharedPreferences(c);
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageLogger.java
20
import android.content.
SharedPreferences
;
39
SharedPreferences
prefs = getPrefs(context);
46
public static
SharedPreferences
getPrefs(Context context) {
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
Utils.java
20
import android.content.
SharedPreferences
;
49
SharedPreferences
pref = PreferenceManager.getDefaultSharedPreferences(context);
63
SharedPreferences
pref = PreferenceManager.getDefaultSharedPreferences(context);
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
AccountStorage.java
20
import android.content.
SharedPreferences
;
27
* <p>The default
SharedPreferences
instance is used as the backing storage. Values are cached
42
SharedPreferences
prefs = PreferenceManager.getDefaultSharedPreferences(c);
51
SharedPreferences
prefs = PreferenceManager.getDefaultSharedPreferences(c);
Completed in 2002 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>