HomeSort by relevance Sort by last modified time
    Searched refs:OnSharedPreferenceChangeListener (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /packages/inputmethods/LatinIME/tools/dicttool/compat/android/content/
SharedPreferences.java 20 public interface OnSharedPreferenceChangeListener {
  /development/samples/training/network-usage/src/com/example/android/networkusage/
SettingsActivity.java 18 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
30 OnSharedPreferenceChangeListener {
  /frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
SettingsActivity.java 18 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
30 OnSharedPreferenceChangeListener {
  /packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
PreferencesMonitor.java 21 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
38 private final OnSharedPreferenceChangeListener mListener = this::onSharedPreferenceChanged;
  /cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
OwnerChangedBroadcastTest.java 23 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
48 OnSharedPreferenceChangeListener listener = new OnSharedPreferenceChangeListener() {
  /frameworks/base/core/java/android/content/
SharedPreferences.java 48 public interface OnSharedPreferenceChangeListener {
372 void registerOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener);
380 void unregisterOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
VolumePrefs.java 21 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
50 public static void unregisterCallbacks(Context c, OnSharedPreferenceChangeListener listener) {
54 public static void registerCallbacks(Context c, OnSharedPreferenceChangeListener listener) {
  /development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
CubeWallpaper2Settings.java 26 implements SharedPreferences.OnSharedPreferenceChangeListener {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
SubScreenFragment.java 22 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
36 implements OnSharedPreferenceChangeListener {
37 private OnSharedPreferenceChangeListener mSharedPreferenceChangeListener;
103 mSharedPreferenceChangeListener = new OnSharedPreferenceChangeListener() {
  /development/samples/ApiDemos/src/com/example/android/apis/preference/
AdvancedPreferences.java 22 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
32 public class AdvancedPreferences extends PreferenceActivity implements OnSharedPreferenceChangeListener {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/
TestSharedPreferences.java 13 private ArrayList<OnSharedPreferenceChangeListener> listeners;
24 listeners = new ArrayList<OnSharedPreferenceChangeListener>();
80 OnSharedPreferenceChangeListener listener) {
87 OnSharedPreferenceChangeListener listener) {
92 public boolean hasListener(OnSharedPreferenceChangeListener listener) {
  /packages/apps/Camera2/src/com/android/camera/settings/
SettingsManager.java 21 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
97 * A List of OnSharedPreferenceChangeListener's, maintained to hold pointers
100 private final List<OnSharedPreferenceChangeListener> mSharedPreferenceListeners =
101 new ArrayList<OnSharedPreferenceChangeListener>();
134 for (OnSharedPreferenceChangeListener listener : mSharedPreferenceListeners) {
153 for (OnSharedPreferenceChangeListener listener : mSharedPreferenceListeners) {
177 private OnSharedPreferenceChangeListener getSharedPreferenceListener(
179 return new OnSharedPreferenceChangeListener() {
203 OnSharedPreferenceChangeListener sharedPreferenceListener =
233 OnSharedPreferenceChangeListener sharedPreferenceListener
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
ComboPreferences.java 21 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
29 public class ComboPreferences implements SharedPreferences, OnSharedPreferenceChangeListener {
32 private CopyOnWriteArrayList<OnSharedPreferenceChangeListener> mListeners;
42 mListeners = new CopyOnWriteArrayList<OnSharedPreferenceChangeListener>();
226 OnSharedPreferenceChangeListener listener) {
231 OnSharedPreferenceChangeListener listener) {
237 for (OnSharedPreferenceChangeListener listener : mListeners) {
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
ApprovedPrintServices.java 22 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
110 * Add a {@link OnSharedPreferenceChangeListener} that listens for changes to the approved
114 * @param listener {@link OnSharedPreferenceChangeListener} to register
116 public void registerChangeListenerLocked(OnSharedPreferenceChangeListener listener) {
123 * @param listener {@link OnSharedPreferenceChangeListener} to unregister
125 public void unregisterChangeListener(OnSharedPreferenceChangeListener listener) {
  /frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
PrefState.java 19 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
25 public class PrefState implements OnSharedPreferenceChangeListener {
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeSharedPreferences.java 131 OnSharedPreferenceChangeListener listener) {
136 OnSharedPreferenceChangeListener listener) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
Prefs.java 22 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
114 OnSharedPreferenceChangeListener listener) {
119 OnSharedPreferenceChangeListener listener) {
  /packages/apps/Calendar/tests/src/com/android/calendar/
FakeSharedPreferences.java 21 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
97 OnSharedPreferenceChangeListener listener) {
103 OnSharedPreferenceChangeListener listener) {
  /packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
MockSharedPreferences.java 91 OnSharedPreferenceChangeListener listener) {
96 OnSharedPreferenceChangeListener listener) {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
MockSharedPreferences.java 91 OnSharedPreferenceChangeListener listener) {
96 OnSharedPreferenceChangeListener listener) {
  /packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
PresetSettingsListener.java 24 public class PresetSettingsListener implements SharedPreferences.OnSharedPreferenceChangeListener {
  /frameworks/base/core/java/android/app/
SharedPreferencesImpl.java 89 private final WeakHashMap<OnSharedPreferenceChangeListener, Object> mListeners =
90 new WeakHashMap<OnSharedPreferenceChangeListener, Object>();
216 public void registerOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener) {
222 public void unregisterOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener) {
324 @Nullable final Set<OnSharedPreferenceChangeListener> listeners;
333 @Nullable Set<OnSharedPreferenceChangeListener> listeners,
450 Set<OnSharedPreferenceChangeListener> listeners = null;
470 listeners = new HashSet<OnSharedPreferenceChangeListener>(mListeners.keySet());
558 for (OnSharedPreferenceChangeListener listener : mcr.listeners) {
  /developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessagingFragment.java 70 private final SharedPreferences.OnSharedPreferenceChangeListener listener =
71 new SharedPreferences.OnSharedPreferenceChangeListener() {
  /developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessagingFragment.java 70 private final SharedPreferences.OnSharedPreferenceChangeListener listener =
71 new SharedPreferences.OnSharedPreferenceChangeListener() {
  /development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
MessagingFragment.java 70 private final SharedPreferences.OnSharedPreferenceChangeListener listener =
71 new SharedPreferences.OnSharedPreferenceChangeListener() {

Completed in 902 milliseconds

1 2 3 4