/sdk/eclipse/plugins/com.android.ide.eclipse.adt/templates/ |
preference_intent_filter.template | 1 <category android:name="android.intent.category.PREFERENCE" /
|
/frameworks/base/core/java/android/preference/ |
PreferenceGroup.java | 17 package android.preference; 33 * {@link Preference} objects. It is a base class for Preference objects that are 38 public abstract class PreferenceGroup extends Preference implements GenericInflater.Parent<Preference> { 40 * The container for child {@link Preference}s. This is sorted based on the 41 * ordering, please use {@link #addPreference(Preference)} instead of adding 44 private List<Preference> mPreferenceList; 55 mPreferenceList = new ArrayList<Preference>(); 69 * Whether to order the {@link Preference} children of this group as the 232 final Preference preference = getPreference(i); local [all...] |
package.html | 10 the {@link android.preference.PreferenceActivity} class. In the PreferenceActivity, a 11 {@link android.preference.PreferenceScreen} object should be the root element of the layout. 12 The PreferenceScreen contains {@link android.preference.Preference} elements such as a 13 {@link android.preference.CheckBoxPreference}, {@link android.preference.EditTextPreference}, 14 {@link android.preference.ListPreference}, {@link android.preference.PreferenceCategory}, 15 or {@link android.preference.RingtonePreference}. </p> 17 All settings made for a given {@link android.preference.Preference} will be automatically save [all...] |
PreferenceGroupAdapter.java | 17 package android.preference; 24 import android.preference.Preference.OnPreferenceChangeInternalListener; 32 * An adapter that returns the {@link Preference} contained in this group. 34 * adapters from {@link Preference#getAdapter()}. 37 * {@link Preference}'s adapter rule (the 39 * {@link Preference#getView(ViewGroup)} if a {@link Preference} has an 40 * adapter via {@link Preference#getAdapter()}). 59 * Maps a position into this adapter -> {@link Preference}. Thes 152 final Preference preference = group.getPreference(i); local 211 final Preference preference = this.getItem(position); local 257 final Preference preference = this.getItem(position); local [all...] |
OnDependencyChangeListener.java | 17 package android.preference; 21 * {@link Preference} changes with respect to enabling/disabling 26 * Called when this preference has changed in a way that dependents should 31 void onDependencyChanged(Preference dependency, boolean disablesDependent);
|
PreferenceCategory.java | 17 package android.preference; 25 * Used to group {@link Preference} objects 44 protected boolean onPrepareAddPreference(Preference preference) { 45 if (preference instanceof PreferenceCategory) { 50 return super.onPrepareAddPreference(preference);
|
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
WKPreferences.cpp | 38 WKPreferencesRef preference = WKPreferencesCreate(); local 40 TEST_ASSERT(WKGetTypeID(preference) == WKPreferencesGetTypeID()); 42 WKRelease(preference); 63 WKPreferencesRef preference = WKPreferencesCreate(); local 65 TEST_ASSERT(WKPreferencesGetJavaScriptEnabled(preference) == true); 66 TEST_ASSERT(WKPreferencesGetLoadsImagesAutomatically(preference) == true); 67 TEST_ASSERT(WKPreferencesGetOfflineWebApplicationCacheEnabled(preference) == false); 68 TEST_ASSERT(WKPreferencesGetLocalStorageEnabled(preference) == true); 69 TEST_ASSERT(WKPreferencesGetXSSAuditorEnabled(preference) == true); 70 TEST_ASSERT(WKPreferencesGetFrameFlatteningEnabled(preference) == false) [all...] |
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
language_chewing_handler.cc | 47 const language_prefs::LanguageIntegerRangePreference& preference = local 51 GetI18nContentValue(preference, kI18nPrefix), 52 l10n_util::GetStringUTF16(preference.message_id)); 54 GetTemplateDataMinName(preference, kI18nPrefix), 55 base::IntToString(preference.min_pref_value)); 57 GetTemplateDataMaxName(preference, kI18nPrefix), 58 base::IntToString(preference.max_pref_value)); 63 const language_prefs::LanguageIntegerRangePreference& preference = local 67 GetI18nContentValue(preference, kI18nPrefix), 68 l10n_util::GetStringUTF16(preference.message_id)) 84 preference = language_prefs::kChewingMultipleChoicePrefs[i]; local [all...] |
language_options_util.h | 20 // Returns an i18n-content value corresponding to |preference|. 22 std::string GetI18nContentValue(const T& preference, const char* prefix) { 23 return std::string(prefix) + preference.ibus_config_name; 26 // Returns a property name of templateData corresponding to |preference|. 28 std::string GetTemplateDataPropertyName(const T& preference, 30 return std::string(prefix) + preference.ibus_config_name + "Value"; 36 std::string GetTemplateDataMinName(const T& preference, const char* prefix) { 37 return std::string(prefix) + preference.ibus_config_name + "Min"; 43 std::string GetTemplateDataMaxName(const T& preference, const char* prefix) { 44 return std::string(prefix) + preference.ibus_config_name + "Max" [all...] |
language_mozc_handler.cc | 43 preference = language_prefs::kMozcMultipleChoicePrefs[i]; local 45 GetI18nContentValue(preference, kI18nPrefix), 46 l10n_util::GetStringUTF16(preference.label_message_id)); 47 localized_strings->Set(GetTemplateDataPropertyName(preference, kI18nPrefix), 48 CreateMultipleChoiceList(preference)); 52 const language_prefs::LanguageIntegerRangePreference& preference = local 55 GetI18nContentValue(preference, kI18nPrefix), 56 l10n_util::GetStringUTF16(preference.message_id)); 58 for (int j = preference.min_pref_value; j <= preference.max_pref_value [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
DebugPreferencesFragment.java | 20 import android.preference.Preference; 21 import android.preference.Preference.OnPreferenceClickListener; 22 import android.preference.PreferenceFragment; 38 Preference e = findPreference(PreferenceKeys.PREF_RESET_PRELOGIN); 43 public boolean onPreferenceClick(Preference preference) { 44 if (PreferenceKeys.PREF_RESET_PRELOGIN.equals(preference.getKey())) {
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SettingsActivity.java | 22 import android.preference.CheckBoxPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceActivity; 25 import android.preference.PreferenceGroup; 26 import android.preference.PreferenceManager; 27 import android.preference.PreferenceScreen; 37 Preference.OnPreferenceChangeListener { 91 public boolean onPreferenceChange(Preference preference, Object newValue) 102 Preference preference = parentPref.findPreference(prefKey); local [all...] |
/packages/apps/Phone/src/com/android/phone/ |
DataUsage.java | 25 import android.preference.Preference; 26 import android.preference.PreferenceActivity; 27 import android.preference.PreferenceScreen; 38 private Preference mCurrentUsagePref; 39 private Preference mTimeFramePref; 40 private Preference mThrottleRatePref; 41 private Preference mHelpPref; 85 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { [all...] |
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...] |
CdmaCallOptions.java | 26 import android.preference.CheckBoxPreference; 27 import android.preference.Preference; 28 import android.preference.PreferenceActivity; 29 import android.preference.PreferenceScreen; 54 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { 55 if (preference.getKey().equals(BUTTON_VP_KEY)) {
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DeviceListPreferenceFragment.java | 22 import android.preference.Preference; 23 import android.preference.PreferenceCategory; 24 import android.preference.PreferenceGroup; 25 import android.preference.PreferenceScreen; 130 Preference preference) { 131 if (KEY_BT_SCAN.equals(preference.getKey())) { 136 if (preference instanceof BluetoothDevicePreference) { 137 BluetoothDevicePreference btPreference = (BluetoothDevicePreference) preference; 165 BluetoothDevicePreference preference = new BluetoothDevicePreference( local 182 BluetoothDevicePreference preference = mDevicePreferenceMap.remove(cachedDevice); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
OtherPreferences.java | 22 import android.preference.Preference; 23 import android.preference.PreferenceFragment; 24 import android.preference.PreferenceScreen; 34 private Preference mCopyDb; 48 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { 49 if (preference == mCopyDb) { 55 return super.onPreferenceTreeClick(screen, preference);
|
/external/chromium/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/ |
manifest.json | 4 "description" : "Sample extension which demonstrates how to access a preference.",
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSettings.java | 21 import android.preference.ListPreference; 22 import android.preference.Preference; 23 import android.preference.PreferenceActivity; 30 // Preference key for whether to enable emergency notifications (default enabled). 42 // Preference category for ETWS related settings. 48 // Preference category for CMAS related settings. 61 // Preference category for Brazil specific settings. 64 // Preference key for whether to enable channel 50 notifications 85 duration.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() [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. 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...] |
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
InputMethodSettingsInterface.java | 34 * @param title The title for this preference. 39 * Sets the title for the input method enabler preference for launching subtype enabler with a 46 * Sets the title for the input method enabler preference for launching subtype enabler with a 48 * @param title The title for this preference. 53 * Sets the icon for the preference for launching subtype enabler with a resource ID. 54 * @param resId The resource id of an optional icon for the preference. 59 * Sets the icon for the Preference for launching subtype enabler with a Drawable. 60 * @param drawable The drawable of an optional icon for the preference.
|
/development/samples/ApiDemos/res/xml/ |
advanced_preferences.xml | 17 <!-- This is an advanced example showing the custom preference types and manually handling 18 preference clicks. --> 22 <!-- My custom preference type. This just replaces the actual widget 23 portion of the preference, if the whole preference wanted to be 26 <com.example.android.apis.preference.MyPreference
|
/external/svox/pico/res/xml/ |
voices_list.xml | 20 <Preference 23 <Preference 26 <Preference 29 <Preference 32 <Preference 35 <Preference
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/ |
PreferenceController.java | 19 import android.preference.Preference; 22 * Interfaces for classes that handle logic behind a settings preference. 27 * Handle a preference. This should take any action necessary to implement the logic behind the 28 * given preference. It will be called from {@link Activity#onCreate}. 31 void handlePreference(Preference p);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
GeneralPreferences.java | 20 import android.preference.ListPreference; 21 import android.preference.Preference; 22 import android.preference.PreferenceCategory; 23 import android.preference.Preference.OnPreferenceChangeListener; 24 import android.preference.PreferenceFragment; 25 import android.preference.PreferenceScreen; 70 public boolean onPreferenceChange(Preference preference, Object newValue) [all...] |