Home
last modified time | relevance | path

Searched refs:lifecycle (Results 1 – 25 of 147) sorted by relevance

123456

/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacySettings.java25 import com.android.settings.core.lifecycle.Lifecycle;
59 Lifecycle lifecycle, boolean async) { in buildPreferenceControllers() argument
66 context, lifecycle, async)); in buildPreferenceControllers()
68 new AdminGrantedLocationPermissionsPreferenceController(context, lifecycle, async)); in buildPreferenceControllers()
70 new AdminGrantedMicrophonePermissionPreferenceController(context, lifecycle, in buildPreferenceControllers()
73 context, lifecycle, async)); in buildPreferenceControllers()
75 context, lifecycle)); in buildPreferenceControllers()
77 context, lifecycle)); in buildPreferenceControllers()
79 context, lifecycle)); in buildPreferenceControllers()
80 exposureChangesCategoryControllers.add(new ImePreferenceController(context, lifecycle)); in buildPreferenceControllers()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DSoundSettings.java35 import com.android.settings.core.lifecycle.Lifecycle;
187 Lifecycle lifecycle) { in buildPreferenceControllers() argument
195 controllers.add(new AlarmVolumePreferenceController(context, callback, lifecycle)); in buildPreferenceControllers()
196 controllers.add(new MediaVolumePreferenceController(context, callback, lifecycle)); in buildPreferenceControllers()
198 new NotificationVolumePreferenceController(context, callback, lifecycle)); in buildPreferenceControllers()
199 controllers.add(new RingVolumePreferenceController(context, callback, lifecycle)); in buildPreferenceControllers()
207 controllers.add(new WorkSoundPreferenceController(context, fragment, lifecycle)); in buildPreferenceControllers()
210 controllers.add(new DialPadTonePreferenceController(context, fragment, lifecycle)); in buildPreferenceControllers()
211 controllers.add(new ScreenLockSoundPreferenceController(context, fragment, lifecycle)); in buildPreferenceControllers()
212 controllers.add(new ChargingSoundPreferenceController(context, fragment, lifecycle)); in buildPreferenceControllers()
[all …]
DVolumeSeekBarPreferenceController.java22 import com.android.settings.core.lifecycle.Lifecycle;
23 import com.android.settings.core.lifecycle.LifecycleObserver;
24 import com.android.settings.core.lifecycle.events.OnPause;
25 import com.android.settings.core.lifecycle.events.OnResume;
38 Lifecycle lifecycle) { in VolumeSeekBarPreferenceController() argument
41 if (lifecycle != null) { in VolumeSeekBarPreferenceController()
42 lifecycle.addObserver(this); in VolumeSeekBarPreferenceController()
DSettingPrefController.java31 import com.android.settings.core.lifecycle.Lifecycle;
32 import com.android.settings.core.lifecycle.LifecycleObserver;
33 import com.android.settings.core.lifecycle.events.OnPause;
34 import com.android.settings.core.lifecycle.events.OnResume;
47 Lifecycle lifecycle) { in SettingPrefController() argument
50 if (lifecycle != null) { in SettingPrefController()
51 lifecycle.addObserver(this); in SettingPrefController()
DWorkSoundPreferenceController.java48 import com.android.settings.core.lifecycle.Lifecycle;
49 import com.android.settings.core.lifecycle.LifecycleObserver;
50 import com.android.settings.core.lifecycle.events.OnPause;
51 import com.android.settings.core.lifecycle.events.OnResume;
78 Lifecycle lifecycle) { in WorkSoundPreferenceController() argument
79 this(context, parent, lifecycle, new AudioHelper(context)); in WorkSoundPreferenceController()
83 WorkSoundPreferenceController(Context context, SoundSettings parent, Lifecycle lifecycle, in WorkSoundPreferenceController() argument
90 if (lifecycle != null) { in WorkSoundPreferenceController()
91 lifecycle.addObserver(this); in WorkSoundPreferenceController()
DConfigureNotificationSettings.java25 import com.android.settings.core.lifecycle.Lifecycle;
61 Lifecycle lifecycle) { in buildPreferenceControllers() argument
72 if (lifecycle != null) { in buildPreferenceControllers()
73 lifecycle.addObserver(pulseController); in buildPreferenceControllers()
74 lifecycle.addObserver(lockScreenNotificationController); in buildPreferenceControllers()
76 controllers.add(new SwipeToNotificationPreferenceController(context, lifecycle, in buildPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/core/lifecycle/
DLifecycle.java16 package com.android.settings.core.lifecycle;
27 import com.android.settings.core.lifecycle.events.OnAttach;
28 import com.android.settings.core.lifecycle.events.OnCreate;
29 import com.android.settings.core.lifecycle.events.OnCreateOptionsMenu;
30 import com.android.settings.core.lifecycle.events.OnDestroy;
31 import com.android.settings.core.lifecycle.events.OnOptionsItemSelected;
32 import com.android.settings.core.lifecycle.events.OnPause;
33 import com.android.settings.core.lifecycle.events.OnPrepareOptionsMenu;
34 import com.android.settings.core.lifecycle.events.OnResume;
35 import com.android.settings.core.lifecycle.events.OnSaveInstanceState;
[all …]
/packages/apps/Settings/src/com/android/settings/language/
DLanguageAndInputSettings.java38 import com.android.settings.core.lifecycle.Lifecycle;
102 @Nullable Lifecycle lifecycle, in buildPreferenceControllers() argument
112 controllers.add(new PhysicalKeyboardPreferenceController(context, lifecycle)); in buildPreferenceControllers()
115 if (lifecycle != null) { in buildPreferenceControllers()
116 lifecycle.addObserver(gameControllerPreferenceController); in buildPreferenceControllers()
121 controllers.add(new AssistGesturePreferenceController(context, lifecycle, KEY_ASSIST)); in buildPreferenceControllers()
122 controllers.add(new SwipeToNotificationPreferenceController(context, lifecycle, in buildPreferenceControllers()
124 controllers.add(new DoubleTwistPreferenceController(context, lifecycle, KEY_DOUBLE_TWIST)); in buildPreferenceControllers()
125 controllers.add(new DoubleTapPowerPreferenceController(context, lifecycle, in buildPreferenceControllers()
127 controllers.add(new PickupGesturePreferenceController(context, lifecycle, in buildPreferenceControllers()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/lifecycle/
DLifecycleTest.java16 package com.android.settings.core.lifecycle;
25 import com.android.settings.core.lifecycle.events.OnAttach;
26 import com.android.settings.core.lifecycle.events.OnCreateOptionsMenu;
27 import com.android.settings.core.lifecycle.events.OnDestroy;
28 import com.android.settings.core.lifecycle.events.OnOptionsItemSelected;
29 import com.android.settings.core.lifecycle.events.OnPause;
30 import com.android.settings.core.lifecycle.events.OnPrepareOptionsMenu;
31 import com.android.settings.core.lifecycle.events.OnResume;
32 import com.android.settings.core.lifecycle.events.OnStart;
33 import com.android.settings.core.lifecycle.events.OnStop;
/packages/apps/Settings/src/com/android/settings/applications/
DResetAppPrefPreferenceController.java25 import com.android.settings.core.lifecycle.Lifecycle;
26 import com.android.settings.core.lifecycle.LifecycleObserver;
27 import com.android.settings.core.lifecycle.events.OnCreate;
28 import com.android.settings.core.lifecycle.events.OnSaveInstanceState;
35 public ResetAppPrefPreferenceController(Context context, Lifecycle lifecycle) { in ResetAppPrefPreferenceController() argument
38 if (lifecycle != null) { in ResetAppPrefPreferenceController()
39 lifecycle.addObserver(this); in ResetAppPrefPreferenceController()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java29 import com.android.settings.core.lifecycle.Lifecycle;
88 final Lifecycle lifecycle = getLifecycle(); in getPreferenceControllers() local
89 lifecycle.addObserver(airplaneModePreferenceController); in getPreferenceControllers()
90 lifecycle.addObserver(mobilePlanPreferenceController); in getPreferenceControllers()
91 lifecycle.addObserver(wifiPreferenceController); in getPreferenceControllers()
92 lifecycle.addObserver(mobileNetworkPreferenceController); in getPreferenceControllers()
93 lifecycle.addObserver(vpnPreferenceController); in getPreferenceControllers()
98 controllers.add(new TetherPreferenceController(context, lifecycle)); in getPreferenceControllers()
DTetherPreferenceController.java38 import com.android.settings.core.lifecycle.Lifecycle;
39 import com.android.settings.core.lifecycle.LifecycleObserver;
40 import com.android.settings.core.lifecycle.events.OnDestroy;
41 import com.android.settings.core.lifecycle.events.OnPause;
42 import com.android.settings.core.lifecycle.events.OnResume;
84 public TetherPreferenceController(Context context, Lifecycle lifecycle) { in TetherPreferenceController() argument
92 if (lifecycle != null) { in TetherPreferenceController()
93 lifecycle.addObserver(this); in TetherPreferenceController()
/packages/apps/Settings/src/com/android/settings/gestures/
DGesturePreferenceController.java26 import com.android.settings.core.lifecycle.Lifecycle;
27 import com.android.settings.core.lifecycle.LifecycleObserver;
28 import com.android.settings.core.lifecycle.events.OnStart;
29 import com.android.settings.core.lifecycle.events.OnStop;
37 public GesturePreferenceController(Context context, Lifecycle lifecycle) { in GesturePreferenceController() argument
39 if (lifecycle != null) { in GesturePreferenceController()
40 lifecycle.addObserver(this); in GesturePreferenceController()
DAssistGestureSensitivityPreferenceController.java29 import com.android.settings.core.lifecycle.Lifecycle;
30 import com.android.settings.core.lifecycle.LifecycleObserver;
31 import com.android.settings.core.lifecycle.events.OnPause;
32 import com.android.settings.core.lifecycle.events.OnResume;
46 public AssistGestureSensitivityPreferenceController(Context context, Lifecycle lifecycle) { in AssistGestureSensitivityPreferenceController() argument
51 if (lifecycle != null) { in AssistGestureSensitivityPreferenceController()
52 lifecycle.addObserver(this); in AssistGestureSensitivityPreferenceController()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DPhysicalKeyboardPreferenceController.java25 import com.android.settings.core.lifecycle.Lifecycle;
26 import com.android.settings.core.lifecycle.LifecycleObserver;
27 import com.android.settings.core.lifecycle.events.OnPause;
28 import com.android.settings.core.lifecycle.events.OnResume;
40 public PhysicalKeyboardPreferenceController(Context context, Lifecycle lifecycle) { in PhysicalKeyboardPreferenceController() argument
44 if (lifecycle != null) { in PhysicalKeyboardPreferenceController()
45 lifecycle.addObserver(this); in PhysicalKeyboardPreferenceController()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DManageAssist.java25 import com.android.settings.core.lifecycle.Lifecycle;
72 Lifecycle lifecycle) { in buildPreferenceControllers() argument
75 controllers.add(new AssistGesturePreferenceController(context, lifecycle, KEY_ASSIST)); in buildPreferenceControllers()
76 controllers.add(new AssistContextPreferenceController(context, lifecycle)); in buildPreferenceControllers()
77 controllers.add(new AssistScreenshotPreferenceController(context, lifecycle)); in buildPreferenceControllers()
78 controllers.add(new AssistFlashScreenPreferenceController(context, lifecycle)); in buildPreferenceControllers()
79 controllers.add(new DefaultVoiceInputPreferenceController(context, lifecycle)); in buildPreferenceControllers()
DAssistContextPreferenceController.java29 import com.android.settings.core.lifecycle.Lifecycle;
30 import com.android.settings.core.lifecycle.LifecycleObserver;
31 import com.android.settings.core.lifecycle.events.OnPause;
32 import com.android.settings.core.lifecycle.events.OnResume;
48 public AssistContextPreferenceController(Context context, Lifecycle lifecycle) { in AssistContextPreferenceController() argument
53 if (lifecycle != null) { in AssistContextPreferenceController()
54 lifecycle.addObserver(this); in AssistContextPreferenceController()
DAssistScreenshotPreferenceController.java29 import com.android.settings.core.lifecycle.Lifecycle;
30 import com.android.settings.core.lifecycle.LifecycleObserver;
31 import com.android.settings.core.lifecycle.events.OnPause;
32 import com.android.settings.core.lifecycle.events.OnResume;
48 public AssistScreenshotPreferenceController(Context context, Lifecycle lifecycle) { in AssistScreenshotPreferenceController() argument
52 if (lifecycle != null) { in AssistScreenshotPreferenceController()
53 lifecycle.addObserver(this); in AssistScreenshotPreferenceController()
DAssistFlashScreenPreferenceController.java31 import com.android.settings.core.lifecycle.Lifecycle;
32 import com.android.settings.core.lifecycle.LifecycleObserver;
33 import com.android.settings.core.lifecycle.events.OnPause;
34 import com.android.settings.core.lifecycle.events.OnResume;
49 public AssistFlashScreenPreferenceController(Context context, Lifecycle lifecycle) { in AssistFlashScreenPreferenceController() argument
54 if (lifecycle != null) { in AssistFlashScreenPreferenceController()
55 lifecycle.addObserver(this); in AssistFlashScreenPreferenceController()
DDefaultVoiceInputPreferenceController.java30 import com.android.settings.core.lifecycle.Lifecycle;
31 import com.android.settings.core.lifecycle.LifecycleObserver;
32 import com.android.settings.core.lifecycle.events.OnPause;
33 import com.android.settings.core.lifecycle.events.OnResume;
48 public DefaultVoiceInputPreferenceController(Context context, Lifecycle lifecycle) { in DefaultVoiceInputPreferenceController() argument
54 if (lifecycle != null) { in DefaultVoiceInputPreferenceController()
55 lifecycle.addObserver(this); in DefaultVoiceInputPreferenceController()
/packages/apps/Settings/src/com/android/settings/core/
DDynamicAvailabilityPreferenceController.java23 import com.android.settings.core.lifecycle.Lifecycle;
24 import com.android.settings.core.lifecycle.LifecycleObserver;
25 import com.android.settings.core.lifecycle.events.OnResume;
34 public DynamicAvailabilityPreferenceController(Context context, Lifecycle lifecycle) { in DynamicAvailabilityPreferenceController() argument
36 if (lifecycle != null) { in DynamicAvailabilityPreferenceController()
37 lifecycle.addObserver(this); in DynamicAvailabilityPreferenceController()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettingsEnabler.java23 import com.android.settings.core.lifecycle.Lifecycle;
24 import com.android.settings.core.lifecycle.LifecycleObserver;
25 import com.android.settings.core.lifecycle.events.OnResume;
33 public DevelopmentSettingsEnabler(Context context, Lifecycle lifecycle) { in DevelopmentSettingsEnabler() argument
37 if (lifecycle != null) { in DevelopmentSettingsEnabler()
38 lifecycle.addObserver(this); in DevelopmentSettingsEnabler()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pPreferenceController.java28 import com.android.settings.core.lifecycle.Lifecycle;
29 import com.android.settings.core.lifecycle.LifecycleObserver;
30 import com.android.settings.core.lifecycle.events.OnPause;
31 import com.android.settings.core.lifecycle.events.OnResume;
54 Context context, Lifecycle lifecycle, WifiManager wifiManager) { in WifiP2pPreferenceController() argument
57 lifecycle.addObserver(this); in WifiP2pPreferenceController()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DFirmwareVersionPreferenceController.java30 import com.android.settings.core.lifecycle.Lifecycle;
31 import com.android.settings.core.lifecycle.LifecycleObserver;
32 import com.android.settings.core.lifecycle.events.OnResume;
49 public FirmwareVersionPreferenceController(Context context, Lifecycle lifecycle) { in FirmwareVersionPreferenceController() argument
52 if (lifecycle != null) { in FirmwareVersionPreferenceController()
53 lifecycle.addObserver(this); in FirmwareVersionPreferenceController()
/packages/apps/Settings/src/com/android/settings/wifi/
DNotifyOpenNetworksPreferenceController.java31 import com.android.settings.core.lifecycle.Lifecycle;
32 import com.android.settings.core.lifecycle.LifecycleObserver;
33 import com.android.settings.core.lifecycle.events.OnPause;
34 import com.android.settings.core.lifecycle.events.OnResume;
46 public NotifyOpenNetworksPreferenceController(Context context, Lifecycle lifecycle) { in NotifyOpenNetworksPreferenceController() argument
48 lifecycle.addObserver(this); in NotifyOpenNetworksPreferenceController()

123456