/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
MyPreference.java | 17 package com.example.android.apis.preference; 25 import android.preference.Preference; 31 * This is an example of a custom preference type. The preference counts the 34 public class MyPreference extends Preference { 69 // preference should be persistent, along with other useful checks) 78 // This preference type's value type is Integer, so we read the default 99 * Suppose a client uses this preference type without persisting. We 133 * of MyPreference, a subclass of Preference [all...] |
/external/chromium/chrome/browser/prefs/ |
session_startup_pref.cc | 118 const PrefService::Preference* pref_restore = 127 const PrefService::Preference* pref_urls =
|
/external/chromium_org/chrome/browser/ui/webui/ |
gesture_config_ui.cc | 19 * WebUI for configuring 'gesture.*' preference values used by 60 const PrefService::Preference* pref = 93 const PrefService::Preference* pref =
|
/external/replicaisland/src/com/replica/replicaisland/ |
SliderPreference.java | 26 import android.preference.Preference; 28 public class SliderPreference extends Preference implements OnSeekBarChangeListener {
|
/packages/apps/Settings/src/com/android/settings/ |
AccountPreference.java | 24 import android.preference.Preference; 33 public class AccountPreference extends Preference {
|
ApnPreference.java | 23 import android.preference.Preference; 34 public class ApnPreference extends Preference implements
|
SecuritySettings.java | 35 import android.preference.CheckBoxPreference; 36 import android.preference.ListPreference; 37 import android.preference.Preference; 38 import android.preference.Preference.OnPreferenceChangeListener; 39 import android.preference.PreferenceGroup; 40 import android.preference.PreferenceScreen; 101 private Preference mResetCredentials; 109 private Preference mNotificationAccess [all...] |
DateTimeSettings.java | 32 import android.preference.CheckBoxPreference; 33 import android.preference.ListPreference; 34 import android.preference.Preference; 35 import android.preference.PreferenceScreen; 69 private Preference mTimePref; 70 private Preference mTime24Pref; 72 private Preference mTimeZone; 73 private Preference mDatePref; 298 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) [all...] |
PrivacySettings.java | 29 import android.preference.CheckBoxPreference; 30 import android.preference.Preference; 31 import android.preference.PreferenceScreen; 96 Preference preference) { 97 if (preference == mBackup) { 103 } else if (preference == mAutoRestore) { 111 return super.onPreferenceTreeClick(preferenceScreen, preference);
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
ManageAccountsSettings.java | 33 import android.preference.Preference; 34 import android.preference.PreferenceActivity; 35 import android.preference.PreferenceScreen; 137 public boolean onPreferenceTreeClick(PreferenceScreen preferences, Preference preference) { 138 if (preference instanceof AccountPreference) { 139 startAccountSettings((AccountPreference) preference); 194 Preference pref = getPreferenceScreen().getPreference(i); 234 Preference pref = getPreferenceScreen().getPreference(i) 327 final AccountPreference preference = local [all...] |
/external/chromium/chrome/browser/sync/glue/ |
preference_model_associator_unittest.cc | 40 const PrefService::Preference* pref = 80 const PrefService::Preference* pref = 90 const PrefService::Preference* pref = 105 const PrefService::Preference* pref = 122 const PrefService::Preference* pref = 139 const PrefService::Preference* pref = 161 const PrefService::Preference* pref = 182 const PrefService::Preference* pref = 215 const PrefService::Preference* pref = 230 const PrefService::Preference* pref [all...] |
preference_model_associator.cc | 48 const PrefService::Preference* pref) { 56 // The server has a value for the preference. 57 const sync_pb::PreferenceSpecifics& preference( 59 DCHECK_EQ(tag, preference.name()); 63 reader.JsonToValue(preference.value(), false, false)); 64 std::string pref_name = preference.name(); 66 LOG(ERROR) << "Failed to deserialize preference value: " 71 // Merge the server value of this preference with the local value. 74 // Update the local preference based on what we got from the 79 LOG(WARNING) << "Synced value for " << preference.name( 250 sync_pb::PreferenceSpecifics preference; local [all...] |
/external/chromium_org/chrome/browser/prefs/ |
pref_model_associator_unittest.cc | 38 const PrefService::Preference* pref = 78 const PrefService::Preference* pref = 90 const PrefService::Preference* pref = 107 const PrefService::Preference* pref = 126 const PrefService::Preference* pref = 145 const PrefService::Preference* pref = 169 const PrefService::Preference* pref = 192 const PrefService::Preference* pref = 227 const PrefService::Preference* pref = 245 const PrefService::Preference* pref [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SettingsFragment.java | 30 import android.preference.CheckBoxPreference; 31 import android.preference.ListPreference; 32 import android.preference.Preference; 33 import android.preference.Preference.OnPreferenceClickListener; 34 import android.preference.PreferenceGroup; 35 import android.preference.PreferenceScreen; 72 final Preference preference = findPreference(preferenceKey) local 82 final Preference preference = parent.findPreference(preferenceKey); local 313 final Preference preference = findPreference(Settings.PREF_KEYBOARD_LAYOUT); local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PreferenceGroupTest.java | 16 import android.preference.Preference; 17 import android.preference.PreferenceGroup; 31 private Preference pref1, pref2; 41 pref1 = new Preference(context); 44 pref2 = new Preference(context);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
GeneralPreferences.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.PreferenceFragment; 26 import android.preference.PreferenceScreen; 99 public boolean onPreferenceChange(Preference preference, Object newValue) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
GeneralPreferences.java | 32 import android.preference.CheckBoxPreference; 33 import android.preference.ListPreference; 34 import android.preference.Preference; 35 import android.preference.Preference.OnPreferenceChangeListener; 36 import android.preference.Preference.OnPreferenceClickListener; 37 import android.preference.PreferenceCategory; 38 import android.preference.PreferenceFragment [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageVolumePreferenceCategory.java | 35 import android.preference.Preference; 36 import android.preference.PreferenceCategory; 64 private Preference mMountTogglePreference; 65 private Preference mFormatPreference; 66 private Preference mStorageLow; 200 // Always create the preference since many code rely on it existing 201 mMountTogglePreference = new Preference(context); 210 mFormatPreference = new Preference(context); 219 mStorageLow = new Preference(context) [all...] |
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()) {
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
preference_apitest.cc | 32 const PrefService::Preference* pref = prefs->FindPreference( 49 const PrefService::Preference* pref = prefs->FindPreference( 108 const char kExtensionPath[] = "preference/standard"; 135 RunExtensionTestIncognito("preference/persistent_incognito")) << 138 // Setting an incognito preference should not create an incognito profile. 142 const PrefService::Preference* pref = 156 EXPECT_FALSE(RunExtensionTest("preference/persistent_incognito")); 164 RunExtensionTestIncognito("preference/session_only_incognito")) << 170 const PrefService::Preference* pref = 186 EXPECT_TRUE(RunExtensionTest("preference/clear")) << message_ [all...] |
/packages/services/Telephony/src/com/android/phone/sip/ |
SipSettings.java | 41 import android.preference.CheckBoxPreference; 42 import android.preference.Preference; 43 import android.preference.Preference.OnPreferenceClickListener; 44 import android.preference.PreferenceActivity; 45 import android.preference.PreferenceCategory; 89 private class SipPreference extends Preference { 217 public boolean onPreferenceClick(Preference preference) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
DeviceAdminSample.java | 30 import android.preference.CheckBoxPreference; 31 import android.preference.EditTextPreference; 32 import android.preference.ListPreference; 33 import android.preference.Preference; 34 import android.preference.Preference.OnPreferenceChangeListener; 35 import android.preference.Preference.OnPreferenceClickListener; 36 import android.preference.PreferenceActivity [all...] |
/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; 135 Preference preference) { 136 if (KEY_BT_SCAN.equals(preference.getKey())) { 141 if (preference instanceof BluetoothDevicePreference) { 142 BluetoothDevicePreference btPreference = (BluetoothDevicePreference) preference; 170 BluetoothDevicePreference preference = new BluetoothDevicePreference( local 187 BluetoothDevicePreference preference = mDevicePreferenceMap.remove(cachedDevice); local [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
KeyboardLayoutPickerFragment.java | 27 import android.preference.CheckBoxPreference; 28 import android.preference.Preference; 29 import android.preference.PreferenceScreen; 93 Preference preference) { 94 if (preference instanceof CheckBoxPreference) { 95 CheckBoxPreference checkboxPref = (CheckBoxPreference)preference; 109 return super.onPreferenceTreeClick(preferenceScreen, preference);
|
/packages/apps/Settings/src/com/android/settings/tts/ |
TextToSpeechSettings.java | 31 import android.preference.ListPreference; 32 import android.preference.Preference; 33 import android.preference.PreferenceActivity; 34 import android.preference.PreferenceCategory; 52 Preference.OnPreferenceChangeListener, Preference.OnPreferenceClickListener, 58 /** Preference key for the "play TTS example" preference. */ 61 /** Preference key for the TTS rate selection dialog. * [all...] |