HomeSort by relevance Sort by last modified time
    Searched full:getpreference (Results 1 - 25 of 109) sorted by null

1 2 3 4 5

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
PreferenceLoaderTest.java 71 assertThat(screen.getPreference(0), instanceOf(PreferenceCategory.class));
72 assertThat(((PreferenceCategory)screen.getPreference(0)).getPreference(0), instanceOf(Preference.class));
74 assertThat(screen.getPreference(1), instanceOf(CheckBoxPreference.class));
75 assertThat(screen.getPreference(2), instanceOf(EditTextPreference.class));
76 assertThat(screen.getPreference(3), instanceOf(ListPreference.class));
77 assertThat(screen.getPreference(4), instanceOf(Preference.class));
78 assertThat(screen.getPreference(5), instanceOf(RingtonePreference.class));
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPreferenceGroup.java 41 public Preference getPreference(int index) {
72 final Preference preference = getPreference(i);
100 getPreference(i).setEnabled(enabled);
  /packages/apps/EmergencyInfo/tests/src/com/android/emergency/preferences/
EmergencyContactsPreferenceTest.java 102 mEmergencyContactsPreference.getPreference(0);
112 (ContactPreference) mEmergencyContactsPreference.getPreference(0));
165 mEmergencyContactsPreference.getPreference(0);
189 mEmergencyContactsPreference.getPreference(0);
238 mEmergencyContactsPreference.getPreference(0);
  /frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
WiFiKeyManager.java 69 public int getPreference() {
79 return Integer.compare(getPreference(), other.getPreference());
  /external/junit/src/junit/runner/
BaseTestRunner.java 229 return getPreference("loading").equals("true") && fLoading;
252 public static String getPreference(String key) {
256 public static int getPreference(String key, int dflt) {
257 String value= getPreference(key);
315 return !getPreference("filterstack").equals("true") || fgFilterStack == false;
337 fgMaxMessageLength= getPreference("maxmessage", fgMaxMessageLength);
  /frameworks/base/core/java/android/preference/
PreferenceGroup.java 122 public Preference getPreference(int index) {
236 final Preference preference = getPreference(i);
277 getPreference(i).onAttachedToActivity();
297 getPreference(i).onParentChanged(this, disableDependents);
314 getPreference(i).dispatchSaveInstanceState(container);
325 getPreference(i).dispatchRestoreInstanceState(container);
  /cts/tests/sample/src/android/sample/cts/
SampleDeviceTest.java 70 assertEquals("Preferences were not saved", VALUE, mActivity.getPreference(KEY));
74 assertNull("Preferences were not cleared", mActivity.getPreference(KEY));
SampleJUnit4DeviceTest.java 61 mActivityRule.getActivity().getPreference(KEY));
66 mActivityRule.getActivity().getPreference(KEY));
  /frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
LeanbackPreferenceDialogFragment.java 53 public DialogPreference getPreference() {
LeanbackListPreferenceDialogFragment.java 65 final DialogPreference preference = getPreference();
86 final DialogPreference preference = getPreference();
104 final DialogPreference preference = getPreference();
162 final ListPreference preference = (ListPreference) getPreference();
223 = (MultiSelectListPreference) getPreference();
  /packages/apps/Settings/src/com/android/settings/datausage/
TemplatePreferenceCategory.java 53 ((TemplatePreference) getPreference(i)).setTemplate(mTemplate, mSubId, services);
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/
UsbTunerPreferences.java 133 private static String getPreference(Context context, String key) {
144 SoftPreconditions.warn(TAG, "getPreference", "Error querying preference values", e);
154 return Integer.parseInt(getPreference(context, key));
164 return Boolean.valueOf(getPreference(context, key));
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceGroup.java 140 public Preference getPreference(int index) {
288 final Preference preference = getPreference(i);
337 getPreference(i).onAttached();
351 getPreference(i).onDetached();
363 getPreference(i).onParentChanged(this, disableDependents);
380 getPreference(i).dispatchSaveInstanceState(container);
391 getPreference(i).dispatchRestoreInstanceState(container);
EditTextPreferenceDialogFragmentCompat.java 72 return (EditTextPreference) getPreference();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
PreferenceGroupTest.java 92 assertThat( group.getPreference(0), sameInstance(pref1));
93 assertThat( group.getPreference(1), sameInstance(pref2));
  /cts/tests/sample/src/android/sample/
SampleDeviceActivity.java 62 public String getPreference(String key) {
  /packages/apps/StorageManager/src/com/android/storagemanager/
PreferenceListCache.java 41 Preference p = group.getPreference(i);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/
RadioPreference.java 57 final Preference p = preferenceGroup.getPreference(i);
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
AllAppPermissionsFragment.java 134 pref.addPreference(getPreference(perm, group, pm));
137 otherGroup.addPreference(getPreference(perm, group, pm));
187 private Preference getPreference(PermissionInfo perm, PermissionGroupInfo group,
  /frameworks/support/v14/preference/src/android/support/v14/preference/
EditTextPreferenceDialogFragment.java 73 return (EditTextPreference) getPreference();
  /packages/apps/Settings/src/com/android/settings/
CustomDialogPreference.java 85 return (CustomDialogPreference) getPreference();
CustomEditTextPreference.java 90 return (CustomEditTextPreference) getPreference();
ProgressCategory.java 63 (getPreferenceCount() == 1 && getPreference(0) == mNoDeviceFoundPreference));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
TwoStatePreferenceHelper.java 49 preferences.add(group.getPreference(index));
  /packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
EmergencyContactsPreference.java 127 removePreference(getPreference(0));
135 ContactPreference contactPreference = (ContactPreference) getPreference(i);

Completed in 469 milliseconds

1 2 3 4 5