Home
last modified time | relevance | path

Searched refs:mControllers (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/notification/app/
DAppNotificationSettings.java61 for (NotificationPreferenceController controller : mControllers) { in onResume()
81 mControllers = new ArrayList<>(); in createPreferenceControllers()
82 mControllers.add(new HeaderPreferenceController(context, this)); in createPreferenceControllers()
83 mControllers.add(new BlockPreferenceController(context, mDependentFieldListener, mBackend)); in createPreferenceControllers()
84 mControllers.add(new BadgePreferenceController(context, mBackend)); in createPreferenceControllers()
85 mControllers.add(new AllowSoundPreferenceController( in createPreferenceControllers()
87 mControllers.add(new ImportancePreferenceController( in createPreferenceControllers()
89 mControllers.add(new MinImportancePreferenceController( in createPreferenceControllers()
91 mControllers.add(new HighImportancePreferenceController( in createPreferenceControllers()
93 mControllers.add(new SoundPreferenceController(context, this, in createPreferenceControllers()
[all …]
DConversationNotificationSettings.java52 for (NotificationPreferenceController controller : mControllers) { in onResume()
63 for (NotificationPreferenceController controller : mControllers) { in onActivityResult()
83 mControllers = new ArrayList<>(); in createPreferenceControllers()
84 mControllers.add(new ConversationHeaderPreferenceController(context, this)); in createPreferenceControllers()
85 mControllers.add(new ConversationPriorityPreferenceController( in createPreferenceControllers()
87 mControllers.add(new HighImportancePreferenceController( in createPreferenceControllers()
89 mControllers.add(new SoundPreferenceController(context, this, in createPreferenceControllers()
91 mControllers.add(new VibrationPreferenceController(context, mBackend)); in createPreferenceControllers()
92 mControllers.add(new VisibilityPreferenceController(context, new LockPatternUtils(context), in createPreferenceControllers()
94 mControllers.add(new LightsPreferenceController(context, mBackend)); in createPreferenceControllers()
[all …]
DChannelNotificationSettings.java86 for (NotificationPreferenceController controller : mControllers) { in onResume()
97 for (NotificationPreferenceController controller : mControllers) { in onActivityResult()
117 mControllers = new ArrayList<>(); in createPreferenceControllers()
118 mControllers.add(new HeaderPreferenceController(context, this)); in createPreferenceControllers()
119 mControllers.add(new BlockPreferenceController(context, mDependentFieldListener, mBackend)); in createPreferenceControllers()
120 mControllers.add(new ImportancePreferenceController( in createPreferenceControllers()
122 mControllers.add(new MinImportancePreferenceController( in createPreferenceControllers()
124 mControllers.add(new HighImportancePreferenceController( in createPreferenceControllers()
126 mControllers.add(new AllowSoundPreferenceController( in createPreferenceControllers()
128 mControllers.add(new SoundPreferenceController(context, this, in createPreferenceControllers()
[all …]
DConversationListSettings.java40 protected List<AbstractPreferenceController> mControllers = new ArrayList<>(); field in ConversationListSettings
64 mControllers = new ArrayList<>(); in createPreferenceControllers()
65 mControllers.add(new NoConversationsPreferenceController(context, mBackend, mPs)); in createPreferenceControllers()
66 mControllers.add(new PriorityConversationsPreferenceController(context, mBackend)); in createPreferenceControllers()
67 mControllers.add(new AllConversationsPreferenceController(context, mBackend)); in createPreferenceControllers()
68 mControllers.add(new RecentConversationsPreferenceController(context, mBackend, mPs)); in createPreferenceControllers()
69 return new ArrayList<>(mControllers); in createPreferenceControllers()
DAppChannelsBypassingDndSettings.java55 for (NotificationPreferenceController controller : mControllers) { in onResume()
74 mControllers = new ArrayList<>(); in createPreferenceControllers()
75 mControllers.add(new HeaderPreferenceController(context, this)); in createPreferenceControllers()
76 mControllers.add(new AppChannelsBypassingDndPreferenceController(context, in createPreferenceControllers()
78 return new ArrayList<>(mControllers); in createPreferenceControllers()
DAppBubbleNotificationSettings.java60 mControllers = getPreferenceControllers(context, this, mDependentFieldListener); in createPreferenceControllers()
61 return new ArrayList<>(mControllers); in createPreferenceControllers()
92 for (NotificationPreferenceController controller : mControllers) { in onResume()
DNotificationSettings.java90 protected List<NotificationPreferenceController> mControllers = new ArrayList<>(); field in NotificationSettings
156 for (NotificationPreferenceController controller : mControllers) { in onAttach()
417 for (NotificationPreferenceController controller : mControllers) { in onFieldValueChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsFragment.java51 private List<WifiDetailsBasePreferenceController> mControllers = new ArrayList<>(); field in WifiDetailsFragment
87 mControllers.add(use( in onAttach()
90 mControllers.add(use( in onAttach()
94 mControllers.add(use( in onAttach()
97 mControllers.add(use(WifiFrequencyPreferenceController.class, R.string.pk_wifi_frequency) in onAttach()
99 mControllers.add(use(WifiSecurityPreferenceController.class, R.string.pk_wifi_security) in onAttach()
101 mControllers.add(use(WifiMacAddressPreferenceController.class, R.string.pk_wifi_mac_address) in onAttach()
103 mControllers.add(use(WifiIpAddressPreferenceController.class, R.string.pk_wifi_ip).init( in onAttach()
105 mControllers.add(use(WifiGatewayPreferenceController.class, R.string.pk_wifi_gateway).init( in onAttach()
107 mControllers.add(use(WifiSubnetPreferenceController.class, R.string.pk_wifi_subnet_mask) in onAttach()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenCustomRuleBlockedEffectsSettings.java44 mControllers = new ArrayList<>(); in createPreferenceControllers()
45 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
48 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
51 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
54 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
58 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
61 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
64 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
67 return mControllers; in createPreferenceControllers()
DZenCustomRuleNotificationsSettings.java42 mControllers = new ArrayList<>(); in createPreferenceControllers()
43 mControllers.add(new ZenRuleVisEffectsAllPreferenceController( in createPreferenceControllers()
45 mControllers.add(new ZenRuleVisEffectsNonePreferenceController( in createPreferenceControllers()
47 mControllers.add(new ZenRuleVisEffectsCustomPreferenceController( in createPreferenceControllers()
49 mControllers.add(new ZenRuleNotifFooterPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
51 return mControllers; in createPreferenceControllers()
DZenCustomRuleConfigSettings.java131 mControllers = new ArrayList<>(); in createPreferenceControllers()
132 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
135 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
138 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
141 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
144 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
147 return mControllers; in createPreferenceControllers()
DZenCustomRuleCallsSettings.java57 mControllers = new ArrayList<>(); in createPreferenceControllers()
58 mControllers.add(new ZenRuleCallsPreferenceController(context, CALLS_KEY, in createPreferenceControllers()
60 mControllers.add(new ZenRuleRepeatCallersPreferenceController(context, in createPreferenceControllers()
63 mControllers.add(new ZenRuleStarredContactsPreferenceController(context, in createPreferenceControllers()
65 return mControllers; in createPreferenceControllers()
DZenCustomRuleSettings.java45 mControllers = new ArrayList<>(); in createPreferenceControllers()
46 mControllers.add(new ZenRuleDefaultPolicyPreferenceController( in createPreferenceControllers()
48 mControllers.add(new ZenRuleCustomPolicyPreferenceController( in createPreferenceControllers()
50 return mControllers; in createPreferenceControllers()
DZenCustomRuleMessagesSettings.java50 mControllers = new ArrayList<>(); in createPreferenceControllers()
51 mControllers.add(new ZenRuleMessagesPreferenceController(context, MESSAGES_KEY, in createPreferenceControllers()
53 mControllers.add(new ZenRuleStarredContactsPreferenceController(context, in createPreferenceControllers()
56 return mControllers; in createPreferenceControllers()
DZenCustomRuleSettingsBase.java39 List<AbstractPreferenceController> mControllers = new ArrayList<>(); field in ZenCustomRuleSettingsBase
78 for (AbstractPreferenceController controller : mControllers) { in updatePreferences()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiNetworkDetailsFragment2.java87 List<AbstractPreferenceController> mControllers; field in WifiNetworkDetailsFragment2
198 mControllers = new ArrayList<>(); in createPreferenceControllers()
206 mControllers.add(wifiSecondSummaryController2); in createPreferenceControllers()
217 mControllers.add(mWifiDetailPreferenceController2); in createPreferenceControllers()
222 mControllers.add(wifiAutoConnectPreferenceController2); in createPreferenceControllers()
227 mControllers.add(addDevicePreferenceController2); in createPreferenceControllers()
231 mControllers.add(meteredPreferenceController2); in createPreferenceControllers()
236 mControllers.add(privacyController2); in createPreferenceControllers()
242 mControllers.add(wifiSubscriptionDetailPreferenceController2); in createPreferenceControllers()
249 return mControllers; in createPreferenceControllers()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java85 private List<AbstractPreferenceController> mControllers; field in DashboardFragmentTest
119 mControllers = new ArrayList<>(); in setUp()
227 final List<AbstractPreferenceController> preferenceControllers = mTestFragment.mControllers; in updateState_skipUnavailablePrefs()
288 mControllers.add(new TestPreferenceController(mContext)); in checkUiBlocker_noUiBlocker_controllerIsNull()
290 mTestFragment.checkUiBlocker(mControllers); in checkUiBlocker_noUiBlocker_controllerIsNull()
301 mControllers.add(new TestPreferenceController(mContext)); in checkUiBlocker_hasUiBlockerAndControllerIsAvailable_controllerNotNull()
302 mControllers.add(controller); in checkUiBlocker_hasUiBlockerAndControllerIsAvailable_controllerNotNull()
304 mTestFragment.checkUiBlocker(mControllers); in checkUiBlocker_hasUiBlockerAndControllerIsAvailable_controllerNotNull()
312 mControllers.add(new TestPreferenceController(mContext)); in checkUiBlocker_hasUiBlockerAndControllerIsNotAvailable_controllerIsNull()
313 mControllers.add(new BlockingSlicePrefController(mContext, "pref_key")); in checkUiBlocker_hasUiBlockerAndControllerIsNotAvailable_controllerIsNull()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DTelephonyStatusControlSession.java40 private Collection<AbstractPreferenceController> mControllers; field in TelephonyStatusControlSession
47 private Collection<AbstractPreferenceController> mControllers; field in TelephonyStatusControlSession.Builder
57 mControllers = controllers; in Builder()
65 return new TelephonyStatusControlSession(mControllers); in build()
70 mControllers = controllers; in TelephonyStatusControlSession()
91 unsetAvailabilityStatus(mControllers); in close()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DOptionsMenuManager.kt29 private val mControllers: MutableList<MenuItemController?> = ArrayList() constant in com.android.deskclock.actionbarmenu.OptionsMenuManager
37 mControllers.addAll(controllers) in addMenuItemController()
47 for (controller in mControllers) { in onCreateOptionsMenu()
58 for (controller in mControllers) { in onPrepareOptionsMenu()
75 for (controller in mControllers) { in onOptionsItemSelected()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DControllerRendererPool.java46 private final Set<ContextualCardController> mControllers; field in ControllerRendererPool
50 mControllers = new ArraySet<>(); in ControllerRendererPool()
58 for (ContextualCardController controller : mControllers) { in getController()
67 mControllers.add(controller); in getController()
74 return mControllers; in getControllers()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFragment.java46 private List<UsbDetailsController> mControllers; field in UsbDetailsFragment
54 for (UsbDetailsController controller : mControllers) {
83 mControllers = createControllerList(context, mUsbBackend, this); in createPreferenceControllers()
88 return new ArrayList<>(mControllers); in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java75 private final List<AbstractPreferenceController> mControllers = new ArrayList<>(); field in DashboardFragment
103 mControllers.addAll(controllersFromCode); in onAttach()
105 mControllers.addAll(uniqueControllerFromXml); in onAttach()
117 mControllers.forEach(controller -> { in onAttach()
125 mControllers.add(mPlaceholderPreferenceController); in onAttach()
126 for (AbstractPreferenceController controller : mControllers) { in onAttach()
181 checkUiBlocker(mControllers); in onCreatePreferences()
183 mControllers.stream() in onCreatePreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DGesturesSettingsPreferenceControllerTest.java58 final List<AbstractPreferenceController> mControllers = new ArrayList<>(); in isAvailable_hasGesture_shouldReturnTrue() local
59 mControllers.add(new AbstractPreferenceController(RuntimeEnvironment.application) { in isAvailable_hasGesture_shouldReturnTrue()
70 ReflectionHelpers.setField(mController, "mGestureControllers", mControllers); in isAvailable_hasGesture_shouldReturnTrue()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettings.java78 private List<AbstractPreferenceController> mControllers; field in FaceSettings
183 for (AbstractPreferenceController controller : mControllers) { in onCreate()
293 mControllers = buildPreferenceControllers(context, getSettingsLifecycle()); in createPreferenceControllers()
295 for (AbstractPreferenceController controller : mControllers) { in createPreferenceControllers()
309 return mControllers; in createPreferenceControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
DWifiNetworkDetailsFragment2Test.java158 fragment.mControllers = new ArrayList<>(); in refreshPreferences_controllerShouldUpdateStateAndDisplayPreference()
159 fragment.mControllers.add(controller); in refreshPreferences_controllerShouldUpdateStateAndDisplayPreference()

12