Home
last modified time | relevance | path

Searched refs:preferenceFragment (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DUnusedAppsFragment.kt100 val preferenceFragment: PF = requirePreferenceFragment() in <lambda>() constant
111 preferenceFragment.setLoadingState(loading = false, animate = true) in <lambda>()
122 preferenceFragment.setLoadingState(loading = true, animate = true) in <lambda>()
139 val preferenceFragment: PF = requirePreferenceFragment() in <lambda>() constant
141 preferenceFragment.setTitle(getString(R.string.unused_apps_page_title)) in <lambda>()
143 preferenceFragment.setTitle(getString(R.string.permission_removed_page_title)) in <lambda>()
155 val preferenceFragment: PF = requirePreferenceFragment() in <lambda>() constant
160 preferenceFragment.preferenceScreen = preferenceScreen in <lambda>()
163 val footerPreference = preferenceFragment.createFooterPreference(context!!) in <lambda>()
169 val preferenceFragment: PF = requirePreferenceFragment() in <lambda>() constant
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessChildFragment.java99 PF preferenceFragment = requirePreferenceFragment(); in onActivityCreated() local
102 preferenceFragment.setTitle(getString(mRole.getLabelResource())); in onActivityCreated()
112 PF preferenceFragment = requirePreferenceFragment(); in onRoleChanged() local
113 PreferenceManager preferenceManager = preferenceFragment.getPreferenceManager(); in onRoleChanged()
116 PreferenceScreen preferenceScreen = preferenceFragment.getPreferenceScreen(); in onRoleChanged()
121 preferenceFragment.setPreferenceScreen(preferenceScreen); in onRoleChanged()
147 preference = preferenceFragment.createApplicationPreference(context); in onRoleChanged()
168 descriptionPreference = preferenceFragment.createFooterPreference(context); in onRoleChanged()
174 preferenceFragment.onPreferenceScreenChanged(); in onRoleChanged()
DSpecialAppAccessListChildFragment.java81 PF preferenceFragment = requirePreferenceFragment(); in onRoleListChanged() local
82 PreferenceManager preferenceManager = preferenceFragment.getPreferenceManager(); in onRoleListChanged()
84 PreferenceScreen preferenceScreen = preferenceFragment.getPreferenceScreen(); in onRoleListChanged()
88 preferenceFragment.setPreferenceScreen(preferenceScreen); in onRoleListChanged()
106 preference = (Preference) preferenceFragment.createPreference(context); in onRoleListChanged()
120 preferenceFragment.onPreferenceScreenChanged(); in onRoleListChanged()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionsCollapsingToolbarBaseFragment.java44 PreferenceFragmentCompat preferenceFragment = in onActivityCreated() local
48 if (preferenceFragment == null) { in onActivityCreated()
49 preferenceFragment = createPreferenceFragment(); in onActivityCreated()
50 preferenceFragment.setArguments(getArguments()); in onActivityCreated()
52 .add(R.id.content_frame, preferenceFragment) in onActivityCreated()
DHandheldUnusedAppsWrapperFragment.kt50 var preferenceFragment = childFragmentManager in onActivityCreated() variable
53 if (preferenceFragment == null) { in onActivityCreated()
54 preferenceFragment = HandheldUnusedAppsFragment.newInstance() in onActivityCreated()
55 preferenceFragment.arguments = arguments in onActivityCreated()
57 .add(R.id.preference_fragment_container, preferenceFragment) in onActivityCreated()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppChildFragment.java109 PF preferenceFragment = requirePreferenceFragment(); in onActivityCreated() local
112 preferenceFragment.setTitle(getString(mRole.getLabelResource())); in onActivityCreated()
123 PF preferenceFragment = requirePreferenceFragment(); in onRoleChanged() local
124 PreferenceManager preferenceManager = preferenceFragment.getPreferenceManager(); in onRoleChanged()
127 PreferenceScreen preferenceScreen = preferenceFragment.getPreferenceScreen(); in onRoleChanged()
132 preferenceFragment.setPreferenceScreen(preferenceScreen); in onRoleChanged()
171 descriptionPreference = preferenceFragment.createFooterPreference(context); in onRoleChanged()
177 preferenceFragment.onPreferenceScreenChanged(); in onRoleChanged()
DDefaultAppListChildFragment.java105 PF preferenceFragment = requirePreferenceFragment(); in onRoleListChanged() local
106 PreferenceManager preferenceManager = preferenceFragment.getPreferenceManager(); in onRoleListChanged()
108 PreferenceScreen preferenceScreen = preferenceFragment.getPreferenceScreen(); in onRoleListChanged()
114 preferenceFragment.setPreferenceScreen(preferenceScreen); in onRoleListChanged()
142 preferenceFragment.onPreferenceScreenChanged(); in onRoleListChanged()
160 PF preferenceFragment = requirePreferenceFragment(); in addPreferences() local
168 preference = (Preference) preferenceFragment.createPreference(context); in addPreferences()
/packages/apps/Launcher3/src/com/android/launcher3/settings/
DSettingsActivity.java123 String preferenceFragment = getIntent().getStringExtra(EXTRA_FRAGMENT); in getPreferenceFragment() local
126 if (TextUtils.isEmpty(preferenceFragment)) { in getPreferenceFragment()
128 } else if (!preferenceFragment.equals(defaultFragment) in getPreferenceFragment()
129 && !VALID_PREFERENCE_FRAGMENTS.contains(preferenceFragment)) { in getPreferenceFragment()
131 "Invalid fragment for this activity: " + preferenceFragment); in getPreferenceFragment()
133 return preferenceFragment; in getPreferenceFragment()
161 PreferenceFragmentCompat preferenceFragment, Preference pref) { in onPreferenceStartFragment() argument
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceController.java57 public RestrictAppPreferenceController(InstrumentedPreferenceFragment preferenceFragment) { in RestrictAppPreferenceController() argument
58 this(preferenceFragment.getContext()); in RestrictAppPreferenceController()
59 mPreferenceFragment = preferenceFragment; in RestrictAppPreferenceController()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java808 Fragment preferenceFragment = in back() local
810 addOrRemovePreferenceFocusedListener(preferenceFragment, false); in back()