Home
last modified time | relevance | path

Searched refs:preference (Results 1 – 25 of 50) sorted by relevance

12

/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceGroupTest.java17 package android.preference.cts;
19 import android.preference.CheckBoxPreference;
20 import android.preference.Preference;
21 import android.preference.PreferenceGroup;
51 Preference preference = mActivity.findPreference("pref-group"); in testAddPreference() local
52 assertNotNull(preference); in testAddPreference()
56 Preference preference = mPreferenceGroup.findPreference("checkbox_preference_group"); in testFindPreference() local
57 assertNotNull(preference); in testFindPreference()
75 Preference preference = mPreferenceGroup.findPreference("checkbox_preference_group"); in testRemovePreference() local
76 mPreferenceGroup.removePreference(preference); in testRemovePreference()
DPreferenceFromCodeActivity.java17 package android.preference.cts;
20 import android.preference.CheckBoxPreference;
21 import android.preference.EditTextPreference;
22 import android.preference.ListPreference;
23 import android.preference.Preference;
24 import android.preference.PreferenceActivity;
25 import android.preference.PreferenceCategory;
26 import android.preference.PreferenceGroup;
27 import android.preference.PreferenceScreen;
28 import android.preference.SwitchPreference;
DCustomPreferenceGroup.java16 package android.preference.cts;
20 import android.preference.Preference;
21 import android.preference.PreferenceGroup;
51 public boolean onPrepareAddPreference(Preference preference) { in onPrepareAddPreference() argument
53 return super.onPrepareAddPreference(preference); in onPrepareAddPreference()
DPreferenceDataStoreTest.java17 package android.preference.cts;
43 import android.preference.CheckBoxPreference;
44 import android.preference.Preference;
45 import android.preference.PreferenceDataStore;
46 import android.preference.PreferenceManager;
47 import android.preference.PreferenceScreen;
101 Preference preference = new Preference(mActivity); in testThatDataStoreIsNullByDefault() local
102 mScreen.addPreference(preference); in testThatDataStoreIsNullByDefault()
104 assertNull(preference.getPreferenceDataStore()); in testThatDataStoreIsNullByDefault()
105 assertNotNull(preference.getSharedPreferences()); in testThatDataStoreIsNullByDefault()
[all …]
DPreferenceFragmentTest.java17 package android.preference.cts;
19 import android.preference.PreferenceManager;
20 import android.preference.PreferenceScreen;
21 import android.preference.cts.PreferenceFragmentActivity.PrefFragment;
DFragmentPreferencesTest.java17 package android.preference.cts;
19 import android.preference.Preference;
20 import android.preference.PreferenceManager;
21 import android.preference.PreferenceScreen;
DPreferenceActivityTest.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
21 import android.preference.PreferenceManager;
22 import android.preference.PreferenceScreen;
DPreferenceParentGroupTest.java17 package android.preference.cts;
23 import android.preference.CheckBoxPreference;
24 import android.preference.PreferenceCategory;
25 import android.preference.PreferenceScreen;
DPreferenceWithHeaders.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
21 import android.preference.PreferenceFragment;
DPreferenceCtsActivity.java17 package android.preference.cts;
19 import android.preference.PreferenceActivity;
DPreferencesFromXml.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
DPreferencesFromXmlNested.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
DPreferencesFromXmlRecycle.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
DCustomCheckBoxPreferenceTest.java17 package android.preference.cts;
19 import android.preference.CheckBoxPreference;
DPreferenceCategoryTest.java17 package android.preference.cts;
19 import android.preference.Preference;
DEditTextPreferenceTest.java17 package android.preference.cts;
19 import android.preference.EditTextPreference;
DFragmentPreferences.java17 package android.preference.cts;
21 import android.preference.PreferenceFragment;
DPreferenceFragmentActivity.java16 package android.preference.cts;
20 import android.preference.PreferenceFragment;
DCheckBoxPreferenceTest.java17 package android.preference.cts;
19 import android.preference.CheckBoxPreference;
DCustomPreference.java16 package android.preference.cts;
21 import android.preference.Preference;
22 import android.preference.PreferenceManager;
DPreferenceRecycleTest.java17 package android.preference.cts;
23 import android.preference.Preference;
24 import android.preference.PreferenceScreen;
DRecycleCheckPreference.java17 package android.preference.cts;
20 import android.preference.CheckBoxPreference;
DCustomDialogPreference.java16 package android.preference.cts;
21 import android.preference.DialogPreference;
DCustomSwitchPreference.java16 package android.preference.cts;
21 import android.preference.SwitchPreference;
DCustomEditTextPreference.java16 package android.preference.cts;
21 import android.preference.EditTextPreference;

12