/frameworks/base/core/java/android/preference/ |
PreferenceCategory.java | 17 package android.preference; 23 * Used to group {@link Preference} objects 54 protected boolean onPrepareAddPreference(Preference preference) { 55 if (preference instanceof PreferenceCategory) { 60 return super.onPrepareAddPreference(preference);
|
PreferenceGroupAdapter.java | 17 package android.preference; 25 import android.preference.Preference.OnPreferenceChangeInternalListener; 34 * An adapter that returns the {@link Preference} contained in this group. 36 * adapters from {@link Preference#getAdapter()}. 39 * {@link Preference}'s adapter rule (the 41 * {@link Preference#getView(ViewGroup)} if a {@link Preference} has an 42 * adapter via {@link Preference#getAdapter()}). 64 * Maps a position into this adapter -> {@link Preference}. Thes 163 final Preference preference = group.getPreference(i); local 236 final Preference preference = this.getItem(position); local 298 final Preference preference = this.getItem(position); local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/preference/ |
BridgePreferenceInflater.java | 17 package android.preference; 32 protected Preference onCreateItem(String name, AttributeSet attrs) 45 Preference preference = super.onCreateItem(name, attrs); local 48 bc.addCookie(preference, viewKey); 50 return preference;
|
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
CameraSettingsActivityHelper.java | 20 import android.preference.PreferenceFragment;
|
/external/smack/src/org/xbill/DNS/ |
KXRecord.java | 24 * @param preference The preference of this KX. Records with lower priority 29 KXRecord(Name name, int dclass, long ttl, int preference, Name target) { 30 super(name, Type.KX, dclass, ttl, preference, "preference", 40 /** Returns the preference of this KX record */
|
NAPTRRecord.java | 18 private int order, preference; field in class:NAPTRRecord 33 * @param preference The preference, used to select between records at the 43 NAPTRRecord(Name name, int dclass, long ttl, int order, int preference, 48 this.preference = checkU16("preference", preference); 63 preference = in.readU16(); 73 preference = st.getUInt16(); 91 sb.append(preference); [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
InLineSettingItem.java | 30 * preference button. The setting includes a title for showing the preference 33 * and a next button. A switch, i.e. the preference RecordLocationPreference, 42 // Scene mode can override the original preference value. 54 protected void setTitle(ListPreference preference) { 56 mTitle.setText(preference.getTitle()); 59 public void initialize(ListPreference preference) { 60 setTitle(preference); 61 if (preference == null) return; 62 mPreference = preference; [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
InLineSettingItem.java | 30 * preference button. The setting includes a title for showing the preference 33 * and a next button. A switch, i.e. the preference RecordLocationPreference, 42 // Scene mode can override the original preference value. 53 protected void setTitle(ListPreference preference) { 54 ((TextView) findViewById(R.id.title)).setText(preference.getTitle()); 57 public void initialize(ListPreference preference) { 58 setTitle(preference); 59 if (preference == null) return; 60 mPreference = preference; [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CdmaCallOptions.java | 27 import android.preference.CheckBoxPreference; 28 import android.preference.Preference; 29 import android.preference.PreferenceActivity; 30 import android.preference.PreferenceScreen; 55 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { 56 if (preference.getKey().equals(BUTTON_VP_KEY)) {
|
TimeConsumingPreferenceActivity.java | 9 import android.preference.Preference; 10 import android.preference.PreferenceActivity; 17 public void onStarted(Preference preference, boolean reading); 18 public void onFinished(Preference preference, boolean reading); 19 public void onError(Preference preference, int error); 20 public void onException(Preference preference, CommandException exception) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SubScreenFragment.java | 24 import android.preference.ListPreference; 25 import android.preference.Preference; 26 import android.preference.PreferenceFragment; 27 import android.preference.PreferenceScreen; 32 * {@link PreferenceScreen} of the main preference screen. 40 final Preference preference = screen.findPreference(prefKey); local 41 if (preference != null) { 42 preference.setEnabled(enabled) 47 final Preference preference = screen.findPreference(prefKey); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
QuickResponseSettings.java | 21 import android.preference.EditTextPreference; 22 import android.preference.Preference; 23 import android.preference.Preference.OnPreferenceChangeListener; 24 import android.preference.PreferenceFragment; 25 import android.preference.PreferenceScreen; 86 public boolean onPreferenceChange(Preference preference, Object newValue) { 88 if (mEditTextPrefs[i].compareTo(preference) == 0) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
RespondViaSmsSettings.java | 24 import android.preference.EditTextPreference; 25 import android.preference.Preference; 26 import android.preference.PreferenceActivity; 45 implements Preference.OnPreferenceChangeListener { 59 // This preference screen is ultra-simple; it's just 4 plain 63 // each of those EditTextPreferences and use it as the preference's 100 // Preference.OnPreferenceChangeListener implementation 102 public boolean onPreferenceChange(Preference preference, Object newValue) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
DialogPreferenceTest.java | 5 import android.preference.DialogPreference; 25 private DialogPreference preference; field in class:DialogPreferenceTest 37 preference = new TestDialogPreference(context, attrs); 38 shadow = Robolectric.shadowOf(preference); 45 preference = new TestDialogPreference(context, attrs, defStyle); 46 shadow = Robolectric.shadowOf(preference); 51 preference = new TestDialogPreference(context, attrs); 52 shadow = Robolectric.shadowOf(preference); 60 assertThat((String) preference.getDialogMessage(), equalTo(TEST_DIALOG_MESSAGE));
|
/packages/apps/Settings/src/com/android/settings/ |
ApplicationSettings.java | 21 import android.preference.CheckBoxPreference; 22 import android.preference.ListPreference; 23 import android.preference.Preference; 24 import android.preference.Preference.OnPreferenceChangeListener; 25 import android.preference.PreferenceScreen; 70 public boolean onPreferenceChange(Preference preference, Object newValue) { 98 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) [all...] |
/cts/tests/tests/preference/src/android/preference/cts/ |
PreferenceActivityTest.java | 17 package android.preference.cts; 19 import com.android.cts.preference.R; 22 import android.preference.PreferenceActivity; 23 import android.preference.PreferenceManager; 24 import android.preference.PreferenceScreen;
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
FragmentPreferencesTest.java | 19 import android.preference.Preference; 20 import android.preference.PreferenceManager; 21 import android.preference.PreferenceScreen; 54 Preference pref = mPrefsFragment.findPreference("checkbox_preference");
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
DefaultValues.java | 17 package com.example.android.apis.preference; 24 import android.preference.PreferenceActivity; 25 import android.preference.PreferenceManager;
|
FragmentPreferences.java | 17 package com.example.android.apis.preference; 23 import android.preference.PreferenceFragment;
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
GeneralPreferences.java | 20 import android.preference.Preference; 21 import android.preference.PreferenceGroup; 22 import android.preference.PreferenceScreen; 36 final Preference removalAction = findPreference(PreferenceKeys.REMOVAL_ACTION); 40 final Preference confirmArchive = findPreference(PreferenceKeys.CONFIRM_ARCHIVE);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/preferences/ |
PrefPage.java | 21 import org.eclipse.jface.preference.DirectoryFieldEditor; 22 import org.eclipse.jface.preference.FieldEditorPreferencePage; 23 import org.eclipse.jface.preference.IPreferenceStore;
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
chrome_direct_setting.cc | 5 #include "chrome/browser/extensions/api/preference/chrome_direct_setting.h" 11 #include "chrome/browser/extensions/api/preference/chrome_direct_setting_api.h" 12 #include "chrome/browser/extensions/api/preference/preference_api_constants.h" 40 const PrefService::Preference* preference = local 42 EXTENSION_FUNCTION_VALIDATE(preference); 43 const base::Value* value = preference->GetValue(); 72 const PrefService::Preference* preference = local 74 EXTENSION_FUNCTION_VALIDATE(preference); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPreferenceActivity.java | 3 import android.preference.PreferenceActivity; 4 import android.preference.PreferenceScreen;
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
LabPreferencesFragment.java | 20 import android.preference.Preference; 21 import android.preference.PreferenceFragment;
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
SpareParts.java | 31 import android.preference.CheckBoxPreference; 32 import android.preference.ListPreference; 33 import android.preference.Preference; 34 import android.preference.PreferenceActivity; 35 import android.preference.PreferenceGroup; 36 import android.preference.PreferenceScreen; 46 implements Preference.OnPreferenceChangeListener, 77 Preference preference = parentPreferenceGroup.findPreference(preferenceKey) local [all...] |