/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnSettings.java | 33 import android.preference.Preference; 34 import android.preference.PreferenceGroup; 35 import android.preference.PreferenceScreen; 68 Handler.Callback, Preference.OnPreferenceClickListener, 272 // Update the preference. 273 VpnPreference preference = mPreferences.get(profile.key); local 274 if (preference != null) { 276 preference.update(profile); 278 preference = new VpnPreference(getActivity(), profile) 303 Preference preference = (Preference) getListView().getItemAtPosition( local 322 VpnPreference preference = mPreferences.get(mSelectedKey); local 385 VpnPreference preference = mPreferences.get(mInfo.key); local 392 VpnPreference preference = mPreferences.get(info.key); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
UsageAccessSettings.java | 38 import android.preference.Preference; 39 import android.preference.PreferenceScreen; 40 import android.preference.SwitchPreference; 47 Preference.OnPreferenceChangeListener { 70 SwitchPreference preference; field in class:UsageAccessSettings.PackageEntry 197 mPreferenceScreen.removePreference(oldPackageEntry.preference); 199 // This package already exists in the preference hierarchy, so reuse that 200 // Preference. 201 newPackageEntry.preference = oldPackageEntry.preference [all...] |
DisplaySettings.java | 46 import android.preference.ListPreference; 47 import android.preference.Preference; 48 import android.preference.Preference.OnPreferenceClickListener; 49 import android.preference.PreferenceScreen; 50 import android.preference.SwitchPreference; 60 Preference.OnPreferenceChangeListener, OnPreferenceClickListener, Indexable { 81 private Preference mScreenSaverPreference; 194 ListPreference preference = mScreenTimeoutPreference local [all...] |
DeviceInfoSettings.java | 35 import android.preference.Preference; 36 import android.preference.PreferenceGroup; 37 import android.preference.PreferenceScreen; 117 // Remove Safety information preference if PROPERTY_URL_SAFETYLEGAL is not set 121 // Remove Equipment id preference if FCC ID is not set by RIL 140 // These are contained in the "container" preference group 151 // These are contained by the root preference screen 169 Preference pref = findPreference(KEY_REGULATORY_INFO); 186 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ToggleDaltonizerPreferenceFragment.java | 20 import android.preference.ListPreference; 21 import android.preference.Preference; 31 implements Preference.OnPreferenceChangeListener, SwitchBar.OnSwitchChangeListener { 55 public boolean onPreferenceChange(Preference preference, Object newValue) { 56 if (preference == mType) { 58 preference.setSummary("%s");
|
AccessibilitySettings.java | 33 import android.preference.ListPreference; 34 import android.preference.Preference; 35 import android.preference.PreferenceCategory; 36 import android.preference.PreferenceScreen; 37 import android.preference.SwitchPreference; 70 Preference.OnPreferenceChangeListener, Indexable { 76 // Preference categories 182 // Preference controls. 192 private Preference mNoServicesMessagePreference 450 PreferenceScreen preference = getPreferenceManager().createPreferenceScreen( local [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiAPITest.java | 27 import android.preference.Preference; 28 import android.preference.PreferenceActivity; 29 import android.preference.PreferenceScreen; 38 Preference.OnPreferenceClickListener { 44 // Preference/activity member variables 51 private Preference mWifiDisconnect; 52 private Preference mWifiDisableNetwork; 53 private Preference mWifiEnableNetwork; 76 mWifiDisconnect = (Preference) preferenceScreen.findPreference(KEY_DISCONNECT) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
GsmUmtsOptions.java | 20 import android.preference.Preference; 21 import android.preference.PreferenceActivity; 22 import android.preference.PreferenceScreen; 95 Preference pref = mPrefScreen.findPreference(BUTTON_CARRIER_SETTINGS_KEY); 103 new Preference.OnPreferenceClickListener() { 105 public boolean onPreferenceClick(Preference preference) { 106 // We need to build the Intent by hand as the Preference Framework 107 // does not allow to add an Intent with some extras into a Preference [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
DeviceAdminSample.java | 32 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 [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
KeyboardLayoutPickerFragment.java | 28 import android.preference.CheckBoxPreference; 29 import android.preference.Preference; 30 import android.preference.PreferenceScreen; 95 Preference preference) { 96 if (preference instanceof CheckBoxPreference) { 97 CheckBoxPreference checkboxPref = (CheckBoxPreference)preference; 111 return super.onPreferenceTreeClick(preferenceScreen, preference);
|
/packages/apps/Settings/src/com/android/settings/print/ |
PrintSettingsFragment.java | 37 import android.preference.Preference; 38 import android.preference.PreferenceCategory; 39 import android.preference.PreferenceScreen; 217 PreferenceScreen preference = getPreferenceManager().createPreferenceScreen( local 221 preference.setTitle(title); 226 preference.setKey(componentName.flattenToString()); 228 preference.setOrder(i); 229 preference.setFragment(PrintServiceSettingsFragment.class.getName()); 230 preference.setPersistent(false) 381 PreferenceScreen preference = getPreferenceManager() local [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
MessagingPreferenceActivity.java | 34 import android.preference.CheckBoxPreference; 35 import android.preference.Preference; 36 import android.preference.Preference.OnPreferenceChangeListener; 37 import android.preference.PreferenceActivity; 38 import android.preference.PreferenceCategory; 39 import android.preference.PreferenceManager; 40 import android.preference.PreferenceScreen; 41 import android.preference.RingtonePreference [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
PreferenceLoader.java | 20 import android.preference.Preference; 21 import android.preference.PreferenceGroup; 22 import android.preference.PreferenceScreen; 102 public Preference inflate(Context context, Preference parent) throws Exception { 103 Preference preference = create(context, (PreferenceGroup) parent); local 106 child.inflate(context, preference); 109 return preference; 113 Preference preference = constructPreference(context, parent); local [all...] |
/external/chromium_org/chrome/browser/ui/views/status_icons/ |
status_tray_state_changer_interactive_uitest_win.cc | 99 // Setup code to read the current preference. 104 DWORD current_preference = notify_item->preference; 107 if (notify_item->preference != PREFERENCE_SHOW_WHEN_ACTIVE) { 109 notify_item_copy->preference = PREFERENCE_SHOW_WHEN_ACTIVE; 116 EXPECT_EQ(PREFERENCE_SHOW_ALWAYS, GetNotifyItem()->preference); 120 EXPECT_EQ(notify_item->preference, current_preference); 135 if (notify_item->preference == PREFERENCE_SHOW_ALWAYS)
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
UsbSettings.java | 26 import android.preference.CheckBoxPreference; 27 import android.preference.Preference; 28 import android.preference.PreferenceScreen; 97 // Make sure we reload the preference hierarchy since some of these settings 135 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { 150 if (preference == mMtp && mMtp.isChecked()) { 152 } else if (preference == mPtp && mPtp.isChecked()) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/preferences/ |
PreferencePage.java | 26 import org.eclipse.jface.preference.BooleanFieldEditor; 27 import org.eclipse.jface.preference.ComboFieldEditor; 28 import org.eclipse.jface.preference.FieldEditorPreferencePage; 29 import org.eclipse.jface.preference.IntegerFieldEditor; 30 import org.eclipse.jface.preference.RadioGroupFieldEditor; 31 import org.eclipse.jface.preference.StringFieldEditor;
|
/external/replicaisland/src/com/replica/replicaisland/ |
SetPreferencesActivity.java | 21 import android.preference.Preference; 22 import android.preference.PreferenceActivity; 23 import android.preference.PreferenceScreen; 39 Preference eraseGameButton = getPreferenceManager().findPreference("erasegame"); 45 Preference configureKeyboardPref = getPreferenceManager().findPreference("keyconfig");
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/ |
DisplayOrderPreference.java | 17 package com.android.contacts.common.preference; 21 import android.preference.ListPreference; 26 import com.android.contacts.common.preference.ContactsPreferences; 29 * Custom preference: view-name-as (first name first or last name first). 62 return false; // This preference takes care of its own storage
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceFromCodeActivity.java | 22 import android.preference.CheckBoxPreference; 23 import android.preference.EditTextPreference; 24 import android.preference.ListPreference; 25 import android.preference.Preference; 26 import android.preference.PreferenceActivity; 27 import android.preference.PreferenceCategory; 28 import android.preference.PreferenceGroup; 29 import android.preference.PreferenceScreen; 30 import android.preference.SwitchPreference [all...] |
FragmentPreferences.java | 23 import android.preference.PreferenceFragment;
|
PreferenceFragmentActivity.java | 21 import android.preference.PreferenceFragment;
|
/developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
CustomRestrictionsFragment.java | 25 import android.preference.CheckBoxPreference; 26 import android.preference.ListPreference; 27 import android.preference.MultiSelectListPreference; 28 import android.preference.Preference; 29 import android.preference.PreferenceFragment; 51 implements Preference.OnPreferenceChangeListener { 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 [all...] |
/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
CustomRestrictionsFragment.java | 25 import android.preference.CheckBoxPreference; 26 import android.preference.ListPreference; 27 import android.preference.MultiSelectListPreference; 28 import android.preference.Preference; 29 import android.preference.PreferenceFragment; 51 implements Preference.OnPreferenceChangeListener { 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 [all...] |
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
CustomRestrictionsFragment.java | 25 import android.preference.CheckBoxPreference; 26 import android.preference.ListPreference; 27 import android.preference.MultiSelectListPreference; 28 import android.preference.Preference; 29 import android.preference.PreferenceFragment; 51 implements Preference.OnPreferenceChangeListener { 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 [all...] |
/external/chromium_org/chrome/browser/resources/ |
gesture_config.js | 11 * A generic WebUI for configuring preference values used by Chrome's gesture 27 * Sets up the form for configuring all the preference values. 97 * Requests preference values for all the relevant fields. 106 * Causes all form values to be updated based on current preference values. 118 * Requests a preference setting's value. 121 * @param {string} prefName The name of the preference value being requested. 128 * Sets a preference setting's value. 129 * @param {string} prefName The name of the preference value being set. 138 * Resets a preference to its default value and get that callback 139 * to updatePreferenceValueResult with the new value of the preference [all...] |