Home
last modified time | relevance | path

Searched refs:mExtraScreen (Results 1 – 6 of 6) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DPermissionAppsFragment.java77 private PreferenceScreen mExtraScreen; field in PermissionAppsFragment
181 if (mExtraScreen != null) { in onPermissionsLoaded()
182 for (int i = 0, n = mExtraScreen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded()
183 preferencesToRemove.add(mExtraScreen.getPreference(i).getKey()); in onPermissionsLoaded()
195 if (existingPref == null && mExtraScreen != null) { in onPermissionsLoaded()
196 existingPref = mExtraScreen.findPreference(key); in onPermissionsLoaded()
235 if (mExtraScreen == null) { in onPermissionsLoaded()
236 mExtraScreen = getPreferenceManager().createPreferenceScreen(context); in onPermissionsLoaded()
238 mExtraScreen.addPreference(pref); in onPermissionsLoaded()
244 if (mExtraScreen != null) { in onPermissionsLoaded()
[all …]
DManagePermissionsFragment.java54 private PreferenceScreen mExtraScreen; field in ManagePermissionsFragment
144 if (preference == null && mExtraScreen != null) { in updatePermissionsUi()
145 preference = mExtraScreen.findPreference(group.getName()); in updatePermissionsUi()
160 if (mExtraScreen == null) { in updatePermissionsUi()
161 mExtraScreen = getPreferenceManager().createPreferenceScreen(context); in updatePermissionsUi()
163 mExtraScreen.addPreference(preference); in updatePermissionsUi()
182 if (mExtraScreen != null && mExtraScreen.getPreferenceCount() > 0 in updatePermissionsUi()
202 int count = mExtraScreen.getPreferenceCount(); in updatePermissionsUi()
253 setPreferenceScreen(((ManagePermissionsFragment) getTargetFragment()).mExtraScreen); in onCreatePreferences()
DAppPermissionsFragment.java73 private PreferenceScreen mExtraScreen; field in AppPermissionsFragment
221 if (mExtraScreen != null) { in loadPreferences()
222 mExtraScreen.removeAll(); in loadPreferences()
254 if (mExtraScreen == null) { in loadPreferences()
255 mExtraScreen = getPreferenceManager().createPreferenceScreen(context); in loadPreferences()
257 mExtraScreen.addPreference(preference); in loadPreferences()
261 if (mExtraScreen != null) { in loadPreferences()
275 int count = mExtraScreen.getPreferenceCount(); in loadPreferences()
357 if (mExtraScreen != null) { in setPreferencesCheckedState()
358 setPreferencesCheckedState(mExtraScreen); in setPreferencesCheckedState()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionAppsFragment.java77 private PreferenceScreen mExtraScreen; field in PermissionAppsFragment
183 if (mExtraScreen != null) { in onPermissionsLoaded()
184 for (int i = 0, n = mExtraScreen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded()
185 preferencesToRemove.add(mExtraScreen.getPreference(i).getKey()); in onPermissionsLoaded()
197 if (existingPref == null && mExtraScreen != null) { in onPermissionsLoaded()
198 existingPref = mExtraScreen.findPreference(key); in onPermissionsLoaded()
252 if (mExtraScreen == null) { in onPermissionsLoaded()
253 mExtraScreen = getPreferenceManager().createPreferenceScreen(context); in onPermissionsLoaded()
255 mExtraScreen.addPreference(pref); in onPermissionsLoaded()
261 if (mExtraScreen != null) { in onPermissionsLoaded()
[all …]
DManagePermissionsFragment.java56 private PreferenceScreen mExtraScreen; field in ManagePermissionsFragment
148 if (preference == null && mExtraScreen != null) { in updatePermissionsUi()
149 preference = mExtraScreen.findPreference(group.getName()); in updatePermissionsUi()
164 if (mExtraScreen == null) { in updatePermissionsUi()
165 mExtraScreen = getPreferenceManager().createPreferenceScreen(context); in updatePermissionsUi()
167 mExtraScreen.addPreference(preference); in updatePermissionsUi()
186 if (mExtraScreen != null && mExtraScreen.getPreferenceCount() > 0 in updatePermissionsUi()
206 int count = mExtraScreen.getPreferenceCount(); in updatePermissionsUi()
224 setPreferenceScreen(((ManagePermissionsFragment) getTargetFragment()).mExtraScreen); in onCreate()
DAppPermissionsFragment.java73 private PreferenceScreen mExtraScreen; field in AppPermissionsFragment
195 if (mExtraScreen != null) { in loadPreferences()
196 mExtraScreen.removeAll(); in loadPreferences()
235 if (mExtraScreen == null) { in loadPreferences()
236 mExtraScreen = getPreferenceManager().createPreferenceScreen(context); in loadPreferences()
238 mExtraScreen.addPreference(preference); in loadPreferences()
242 if (mExtraScreen != null) { in loadPreferences()
256 int count = mExtraScreen.getPreferenceCount(); in loadPreferences()
338 if (mExtraScreen != null) { in setPreferencesCheckedState()
339 setPreferencesCheckedState(mExtraScreen); in setPreferencesCheckedState()
[all …]