Searched refs:servicePref (Results 1 – 4 of 4) sorted by relevance
114 Preference servicePref = findPreference(key); in refreshServices() local115 if (servicePref == null) { in refreshServices()116 servicePref = new Preference(group.getContext()); in refreshServices()117 servicePref.setKey(key); in refreshServices()119 servicePref.setTitle(title); in refreshServices()120 servicePref.setSummary(serviceEnabled ? R.string.settings_on : R.string.settings_off); in refreshServices()121 servicePref.setFragment(AccessibilityServiceFragment.class.getName()); in refreshServices()122 AccessibilityServiceFragment.prepareArgs(servicePref.getExtras(), in refreshServices()127 group.addPreference(servicePref); in refreshServices()
67 final Preference servicePref = findPreference(KEY_SERVICE); in onResume() local76 servicePref.setSummary(service.getResolveInfo().loadLabel(packageManager)); in onResume()84 final Preference servicePref = findPreference(KEY_SERVICE); in setAccessibilityShortcutEnabled() local85 servicePref.setEnabled(enabled); in setAccessibilityShortcutEnabled()
372 CancellablePreference servicePref = new CancellablePreference(getPrefContext()); in fillServicesSection() local373 servicePref.setSelectable(false); in fillServicesSection()374 servicePref.setTitle(label); in fillServicesSection()375 servicePref.setSummary(ProcStatsPackageEntry.getFrequency( in fillServicesSection()377 processPref.addPreference(servicePref); in fillServicesSection()378 mServiceMap.put(new ComponentName(service.mPackage, service.mName), servicePref); in fillServicesSection()