Searched defs:preference (Results 1 - 12 of 12) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/preference/
H A DFragmentPreferences.java17 package com.example.android.apis.preference;
23 import android.preference.PreferenceFragment;
H A DPreferenceDependencies.java17 package com.example.android.apis.preference;
22 import android.preference.PreferenceActivity;
H A DPreferencesFromXml.java17 package com.example.android.apis.preference;
22 import android.preference.PreferenceActivity;
H A DSwitchPreference.java17 package com.example.android.apis.preference;
22 import android.preference.PreferenceActivity;
23 import android.preference.PreferenceManager;
H A DDefaultValues.java17 package com.example.android.apis.preference;
24 import android.preference.PreferenceActivity;
25 import android.preference.PreferenceManager;
H A DPreferenceWithHeaders.java17 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.
H A DPreferencesFromCode.java17 package com.example.android.apis.preference;
25 import android.preference.CheckBoxPreference;
26 import android.preference.EditTextPreference;
27 import android.preference.ListPreference;
28 import android.preference.PreferenceActivity;
29 import android.preference.PreferenceCategory;
30 import android.preference.PreferenceScreen;
31 import android.preference.SwitchPreference;
52 // Checkbox preference
59 // Switch preference
[all...]
H A DAdvancedPreferences.java17 package com.example.android.apis.preference;
25 import android.preference.PreferenceActivity;
26 import android.preference.CheckBoxPreference;
30 * Example that shows finding a preference from the hierarchy and a custom preference type.
40 * This is a simple example of controlling a preference from code.
60 // Get a reference to the checkbox preference
87 // Let's do something when my counter preference value changes
H A DLaunchingPreferences.java17 package com.example.android.apis.preference;
25 import android.preference.PreferenceManager;
49 * a boolean preference is set so they will not be applied again.
H A DMyPreference.java17 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
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
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
H A DCustomRestrictionsFragment.java25 import android.preference.CheckBoxPreference;
26 import android.preference.ListPreference;
27 import android.preference.MultiSelectListPreference;
28 import android.preference.Preference;
29 import android.preference.PreferenceFragment;
53 // Shared preference key for the boolean restriction.
55 // Shared preference key for the single-select restriction.
57 // Shared preference key for the multi-select restriction.
116 // Transfers the saved values into the preference hierarchy.
138 // preference valu
181 onPreferenceChange(Preference preference, Object newValue) argument
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DDeviceAdminSample.java32 import android.preference.CheckBoxPreference;
33 import android.preference.EditTextPreference;
34 import android.preference.ListPreference;
35 import android.preference.Preference;
36 import android.preference.Preference.OnPreferenceChangeListener;
37 import android.preference.Preference.OnPreferenceClickListener;
38 import android.preference.PreferenceActivity;
39 import android.preference.PreferenceCategory;
40 import android.preference.PreferenceFragment;
41 import android.preference
228 onPreferenceClick(Preference preference) argument
238 onPreferenceChange(Preference preference, Object newValue) argument
355 onPreferenceChange(Preference preference, Object newValue) argument
593 onPreferenceChange(Preference preference, Object newValue) argument
696 onPreferenceChange(Preference preference, Object newValue) argument
722 onPreferenceClick(Preference preference) argument
832 onPreferenceChange(Preference preference, Object newValue) argument
861 onPreferenceClick(Preference preference) argument
967 onPreferenceChange(Preference preference, Object newValue) argument
982 onPreferenceClick(Preference preference) argument
[all...]

Completed in 72 milliseconds