Lines Matching defs:root

274         PreferenceScreen root = getPreferenceScreen();
275 if (root != null) {
276 root.removeAll();
279 root = getPreferenceScreen();
301 maybeAddFingerprintPreference(root, mProfileChallengeUserId);
304 root.findPreference(KEY_UNLOCK_SET_OR_CHANGE_PROFILE);
330 root.findPreference(KEY_SECURITY_CATEGORY);
338 (SwitchPreference) root.findPreference(KEY_VISIBLE_PATTERN_PROFILE);
339 mUnifyProfile = (SwitchPreference) root.findPreference(KEY_UNIFICATION);
351 root.removePreference(root.findPreference(KEY_SIM_LOCK));
354 root.findPreference(KEY_SIM_LOCK).setEnabled(isSimReady());
358 root.findPreference(KEY_SCREEN_PINNING).setSummary(
364 root.findPreference(KEY_ENCRYPTION_AND_CREDENTIALS).setSummary(
367 root.findPreference(KEY_ENCRYPTION_AND_CREDENTIALS).setSummary(
372 mShowPassword = (SwitchPreference) root.findPreference(KEY_SHOW_PASSWORD);
378 initTrustAgentPreference(root, numberOfTrustAgent);
389 (PreferenceGroup) root.findPreference(KEY_SECURITY_STATUS);
404 root.addPreference(preference);
410 root.removePreference(securityStatusPreferenceGroup);
414 mSecurityFeatureProvider.updatePreferences(getActivity(), root,
424 mLocationcontroller.displayPreference(root);
426 root.findPreference(KEY_MANAGE_DEVICE_ADMIN));
427 mEnterprisePrivacyPreferenceController.displayPreference(root);
430 return root;
434 void initTrustAgentPreference(PreferenceScreen root, int numberOfTrustAgent) {
435 Preference manageAgents = root.findPreference(KEY_MANAGE_TRUST_AGENTS);
1052 PreferenceScreen root = getPreferenceScreen();
1053 if (root != null) {
1054 root.removeAll();