/frameworks/support/v7/preference/ |
AndroidManifest.xml | 3 package="android.support.v7.preference"
|
/frameworks/support/v7/preference/src/android/support/v7/preference/internal/ |
AbstractMultiSelectListPreference.java | 17 package android.support.v7.preference.internal; 20 import android.support.v7.preference.DialogPreference; 26 * Stub superclass for {@link android.support.v14.preference.MultiSelectListPreference} so that we 28 * {@link android.support.v7.preference.MultiSelectListPreferenceDialogFragmentCompat}
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
PolicyListPreference.java | 20 import android.preference.Preference; 26 * Simple text preference allowing a large number of lines 28 public class PolicyListPreference extends Preference {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
AllAppPermissionsFragment.java | 32 import android.preference.Preference; 33 import android.preference.Preference.OnPreferenceClickListener; 34 import android.preference.PreferenceCategory; 35 import android.preference.PreferenceGroup; 94 ArrayList<Preference> prefs = new ArrayList<>(); // Used for sorting. 145 Collections.sort(prefs, new Comparator<Preference>() { 147 public int compare(Preference lhs, Preference rhs) [all...] |
/packages/apps/Settings/res/xml/ |
print_job_settings.xml | 21 <Preference 23 </Preference> 25 <Preference 29 </Preference>
|
wifi_advanced_settings.xml | 20 <Preference 25 <Preference 30 <Preference 35 <Preference
|
/packages/apps/Settings/src/com/android/settings/ |
AppListSwitchPreference.java | 4 import android.support.v7.preference.PreferenceViewHolder; 10 * A hybrid of AppListPreference and SwitchPreference, representing a preference which can be on or 13 * It is invalid to show this preference when zero valid apps are present. 41 // Suppress the dialog and just toggle the preference with the only choice.
|
MultiLinePreference.java | 20 import android.support.v7.preference.Preference; 21 import android.support.v7.preference.PreferenceViewHolder; 26 public class MultiLinePreference extends Preference {
|
TintablePreference.java | 20 import android.support.v7.preference.Preference; 21 import android.support.v7.preference.PreferenceViewHolder; 25 public class TintablePreference extends Preference {
|
IconPreferenceScreen.java | 22 import android.support.v7.preference.Preference; 23 import android.support.v7.preference.PreferenceViewHolder; 28 public class IconPreferenceScreen extends Preference { 58 * Sets the icon for this Preference with a Drawable. 60 * @param icon The icon for this Preference 70 * Returns the icon of this Preference.
|
/packages/apps/Settings/src/com/android/settings/deletionhelper/ |
AutomaticStorageManagerSettings.java | 32 import android.support.v14.preference.SwitchPreference; 33 import android.support.v7.preference.DropDownPreference; 34 import android.support.v7.preference.Preference; 35 import android.support.v7.preference.Preference.OnPreferenceChangeListener; 36 import android.support.v7.preference.PreferenceScreen; 51 OnPreferenceChangeListener, Preference.OnPreferenceClickListener { 60 private Preference mFreedBytes; 61 private Preference mDeletionHelper [all...] |
/packages/apps/Settings/src/com/android/settings/display/ |
NightDisplaySettings.java | 23 import android.support.v7.preference.DropDownPreference; 24 import android.support.v7.preference.Preference; 25 import android.support.v7.preference.TwoStatePreference; 41 implements NightDisplayController.Callback, Preference.OnPreferenceChangeListener { 55 private Preference mStartTimePreference; 56 private Preference mEndTimePreference; 119 public boolean onPreferenceTreeClick(Preference preference) { 120 if (preference == mStartTimePreference) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiAPITest.java | 25 import android.support.v7.preference.Preference; 26 import android.support.v7.preference.PreferenceScreen; 39 Preference.OnPreferenceClickListener { 45 // Preference/activity member variables 52 private Preference mWifiDisconnect; 53 private Preference mWifiDisableNetwork; 54 private Preference mWifiEnableNetwork; 76 mWifiDisconnect = (Preference) preferenceScreen.findPreference(KEY_DISCONNECT); 79 mWifiDisableNetwork = (Preference) preferenceScreen.findPreference(KEY_DISABLE_NETWORK) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
WifiP2pPersistentGroup.java | 21 import android.support.v7.preference.Preference; 22 import android.support.v7.preference.PreferenceViewHolder; 24 public class WifiP2pPersistentGroup extends Preference {
|
/packages/services/Telephony/res/xml/ |
data_usage_settings.xml | 20 <Preference 26 <Preference 32 <Preference 38 <Preference
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
PreferenceWithHeaders.java | 17 package com.example.android.apis.preference; 22 import android.preference.PreferenceActivity; 23 import android.preference.PreferenceFragment; 24 import android.preference.PreferenceManager; 31 * Demonstration of PreferenceActivity to make a top-level preference 76 * This fragment contains a second-level set of preference that you 84 // Can retrieve arguments from preference XML.
|
MyPreference.java | 17 package com.example.android.apis.preference; 25 import android.preference.Preference; 31 * This is an example of a custom preference type. The preference counts the 34 public class MyPreference extends Preference { 69 // preference should be persistent, along with other useful checks) 78 // This preference type's value type is Integer, so we read the default 99 * Suppose a client uses this preference type without persisting. We 133 * of MyPreference, a subclass of Preference [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
RestrictedPreference.java | 22 import android.support.v7.preference.Preference; 23 import android.support.v7.preference.PreferenceManager; 24 import android.support.v7.preference.PreferenceViewHolder; 31 * Preference class that supports being disabled by a user restriction 34 public class RestrictedPreference extends Preference { 50 android.support.v7.preference.R.attr.preferenceStyle,
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
PreferenceCategory.java | 17 package android.support.v7.preference; 26 * Used to group {@link android.preference.Preference} objects 58 protected boolean onPrepareAddPreference(Preference preference) { 59 if (preference instanceof PreferenceCategory) { 64 return super.onPrepareAddPreference(preference);
|
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/ |
EditEmergencyContactsFragment.java | 23 import android.preference.Preference; 24 import android.preference.PreferenceFragment; 49 Preference addEmergencyContact = findPreference(PreferenceKeys.KEY_ADD_CONTACT); 50 addEmergencyContact.setOnPreferenceClickListener(new Preference 53 public boolean onPreferenceClick(Preference preference) {
|
/packages/services/Telephony/src/com/android/phone/settings/ |
TtyModeListPreference.java | 22 import android.preference.ListPreference; 23 import android.preference.Preference; 33 implements Preference.OnPreferenceChangeListener { 52 public boolean onPreferenceChange(Preference preference, Object objValue) { 53 if (preference == this) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
PhoneNumberPreference.java | 20 import android.preference.EditTextPreference; 32 * Preference that displays a phone number and allows editing via a dialog. 34 * A default number can be assigned, which is shown in the preference view and 35 * used to populate the dialog editor when the preference value is not set. If 36 * the user sets the preference to a number equivalent to the default, the 37 * underlying preference is cleared. 56 // Show the preference value if it's set, or the default number if not. 79 // If the preference is empty, populate the EditText with the default number instead. 99 // If the new value is the default, clear the preference. 112 // EditTextPreference doesn't show the value on the preference view, but we do [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
KeyboardLayoutPickerFragment2.java | 26 import android.support.v7.preference.Preference; 27 import android.support.v7.preference.PreferenceScreen; 53 private Map<Preference, KeyboardLayout> mPreferenceMap = new HashMap<>(); 122 public boolean onPreferenceTreeClick(Preference preference) { 123 KeyboardLayout layout = mPreferenceMap.get(preference); 130 return super.onPreferenceTreeClick(preference); 150 Preference pref = new Preference(getPrefContext()) [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeVisualInterruptionSettings.java | 24 import android.support.v14.preference.SwitchPreference; 25 import android.support.v7.preference.Preference; 26 import android.support.v7.preference.PreferenceScreen; 62 mScreenOff.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { 64 public boolean onPreferenceChange(Preference preference, Object newValue) { 75 mScreenOn.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { 77 public boolean onPreferenceChange(Preference preference, Object newValue) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
LanguageFragment.java | 25 import android.support.v17.preference.LeanbackPreferenceFragment; 26 import android.support.v7.preference.Preference; 27 import android.support.v7.preference.PreferenceScreen; 82 Preference activePref = null; 110 public boolean onPreferenceTreeClick(Preference preference) { 111 if (preference instanceof RadioPreference) { 112 final RadioPreference radioPreference = (RadioPreference) preference; 122 return super.onPreferenceTreeClick(preference); [all...] |