/packages/apps/Car/Settings/src/com/android/car/settings/location/ |
D | LocationRecentAccessUtil.java | 38 Context prefContext, RecentAppOpsAccess.Access access) { in createAppPreference() argument 39 CarUiPreference pref = new CarUiPreference(prefContext); in createAppPreference() 44 prefContext, in createAppPreference() 50 prefContext in createAppPreference() 57 prefContext.getResources().getString(R.string.driver_assistance_label, summary); in createAppPreference() 67 prefContext.startActivity(intent); in createAppPreference()
|
D | CarLocationSettingsInjector.java | 36 protected Preference createPreference(Context prefContext, InjectedSetting setting) { in createPreference() argument 37 return new CarUiPreference(prefContext); in createPreference()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 123 final Context prefContext = mParent.getPreferenceManager().getContext(); in updateUi() local 129 createPreferences(prefContext, screen, mApps.get(0)); in updateUi() 135 final PreferenceCategory category = new PreferenceCategory(prefContext); in updateUi() 149 createPreferences(prefContext, category, mApps.get(i)); in updateUi() 154 private void createPreferences(Context prefContext, PreferenceGroup group, in createPreferences() argument 164 final Preference preference = new Preference(prefContext); in createPreferences() 165 preference.setTitle(getTitle(prefContext, typeOfDefault, appsForCategory.size())); in createPreferences() 166 preference.setSummary(buildSummaryString(prefContext, appsForCategory)); in createPreferences()
|
D | ApplicationListPreferenceController.java | 69 final Context prefContext = mParent.getPreferenceManager().getContext(); in onListOfAppsResult() local 72 final Preference preference = new AppPreference(prefContext); in onListOfAppsResult()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 127 final Context prefContext = mParent.getPreferenceManager().getContext(); in updateUi() local 133 createPreferences(prefContext, screen, mApps.get(0)); in updateUi() 137 final PreferenceCategory category = new PreferenceCategory(prefContext); in updateUi() 145 createPreferences(prefContext, category, mApps.get(i)); in updateUi() 150 private void createPreferences(Context prefContext, PreferenceGroup group, in createPreferences() argument 160 final Preference preference = new Preference(prefContext); in createPreferences() 161 preference.setTitle(getTitle(prefContext, typeOfDefault, appsForCategory.size())); in createPreferences() 162 preference.setSummary(buildSummaryString(prefContext, appsForCategory)); in createPreferences()
|
D | ApplicationListPreferenceController.java | 74 final Context prefContext = mParent.getPreferenceManager().getContext(); in onListOfAppsResult() local 77 final Preference preference = new AppPreference(prefContext); in onListOfAppsResult()
|
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/ |
D | CameraRecentAccessUtil.java | 39 public static CarUiPreference createAppPreference(Context prefContext, in createAppPreference() argument 41 CarUiPreference pref = new CarUiPreference(prefContext); in createAppPreference() 44 pref.setSummary(StringUtil.formatRelativeTime(prefContext, in createAppPreference() 53 prefContext.startActivity(intent); in createAppPreference()
|
D | MicrophoneRecentAccessUtil.java | 39 public static CarUiPreference createAppPreference(Context prefContext, in createAppPreference() argument 41 CarUiPreference pref = new CarUiPreference(prefContext); in createAppPreference() 44 pref.setSummary(StringUtil.formatRelativeTime(prefContext, in createAppPreference() 53 prefContext.startActivity(intent); in createAppPreference()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | RecentLocationAccessPreferenceController.java | 114 final Context prefContext = mCategoryRecentLocationRequests.getContext(); in loadRecentAccesses() local 130 createAppPreference(prefContext, access, mFragment)); in loadRecentAccesses() 134 final Preference banner = new AppPreference(prefContext); in loadRecentAccesses() 168 public static AppPreference createAppPreference(Context prefContext, in createAppPreference() argument 170 final AppPreference pref = new AppPreference(prefContext); in createAppPreference() 173 pref.setSummary(StringUtil.formatRelativeTime(prefContext, in createAppPreference()
|
D | RecentLocationRequestPreferenceController.java | 86 final Context prefContext = mCategoryRecentLocationRequests.getContext(); in displayPreference() local 109 createAppPreference(prefContext, request, mFragment)); in displayPreference() 113 final Preference banner = new AppPreference(prefContext); in displayPreference() 137 public static AppPreference createAppPreference(Context prefContext, in createAppPreference() argument 139 final AppPreference pref = new AppPreference(prefContext); in createAppPreference()
|
D | AppSettingsInjector.java | 47 protected Preference createPreference(Context prefContext, InjectedSetting setting) { in createPreference() argument 49 ? new AppPreference(prefContext) in createPreference() 50 : new RestrictedAppPreference(prefContext, setting.userRestriction); in createPreference()
|
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 120 private void createPreferences(Context prefContext, PreferenceGroup group, in createPreferences() argument 129 CarUiPreference preference = new CarUiPreference(prefContext); in createPreferences() 130 preference.setTitle(getTitle(prefContext, typeOfDefault, appsForCategory.size())); in createPreferences() 131 preference.setSummary(buildSummaryString(prefContext, appsForCategory)); in createPreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/ |
D | TVInputMethodPreference.java | 34 public TVInputMethodPreference(final Context prefContext, final InputMethodInfo imi, in TVInputMethodPreference() argument 38 super(prefContext, imi, isAllowedByOrganization, onSaveListener, userId); in TVInputMethodPreference()
|
/packages/apps/Settings/src/com/android/settings/development/featureflags/ |
D | FeatureFlagsPreferenceController.java | 55 final Context prefContext = mGroup.getContext(); in displayPreference() local 57 mGroup.addPreference(new FeatureFlagPreference(prefContext, feature))); in displayPreference()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | RecentAppsPreferenceController.java | 118 void refreshUi(Context prefContext) { in refreshUi() argument 122 displayRecentApps(prefContext, recentApps); in refreshUi() 139 private void displayRecentApps(Context prefContext, List<UsageStats> recentApps) { in displayRecentApps() argument 167 pref = new Preference(prefContext); in displayRecentApps()
|
/packages/apps/Settings/src/com/android/settings/development/snooplogger/ |
D | SnoopLoggerFiltersPreferenceController.java | 60 final Context prefContext = mGroup.getContext(); in displayPreference() local 63 new SnoopLoggerFiltersPreference(prefContext, mListValues[i], mListEntries[i])); in displayPreference()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureSettings.java | 155 final Context prefContext = getPrefContext(); in onResume() local 163 final Preference pref = new AppPreference(prefContext); in onResume() 166 pref.setSummary(PictureInPictureDetails.getPreferenceSummary(prefContext, in onResume()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/ |
D | InteractAcrossProfilesSettings.java | 81 final Context prefContext = getPrefContext(); in onResume() local 88 final Preference pref = new AppPreference(prefContext); in onResume() 92 prefContext, packageName)); in onResume()
|
/packages/apps/Settings/src/com/android/settings/applications/autofill/ |
D | PasswordsPreferenceController.java | 131 Context prefContext, @UserIdInt int user, PreferenceGroup group) { in addPasswordPreferences() argument 134 final AppPreference pref = new AppPreference(prefContext); in addPasswordPreferences() 150 prefContext.startActivityAsUser(intent, UserHandle.of(user)); in addPasswordPreferences()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | AvailableVirtualKeyboardFragment.java | 165 final Context prefContext = getPrefContext(); in updateInputMethodPreferenceViews() local 181 final InputMethodPreference pref = new InputMethodPreference(prefContext, imi, in updateInputMethodPreferenceViews()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | DeviceListPreferenceFragment.kt | 225 prefContext, cachedDevice.device)) { in createDevicePreference() 234 prefContext, in createDevicePreference()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/ |
D | DeviceAdminListPreferenceController.java | 181 final Context prefContext = mPreferenceGroup.getContext(); in refreshUI() local 195 pref = new SwitchPreference(prefContext); in refreshUI()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminListPreferenceController.java | 186 final Context prefContext = mPreferenceGroup.getContext(); in refreshUI() local 199 pref = new RestrictedSwitchPreference(prefContext); in refreshUI()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountPreferenceController.java | 612 final Context prefContext = mFragment.getPreferenceManager().getContext(); in getAccountTypePreferences() local 640 prefContext, mMetricsFeatureProvider.getMetricsCategory(mFragment), in getAccountTypePreferences()
|
/packages/apps/Settings/src/com/android/settings/applications/credentials/ |
D | CredentialManagerPreferenceController.java | 715 @NonNull Context prefContext, in addProviderPreference() 723 new CombiPreference(prefContext, mEnabledPackageNames.contains(packageName)); in addProviderPreference()
|