Home
last modified time | relevance | path

Searched refs:prefContext (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeEnablerManagerCompat.java120 Context prefContext = fragment.getPreferenceManager().getContext(); in addInputMethodSubtypePreferences() local
128 new PreferenceCategory(prefContext); in addInputMethodSubtypePreferences()
130 final PackageManager pm = prefContext.getPackageManager(); in addInputMethodSubtypePreferences()
137 new SwitchWithNoTextPreference(prefContext); in addInputMethodSubtypePreferences()
143 new PreferenceCategory(prefContext); in addInputMethodSubtypePreferences()
154 subtype, prefContext, imi); in addInputMethodSubtypePreferences()
158 prefContext, subtype, imi); in addInputMethodSubtypePreferences()
DInputMethodAndSubtypeEnablerManager.java119 Context prefContext = fragment.getPreferenceManager().getContext(); in addInputMethodSubtypePreferences() local
127 new PreferenceCategory(prefContext); in addInputMethodSubtypePreferences()
129 final PackageManager pm = prefContext.getPackageManager(); in addInputMethodSubtypePreferences()
136 new SwitchWithNoTextPreference(prefContext); in addInputMethodSubtypePreferences()
142 new PreferenceCategory(prefContext); in addInputMethodSubtypePreferences()
153 subtype, prefContext, imi); in addInputMethodSubtypePreferences()
157 prefContext, subtype, imi); in addInputMethodSubtypePreferences()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DPluginFragment.java85 Context prefContext = getPreferenceManager().getContext(); in loadPrefs() local
113 SwitchPreference pref = new PluginPreference(prefContext, app, mPluginEnabler); in loadPrefs()
156 … public PluginPreference(Context prefContext, PackageInfo info, PluginEnabler pluginEnabler) { in PluginPreference() argument
157 super(prefContext); in PluginPreference()
158 PackageManager pm = prefContext.getPackageManager(); in PluginPreference()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java169 public Map<Integer, List<Preference>> getInjectedSettings(Context prefContext, in getInjectedSettings() argument
180 Preference preference = createPreference(prefContext, setting); in getInjectedSettings()
200 protected Preference createPreference(Context prefContext, InjectedSetting setting) { in createPreference() argument
201 return new Preference(prefContext); in createPreference()