/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | ChannelListPreferenceController.java | 36 import androidx.preference.PreferenceCategory; 60 private PreferenceCategory mPreference; 97 mPreference = (PreferenceCategory) preference; in updateState() 135 void updateFullList(@NonNull PreferenceCategory groupPrefsList, in updateFullList() 148 PreferenceCategory groupCategory = new PreferenceCategory(mContext); in updateFullList() 168 private PreferenceCategory findOrCreateGroupCategoryForKey( in findOrCreateGroupCategoryForKey() 169 @NonNull PreferenceCategory groupPrefsList, @Nullable String key, int expectedIndex) { in findOrCreateGroupCategoryForKey() 177 return (PreferenceCategory) preference; in findOrCreateGroupCategoryForKey() 184 return (PreferenceCategory) preference; in findOrCreateGroupCategoryForKey() 187 PreferenceCategory groupCategory = new PreferenceCategory(mContext); in findOrCreateGroupCategoryForKey() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | InternetResetHelper.java | 31 import androidx.preference.PreferenceCategory; 52 protected List<PreferenceCategory> mWifiNetworkPreferences = 53 new ArrayList<PreferenceCategory>(); 77 PreferenceCategory connectedWifiEntryPreferenceCategory, in InternetResetHelper() 78 PreferenceCategory firstWifiEntryPreferenceCategory, in InternetResetHelper() 79 PreferenceCategory wifiEntryPreferenceCategory, in InternetResetHelper() 135 for (PreferenceCategory pref : mWifiNetworkPreferences) { in suspendPreferences() 153 for (PreferenceCategory pref : mWifiNetworkPreferences) { in resumePreferences()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoManageOtherPermissionsFragment.java | 27 import androidx.preference.PreferenceCategory; 48 private PreferenceCategory mUnusedCategory; 49 private PreferenceCategory mAdditionalCategory; 82 mUnusedCategory = new PreferenceCategory(context); in onViewCreated() 89 mAdditionalCategory = new PreferenceCategory(context); in onViewCreated() 113 private void updateCategory(PreferenceCategory category, in updateCategory()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | ManagePermissionsOtherFragment.java | 30 import androidx.preference.PreferenceCategory; 51 private PreferenceCategory mUnusedCategory; 52 private PreferenceCategory mAdditionalCategory; 87 mUnusedCategory = new PreferenceCategory(context); in onViewCreated() 94 mAdditionalCategory = new PreferenceCategory(context); in onViewCreated() 121 private void updateCategory(PreferenceCategory category, in updateCategory()
|
D | PermissionAppsFragment.java | 35 import androidx.preference.PreferenceCategory; 173 PreferenceCategory allowedCategory = findOrCreateCategory(context, mainScreen, in onPermissionsLoaded() 175 PreferenceCategory deniedCategory = findOrCreateCategory(context, mainScreen, in onPermissionsLoaded() 214 PreferenceCategory allowedCategory, in updateCategories() 215 PreferenceCategory deniedCategory, in updateCategories() 249 PreferenceCategory rightCategory = isAllowed ? allowedCategory : deniedCategory; in updateCategories() 250 PreferenceCategory otherCategory = isAllowed ? deniedCategory : allowedCategory; in updateCategories() 369 private PreferenceCategory findOrCreateCategory( in findOrCreateCategory() 371 PreferenceCategory category = screen.findPreference(key); in findOrCreateCategory() 373 category = new PreferenceCategory(context); in findOrCreateCategory()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | RoundCornerPreferenceAdapter.java | 26 import androidx.preference.PreferenceCategory; 131 if (group instanceof PreferenceCategory) { in mappingPreferenceGroup() 132 if (pref instanceof PreferenceCategory) { in mappingPreferenceGroup() 134 mappingPreferenceGroup(visibleList, (PreferenceCategory) pref); in mappingPreferenceGroup() 154 if (pref instanceof PreferenceCategory) { in mappingPreferenceGroup() 155 mappingPreferenceGroup(visibleList, (PreferenceCategory) pref); in mappingPreferenceGroup()
|
/packages/apps/Car/Settings/src/com/android/car/settings/language/ |
D | LocalePreferenceProvider.java | 24 import androidx.preference.PreferenceCategory; 96 PreferenceCategory category = null; in populateBasePreference() 99 if (PreferenceUtil.checkPreferenceType(preference, PreferenceCategory.class)) { in populateBasePreference() 100 category = (PreferenceCategory) preference; in populateBasePreference() 122 PreferenceCategory category = new PreferenceCategory(mContext); in getPreference()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceCategoryController.java | 23 import androidx.preference.PreferenceCategory; 29 public class PreferenceCategoryController extends PreferenceController<PreferenceCategory> { 38 protected Class<PreferenceCategory> getPreferenceType() { in getPreferenceType() 39 return PreferenceCategory.class; in getPreferenceType()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | HdrFormatSelectionFragmentTest.java | 39 import androidx.preference.PreferenceCategory; 191 PreferenceCategory supportedFormatPreference = in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState() 192 (PreferenceCategory) fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState() 237 PreferenceCategory formatInfoPreferenceCategory = in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() 238 (PreferenceCategory) fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() 264 PreferenceCategory formatInfoPreferenceCategory = in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() 265 (PreferenceCategory) fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() 302 PreferenceCategory supportedFormatPreference = in testGetPreferenceScreen_whenManual_enablesDisplayModeSpecificHdrFormats() 303 (PreferenceCategory) fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenManual_enablesDisplayModeSpecificHdrFormats() 317 PreferenceCategory category = (PreferenceCategory) preference; in getChildrenTitles()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeAutomaticRulesPreferenceController.java | 25 import androidx.preference.PreferenceCategory; 60 PreferenceCategory preferenceCategory = screen.findPreference(getPreferenceKey()); in displayPreference() 84 updateRules((PreferenceCategory) preference); in updateState() 88 private void updateRules(PreferenceCategory preferenceCategory) { in updateRules() 121 PreferenceCategory preferenceCategory) { in createZenRulePreference()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | InternetResetHelperTest.java | 38 import androidx.preference.PreferenceCategory; 72 private PreferenceCategory mConnectedWifiEntryPreferences; 73 private PreferenceCategory mFirstWifiEntryPreference; 74 private PreferenceCategory mWifiEntryPreferences; 85 mConnectedWifiEntryPreferences = spy(new PreferenceCategory(mContext)); in setUp() 86 mFirstWifiEntryPreference = spy(new PreferenceCategory(mContext)); in setUp() 87 mWifiEntryPreferences = spy(new PreferenceCategory(mContext)); in setUp()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | RecentAppsListPreferenceController.java | 28 import androidx.preference.PreferenceCategory; 43 public class RecentAppsListPreferenceController extends PreferenceController<PreferenceCategory> 76 protected Class<PreferenceCategory> getPreferenceType() { in getPreferenceType() 77 return PreferenceCategory.class; in getPreferenceType() 81 protected void updateState(PreferenceCategory preferenceCategory) { in updateState()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsCompanionAppsController.java | 40 import androidx.preference.PreferenceCategory; 69 PreferenceCategory mProfilesContainer; 98 private static void removePreference(PreferenceCategory container, String packageName) { in removePreference() 106 PreferenceCategory container, CharSequence appName, Context context) { in removeAssociationDialog() 126 PreferenceCategory container) { in removeAssociation() 151 private List<String> getPreferencesNeedToShow(String address, PreferenceCategory container) { in getPreferencesNeedToShow() 186 String address, PreferenceCategory container) { in updatePreferences()
|
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/ |
D | CameraRecentAccessesPreferenceController.java | 23 import androidx.preference.PreferenceCategory; 40 CameraPrivacyBasePreferenceController<PreferenceCategory> { 69 protected Class<PreferenceCategory> getPreferenceType() { in getPreferenceType() 70 return PreferenceCategory.class; in getPreferenceType() 74 public void updateState(PreferenceCategory preference) { in updateState()
|
D | MicrophoneRecentAccessesPreferenceController.java | 23 import androidx.preference.PreferenceCategory; 41 PreferenceController<PreferenceCategory> { 72 protected Class<PreferenceCategory> getPreferenceType() { in getPreferenceType() 73 return PreferenceCategory.class; in getPreferenceType() 89 public void updateState(PreferenceCategory preference) { in updateState()
|
/packages/apps/Car/Settings/src/com/android/car/settings/location/ |
D | LocationRecentAccessesPreferenceController.java | 22 import androidx.preference.PreferenceCategory; 39 extends LocationStateListenerBasePreferenceController<PreferenceCategory> { 75 protected Class<PreferenceCategory> getPreferenceType() { in getPreferenceType() 76 return PreferenceCategory.class; in getPreferenceType() 88 protected void updateState(PreferenceCategory preference) { in updateState()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | AdvancedVolumeFragment.java | 33 import androidx.preference.PreferenceCategory; 78 private PreferenceCategory mSupportedFormatsPreferenceCategory; 79 private PreferenceCategory mUnsupportedFormatsPreferenceCategory; 80 private PreferenceCategory mFormatsInfoPreferenceCategory; 81 private PreferenceCategory mEnabledFormatsPreferenceCategory; 82 private PreferenceCategory mDisabledFormatsPreferenceCategory; 335 private PreferenceCategory createPreferenceCategory(int titleResourceId, String key) { in createPreferenceCategory() 336 PreferenceCategory preferenceCategory = new PreferenceCategory(getContext()); in createPreferenceCategory()
|
D | HdrFormatSelectionFragment.java | 45 import androidx.preference.PreferenceCategory; 90 private PreferenceCategory mSupportedFormatsPreferenceCategory; 91 private PreferenceCategory mUnsupportedFormatsPreferenceCategory; 92 private PreferenceCategory mFormatsInfoPreferenceCategory; 93 private PreferenceCategory mEnabledFormatsPreferenceCategory; 94 private PreferenceCategory mDisabledFormatsPreferenceCategory; 399 private PreferenceCategory createPreferenceCategory(int titleResourceId, String key) { in createPreferenceCategory() 400 PreferenceCategory preferenceCategory = new PreferenceCategory(getContext()); in createPreferenceCategory()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettings.java | 39 import androidx.preference.PreferenceCategory; 157 private final Map<String, PreferenceCategory> mCategoryToPrefCategoryMap = 160 final Map<Preference, PreferenceCategory> mServicePreferenceToPreferenceCategoryMap = 162 private final Map<ComponentName, PreferenceCategory> mPreBundledServiceComponentToCategoryMap = 334 PreferenceCategory prefCategory = findPreference(CATEGORIES[i]); in initializeAllPreferences() 383 PreferenceCategory category = mServicePreferenceToPreferenceCategoryMap.get(service); in updateServicePreferences() 409 final PreferenceCategory downloadedServicesCategory = in updateServicePreferences() 416 PreferenceCategory prefCategory = downloadedServicesCategory; in updateServicePreferences() 497 PreferenceCategory category = mCategoryToPrefCategoryMap.get(categoryKey); in initializePreBundledServicesMapFromArray() 518 PreferenceCategory category = mCategoryToPrefCategoryMap.get(categoryKey); in updateCategoryOrderFromArray() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/ |
D | NotificationsAppListPreferenceController.java | 26 import androidx.preference.PreferenceCategory; 41 BaseNotificationsPreferenceController<PreferenceCategory> implements 57 protected Class<PreferenceCategory> getPreferenceType() { in getPreferenceType() 58 return PreferenceCategory.class; in getPreferenceType()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbDeviceDetailsFingerprintController.java | 23 import androidx.preference.PreferenceCategory; 43 private PreferenceCategory mFingerprintCategory; 70 mFingerprintCategory = (PreferenceCategory) screen.findPreference(getPreferenceKey()); in displayPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppsPreferenceControllerTest.java | 41 import androidx.preference.PreferenceCategory; 74 private PreferenceCategory mRecentAppsCategory; 75 private PreferenceCategory mGeneralCategory; 85 mRecentAppsCategory = spy(new PreferenceCategory(context)); in setUp() 86 mGeneralCategory = new PreferenceCategory(context); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | NotificationAccessSettingsTest.java | 38 import androidx.preference.PreferenceCategory; 109 PreferenceCategory allowed = checkNotNull(screen.findPreference(ALLOWED_KEY)); in updateList_enabledLongName_shown() 110 PreferenceCategory notAllowed = checkNotNull(screen.findPreference(NOT_ALLOWED_KEY)); in updateList_enabledLongName_shown() 130 PreferenceCategory allowed = checkNotNull(screen.findPreference(ALLOWED_KEY)); in updateList_disabledLongName_notShown() 131 PreferenceCategory notAllowed = checkNotNull(screen.findPreference(NOT_ALLOWED_KEY)); in updateList_disabledLongName_notShown()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/ |
D | AccessibilityFragment.java | 38 import androidx.preference.PreferenceCategory; 68 PreferenceCategory mServicesPrefCategory; 69 PreferenceCategory mControlsPrefCategory; 71 private final Map<ComponentName, PreferenceCategory> 209 PreferenceCategory prefCategory = findPreference(accessibilityCategory.getKey()); in populateServiceToPreferenceCategoryMaps() 288 PreferenceCategory prefCategory = mServicesPrefCategory; in refreshServices()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/language/ |
D | LocalePreferenceProviderTest.java | 28 import androidx.preference.PreferenceCategory; 137 PreferenceCategory firstCategory = (PreferenceCategory) mPreferenceGroup.getPreference(0); in testPopulateBasePreference_withSubSections() 142 PreferenceCategory secondCategory = (PreferenceCategory) mPreferenceGroup.getPreference(1); in testPopulateBasePreference_withSubSections()
|