Home
last modified time | relevance | path

Searched refs:SettingObserver (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/settings/
DSettingObserver.java33 public final class SettingObserver<T> implements Observable<T> { class
59 private SettingObserver(SettingsManager manager, String scope, String key, Class<T> tClass) { in SettingObserver() method in SettingObserver
66 public static SettingObserver<Integer> ofInteger(SettingsManager manager, in ofInteger()
68 return new SettingObserver<>(manager, scope, key, in ofInteger()
72 public static SettingObserver<String> ofString(SettingsManager manager, in ofString()
74 return new SettingObserver<>(manager, scope, key, in ofString()
78 public static SettingObserver<Boolean> ofBoolean(SettingsManager manager, in ofBoolean()
80 return new SettingObserver<>(manager, scope, key, in ofBoolean()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCameraCaptureSetting.java26 import com.android.camera.settings.SettingObserver;
50 flashSetting = new FlashSetting(SettingObserver.ofString( in create()
55 Observable<Integer> exposureSetting = SettingObserver.ofInteger( in create()
59 hdrSceneSetting = SettingObserver.ofBoolean(settingsManager, in create()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModePreferenceController.java38 private SettingObserver mSettingObserver;
49 mSettingObserver = new SettingObserver(screen.findPreference(getPreferenceKey())); in displayPreference()
79 class SettingObserver extends ContentObserver { class in ZenModePreferenceController
86 public SettingObserver(Preference preference) { in SettingObserver() method in ZenModePreferenceController.SettingObserver
DBubbleNotificationPreferenceController.java50 private SettingObserver mSettingObserver;
61 mSettingObserver = new SettingObserver(preference); in displayPreference()
96 class SettingObserver extends ContentObserver { class in BubbleNotificationPreferenceController
103 public SettingObserver(Preference preference) { in SettingObserver() method in BubbleNotificationPreferenceController.SettingObserver
DPulseNotificationPreferenceController.java41 private SettingObserver mSettingObserver;
52 mSettingObserver = new SettingObserver(preference); in displayPreference()
89 class SettingObserver extends ContentObserver { class in PulseNotificationPreferenceController
96 public SettingObserver(Preference preference) { in SettingObserver() method in PulseNotificationPreferenceController.SettingObserver
DBadgingNotificationPreferenceController.java49 private SettingObserver mSettingObserver;
60 mSettingObserver = new SettingObserver(preference); in displayPreference()
102 class SettingObserver extends ContentObserver { class in BadgingNotificationPreferenceController
109 public SettingObserver(Preference preference) { in SettingObserver() method in BadgingNotificationPreferenceController.SettingObserver
DVibrateWhenRingPreferenceController.java47 private SettingObserver mSettingObserver;
85 mSettingObserver = new SettingObserver(preference); in displayPreference()
104 private final class SettingObserver extends ContentObserver { class in VibrateWhenRingPreferenceController
111 public SettingObserver(Preference preference) { in SettingObserver() method in VibrateWhenRingPreferenceController.SettingObserver
DAbstractZenModePreferenceController.java51 protected SettingObserver mSettingObserver;
87 mSettingObserver = new SettingObserver(pref); in displayPreference()
124 class SettingObserver extends ContentObserver { class in AbstractZenModePreferenceController
133 public SettingObserver(Preference preference) { in SettingObserver() method in AbstractZenModePreferenceController.SettingObserver
/packages/apps/Settings/src/com/android/settings/notification/
DZenModePreferenceController.java38 private SettingObserver mSettingObserver;
49 mSettingObserver = new SettingObserver(screen.findPreference(getPreferenceKey())); in displayPreference()
79 class SettingObserver extends ContentObserver { class in ZenModePreferenceController
86 public SettingObserver(Preference preference) { in SettingObserver() method in ZenModePreferenceController.SettingObserver
DPulseNotificationPreferenceController.java41 private SettingObserver mSettingObserver;
52 mSettingObserver = new SettingObserver(preference); in displayPreference()
89 class SettingObserver extends ContentObserver { class in PulseNotificationPreferenceController
96 public SettingObserver(Preference preference) { in SettingObserver() method in PulseNotificationPreferenceController.SettingObserver
DVibrateWhenRingPreferenceController.java47 private SettingObserver mSettingObserver;
85 mSettingObserver = new SettingObserver(preference); in displayPreference()
104 private final class SettingObserver extends ContentObserver { class in VibrateWhenRingPreferenceController
111 public SettingObserver(Preference preference) { in SettingObserver() method in VibrateWhenRingPreferenceController.SettingObserver
DBadgingNotificationPreferenceController.java49 private SettingObserver mSettingObserver;
60 mSettingObserver = new SettingObserver(preference); in displayPreference()
102 class SettingObserver extends ContentObserver { class in BadgingNotificationPreferenceController
109 public SettingObserver(Preference preference) { in SettingObserver() method in BadgingNotificationPreferenceController.SettingObserver
DAbstractZenModePreferenceController.java51 protected SettingObserver mSettingObserver;
87 mSettingObserver = new SettingObserver(pref); in displayPreference()
124 class SettingObserver extends ContentObserver { class in AbstractZenModePreferenceController
133 public SettingObserver(Preference preference) { in SettingObserver() method in AbstractZenModePreferenceController.SettingObserver
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DAssistConfigBasePreferenceController.java41 private final SettingObserver mSettingObserver;
49 mSettingObserver = new SettingObserver(getSettingUris(), this::refreshUi); in AssistConfigBasePreferenceController()
82 private static class SettingObserver extends ContentObserver { class in AssistConfigBasePreferenceController
88 SettingObserver(List<Uri> uriList, Runnable settingChangeListener) { in SettingObserver() method in AssistConfigBasePreferenceController.SettingObserver
/packages/apps/Settings/src/com/android/settings/wifi/
DNotifyOpenNetworksPreferenceController.java46 private SettingObserver mSettingObserver;
56 mSettingObserver = new SettingObserver(screen.findPreference(KEY_NOTIFY_OPEN_NETWORKS)); in displayPreference()
107 class SettingObserver extends ContentObserver { class in NotifyOpenNetworksPreferenceController
113 public SettingObserver(Preference preference) { in SettingObserver() method in NotifyOpenNetworksPreferenceController.SettingObserver
DUseOpenWifiPreferenceController.java46 private final SettingObserver mSettingObserver;
59 mSettingObserver = new SettingObserver(); in UseOpenWifiPreferenceController()
176 class SettingObserver extends ContentObserver { class in UseOpenWifiPreferenceController
180 public SettingObserver() { in SettingObserver() method in UseOpenWifiPreferenceController.SettingObserver
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DNotifyOpenNetworksPreferenceController.java46 private SettingObserver mSettingObserver;
56 mSettingObserver = new SettingObserver(screen.findPreference(KEY_NOTIFY_OPEN_NETWORKS)); in displayPreference()
107 class SettingObserver extends ContentObserver { class in NotifyOpenNetworksPreferenceController
113 public SettingObserver(Preference preference) { in SettingObserver() method in NotifyOpenNetworksPreferenceController.SettingObserver
DUseOpenWifiPreferenceController.java46 private final SettingObserver mSettingObserver;
59 mSettingObserver = new SettingObserver(); in UseOpenWifiPreferenceController()
176 class SettingObserver extends ContentObserver { class in UseOpenWifiPreferenceController
180 public SettingObserver() { in SettingObserver() method in UseOpenWifiPreferenceController.SettingObserver
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DVibrationIntensityPreferenceController.java40 private final SettingObserver mSettingsContentObserver;
52 mSettingsContentObserver = new SettingObserver(settingKey) { in VibrationIntensityPreferenceController()
115 private static class SettingObserver extends ContentObserver { class in VibrationIntensityPreferenceController
119 public SettingObserver(String settingKey) { in SettingObserver() method in VibrationIntensityPreferenceController.SettingObserver
/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationIntensityPreferenceController.java40 private final SettingObserver mSettingsContentObserver;
54 mSettingsContentObserver = new SettingObserver(settingKey) { in VibrationIntensityPreferenceController()
123 private static class SettingObserver extends ContentObserver { class in VibrationIntensityPreferenceController
127 public SettingObserver(String settingKey) { in SettingObserver() method in VibrationIntensityPreferenceController.SettingObserver
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DPreventRingingSwitchPreferenceController.java42 private SettingObserver mSettingObserver;
63 mSettingObserver = new SettingObserver(pref); in displayPreference()
110 private class SettingObserver extends ContentObserver { class in PreventRingingSwitchPreferenceController
116 public SettingObserver(Preference preference) { in SettingObserver() method in PreventRingingSwitchPreferenceController.SettingObserver
DPreventRingingGesturePreferenceController.java69 private SettingObserver mSettingObserver;
91 mSettingObserver = new SettingObserver(mPreferenceCategory); in displayPreference()
200 private class SettingObserver extends ContentObserver { class in PreventRingingGesturePreferenceController
206 public SettingObserver(Preference preference) { in SettingObserver() method in PreventRingingGesturePreferenceController.SettingObserver
/packages/apps/Settings/src/com/android/settings/gestures/
DPreventRingingSwitchPreferenceController.java42 private SettingObserver mSettingObserver;
63 mSettingObserver = new SettingObserver(pref); in displayPreference()
117 private class SettingObserver extends ContentObserver { class in PreventRingingSwitchPreferenceController
123 public SettingObserver(Preference preference) { in SettingObserver() method in PreventRingingSwitchPreferenceController.SettingObserver
DPreventRingingGesturePreferenceController.java69 private SettingObserver mSettingObserver;
91 mSettingObserver = new SettingObserver(mPreferenceCategory); in displayPreference()
200 private class SettingObserver extends ContentObserver { class in PreventRingingGesturePreferenceController
206 public SettingObserver(Preference preference) { in SettingObserver() method in PreventRingingGesturePreferenceController.SettingObserver
/packages/apps/Settings/src/com/android/settings/network/
DTetherPreferenceController.java76 private SettingObserver mAirplaneModeObserver;
138 mAirplaneModeObserver = new SettingObserver(); in onResume()
236 class SettingObserver extends ContentObserver { class in TetherPreferenceController
240 public SettingObserver() { in SettingObserver() method in TetherPreferenceController.SettingObserver

12