/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 118 final Context prefContext = mParent.getPreferenceManager().getContext(); in updateUi() local 124 createPreferences(prefContext, screen, mApps.get(0)); in updateUi() 128 final PreferenceCategory category = new PreferenceCategory(prefContext); in updateUi() 136 createPreferences(prefContext, category, mApps.get(i)); in updateUi() 141 private void createPreferences(Context prefContext, PreferenceGroup group, in createPreferences() argument 151 final Preference preference = new Preference(prefContext); in createPreferences() 152 preference.setTitle(getTitle(prefContext, typeOfDefault, appsForCategory.size())); in createPreferences() 153 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 | 123 final Context prefContext = mParent.getPreferenceManager().getContext(); in updateUi() local 129 createPreferences(prefContext, screen, mApps.get(0)); in updateUi() 133 final PreferenceCategory category = new PreferenceCategory(prefContext); in updateUi() 141 createPreferences(prefContext, category, mApps.get(i)); in updateUi() 146 private void createPreferences(Context prefContext, PreferenceGroup group, in createPreferences() argument 156 final Preference preference = new Preference(prefContext); in createPreferences() 157 preference.setTitle(getTitle(prefContext, typeOfDefault, appsForCategory.size())); in createPreferences() 158 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/Settings/src/com/android/settings/location/ |
D | RecentLocationAccessPreferenceController.java | 88 final Context prefContext = mCategoryRecentLocationRequests.getContext(); in displayPreference() local 105 createAppPreference(prefContext, access, mFragment)); in displayPreference() 109 final Preference banner = new AppPreference(prefContext); in displayPreference() 134 public static AppPreference createAppPreference(Context prefContext, in createAppPreference() argument 136 final AppPreference pref = new AppPreference(prefContext); in createAppPreference() 139 pref.setSummary(StringUtil.formatRelativeTime(prefContext, in createAppPreference()
|
D | RecentLocationRequestPreferenceController.java | 83 final Context prefContext = mCategoryRecentLocationRequests.getContext(); in displayPreference() local 100 createAppPreference(prefContext, request, mFragment)); in displayPreference() 104 final Preference banner = new AppPreference(prefContext); in displayPreference() 128 public static AppPreference createAppPreference(Context prefContext, in createAppPreference() argument 130 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/Settings/src/com/android/settings/datausage/ |
D | AppPrefLoader.java | 33 public AppPrefLoader(Context prefContext, ArraySet<String> pkgs, PackageManager pm) { in AppPrefLoader() argument 34 super(prefContext); in AppPrefLoader() 37 mPrefContext = prefContext; in AppPrefLoader()
|
/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/Launcher3/src/com/android/launcher3/settings/ |
D | DeveloperOptionsFragment.java | 225 Context prefContext = getContext(); in loadPluginPrefs() local 265 prefContext, si.get(0).second, enabler, componentNames); in loadPluginPrefs() 378 PluginPreference(Context prefContext, ResolveInfo pluginInfo, in PluginPreference() argument 380 super(prefContext); in PluginPreference() 381 PackageManager pm = prefContext.getPackageManager(); in PluginPreference()
|
/packages/apps/Car/Settings/src/com/android/car/settings/location/ |
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/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/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/ |
D | InteractAcrossProfilesSettings.java | 78 final Context prefContext = getPrefContext(); in onResume() local 85 final Preference pref = new AppPreference(prefContext); in onResume() 89 prefContext, packageName)); in onResume()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureSettings.java | 154 final Context prefContext = getPrefContext(); in onResume() local 162 final Preference pref = new AppPreference(prefContext); in onResume() 165 pref.setSummary(PictureInPictureDetails.getPreferenceSummary(prefContext, in onResume()
|
/packages/apps/Settings/src/com/android/settings/applications/autofill/ |
D | PasswordsPreferenceController.java | 119 Context prefContext, @UserIdInt int user, PreferenceGroup group) { in addPasswordPreferences() argument 122 final AppPreference pref = new AppPreference(prefContext); in addPasswordPreferences() 137 prefContext.startActivityAsUser(intent, UserHandle.of(user)); in addPasswordPreferences()
|
/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 | 172 final Context prefContext = mPreferenceGroup.getContext(); in refreshUI() local 186 pref = new AppSwitchPreference(prefContext); in refreshUI()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 945 final Context prefContext = getPrefContext(); 946 pref = new UserPreference(prefContext, null, user.id); 947 pref.setTitle(getUserName(prefContext, user));
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountPreferenceController.java | 518 final Context prefContext = mFragment.getPreferenceManager().getContext(); in getAccountTypePreferences() local 546 prefContext, mMetricsFeatureProvider.getMetricsCategory(mFragment), in getAccountTypePreferences()
|