/frameworks/base/core/java/android/preference/ |
D | PreferenceGroup.java | 50 public abstract class PreferenceGroup extends Preference implements GenericInflater.Parent<Preferen… 56 private List<Preference> mPreferenceList; 67 mPreferenceList = new ArrayList<Preference>(); in PreferenceGroup() 112 public void addItemFromInflater(Preference preference) { in addItemFromInflater() 130 public Preference getPreference(int index) { in getPreference() 141 public boolean addPreference(Preference preference) { in addPreference() 147 if (preference.getOrder() == Preference.DEFAULT_ORDER) { in addPreference() 189 public boolean removePreference(Preference preference) { in removePreference() 195 private boolean removePreferenceInt(Preference preference) { in removePreferenceInt() 210 List<Preference> preferenceList = mPreferenceList; in removeAll() [all …]
|
D | PreferenceGroupAdapter.java | 22 import android.preference.Preference.OnPreferenceChangeInternalListener; 76 private List<Preference> mPreferenceList; 138 mPreferenceList = new ArrayList<Preference>(); in PreferenceGroupAdapter() 153 List<Preference> newPreferenceList = new ArrayList<Preference>(mPreferenceList.size()); in syncMyPreferences() 165 private void flattenPreferenceGroup(List<Preference> preferences, PreferenceGroup group) { in flattenPreferenceGroup() 171 final Preference preference = group.getPreference(i); in flattenPreferenceGroup() 195 private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) { in createPreferenceLayout() 203 private void addPreferenceClassName(Preference preference) { in addPreferenceClassName() 220 public Preference getItem(int position) { in getItem() 245 final Preference preference = this.getItem(position); in getView() [all …]
|
D | Preference.java | 97 public class Preference implements Comparable<Preference> { class 164 private List<Preference> mDependents; 193 boolean onPreferenceChange(Preference preference, Object newValue); in onPreferenceChange() 214 boolean onPreferenceClick(Preference preference); in onPreferenceClick() 228 void onPreferenceChange(Preference preference); in onPreferenceChange() 235 void onPreferenceHierarchyChange(Preference preference); in onPreferenceHierarchyChange() 262 public Preference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in Preference() method in Preference 266 attrs, com.android.internal.R.styleable.Preference, defStyleAttr, defStyleRes); in Preference() 364 public Preference(Context context, AttributeSet attrs, int defStyleAttr) { in Preference() method in Preference 382 public Preference(Context context, AttributeSet attrs) { in Preference() method in Preference [all …]
|
D | PreferenceInflater.java | 45 class PreferenceInflater extends GenericInflater<Preference, PreferenceGroup> { 57 …PreferenceInflater(GenericInflater<Preference, PreferenceGroup> original, PreferenceManager prefer… in PreferenceInflater() argument 63 public GenericInflater<Preference, PreferenceGroup> cloneInContext(Context newContext) { in cloneInContext() 73 protected boolean onCreateCustomFromTag(XmlPullParser parser, Preference parentPreference, in onCreateCustomFromTag()
|
D | PreferenceFragment.java | 154 boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref); in onPreferenceStartFragment() 331 Preference preference) { in onPreferenceTreeClick() 347 public Preference findPreference(CharSequence key) { in findPreference() 451 if (selectedItem instanceof Preference) { 453 return ((Preference)selectedItem).onKey(
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/ |
D | AbstractPreferenceController.java | 7 import androidx.preference.Preference; 35 if (this instanceof Preference.OnPreferenceChangeListener) { in displayPreference() 36 final Preference preference = screen.findPreference(prefKey); in displayPreference() 38 (Preference.OnPreferenceChangeListener) this); in displayPreference() 48 public void updateState(Preference preference) { in updateState() 55 protected void refreshSummary(Preference preference) { in refreshSummary() 79 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() 92 final Preference pref = group.findPreference(key); in setVisible()
|
D | ConfirmationDialogController.java | 20 import androidx.preference.Preference; 35 void showConfirmationDialog(@Nullable Preference preference); in showConfirmationDialog()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeEnablerManager.java | 27 import androidx.preference.Preference; 40 public class InputMethodAndSubtypeEnablerManager implements Preference.OnPreferenceChangeListener { 45 private final HashMap<String, List<Preference>> mInputMethodAndSubtypePrefsMap = 88 public boolean onPreferenceChange(final Preference pref, final Object newValue) { in onPreferenceChange() 147 final ArrayList<Preference> subtypePreferences = new ArrayList<>(); in addInputMethodSubtypePreferences() 156 final Preference subtypePref = new InputMethodSubtypePreference( in addInputMethodSubtypePreferences() 167 for (final Preference pref : subtypePreferences) { in addInputMethodSubtypePreferences() 182 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId); in isNoSubtypesExplicitlySelected() 183 for (final Preference pref : subtypePrefs) { in isNoSubtypesExplicitlySelected() 198 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId); in setAutoSelectionSubtypesEnabled() [all …]
|
D | InputMethodAndSubtypeEnablerManagerCompat.java | 27 import androidx.preference.Preference; 41 Preference.OnPreferenceChangeListener { 46 private final HashMap<String, List<Preference>> mInputMethodAndSubtypePrefsMap = 89 public boolean onPreferenceChange(final Preference pref, final Object newValue) { in onPreferenceChange() 148 final ArrayList<Preference> subtypePreferences = new ArrayList<>(); in addInputMethodSubtypePreferences() 157 final Preference subtypePref = new InputMethodSubtypePreference( in addInputMethodSubtypePreferences() 168 for (final Preference pref : subtypePreferences) { in addInputMethodSubtypePreferences() 183 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId); in isNoSubtypesExplicitlySelected() 184 for (final Preference pref : subtypePrefs) { in isNoSubtypesExplicitlySelected() 199 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId); in setAutoSelectionSubtypesEnabled() [all …]
|
D | InputMethodPreference.java | 34 import androidx.preference.Preference; 35 import androidx.preference.Preference.OnPreferenceChangeListener; 36 import androidx.preference.Preference.OnPreferenceClickListener; 144 public boolean onPreferenceChange(final Preference preference, final Object newValue) { in onPreferenceChange() 175 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | SettingsInjector.java | 44 import androidx.preference.Preference; 157 private void populatePreference(Preference preference, InjectedSetting setting) { in populatePreference() 169 public Map<Integer, List<Preference>> getInjectedSettings(Context prefContext, in getInjectedSettings() 173 final ArrayMap<Integer, List<Preference>> result = new ArrayMap<>(); in getInjectedSettings() 177 final List<Preference> prefs = new ArrayList<>(); in getInjectedSettings() 180 Preference preference = createPreference(prefContext, setting); in getInjectedSettings() 200 protected Preference createPreference(Context prefContext, InjectedSetting setting) { in createPreference() 201 return new Preference(prefContext); in createPreference() 304 implements Preference.OnPreferenceClickListener { 312 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/ |
D | AbstractPreferenceControllerTest.java | 24 import androidx.preference.Preference; 44 private Preference mPreference; 51 mPreference = new Preference(mContext); in setUp() 117 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick()
|
/frameworks/base/packages/SettingsLib/LayoutPreference/src/com/android/settingslib/widget/ |
D | LayoutPreference.java | 28 import androidx.preference.Preference; 44 public class LayoutPreference extends Preference { 105 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Preference); in init() 113 attrs, R.styleable.Preference, defStyleAttr, 0); in init()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
D | SerialNumberPreferenceControllerTest.java | 25 import androidx.preference.Preference; 43 private Preference mPreference; 50 mPreference = new Preference(mContext); in setUp()
|
D | WifiMacAddressPreferenceControllerTest.java | 31 import androidx.preference.Preference; 62 private Preference mPreference; 71 mPreference = new Preference(mContext); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerPreferenceFragment.java | 19 import androidx.preference.Preference; 25 public void onDisplayPreferenceDialog(Preference preference) { in onDisplayPreferenceDialog()
|
D | TunerActivity.java | 28 import androidx.preference.Preference; 90 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { in onPreferenceStartFragment() 137 Preference p = mParentScreen.getPreference(0); in onCreatePreferences() 149 Preference p = screen.getPreference(0); in onDestroy()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
D | AbstractEnableAdbPreferenceController.java | 29 import androidx.preference.Preference; 78 public void updateState(Preference preference) { in updateState() 100 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick()
|
D | DeveloperOptionsPreferenceController.java | 21 import androidx.preference.Preference; 34 protected Preference mPreference;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedPreferenceHelper.java | 29 import androidx.preference.Preference; 38 private final Preference mPreference; 45 public RestrictedPreferenceHelper(Context context, Preference preference, in RestrictedPreferenceHelper()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractSerialNumberPreferenceController.java | 24 import androidx.preference.Preference; 57 final Preference pref = screen.findPreference(KEY_SERIAL_NUMBER); in displayPreference()
|
/frameworks/base/packages/SettingsLib/AppPreference/src/com/android/settingslib/widget/apppreference/ |
D | AppPreference.java | 24 import androidx.preference.Preference; 29 public class AppPreference extends Preference {
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
D | DeveloperOptionsPreferenceControllerTest.java | 22 import androidx.preference.Preference; 39 private Preference mPreference;
|
/frameworks/layoutlib/bridge/src/android/preference/ |
D | BridgePreferenceInflater.java | 33 public Preference createItem(String name, String prefix, AttributeSet attrs) in createItem() 47 Preference preference = null; in createItem()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
D | FooterPreference.java | 25 import androidx.preference.Preference; 34 public class FooterPreference extends Preference {
|