/external/chromium_org/chrome/browser/chromeos/accessibility/ |
magnification_manager.h | 20 // - Watch change of the pref. When the pref changes, the setting of the 48 // Saves the magnifier scale to the pref. 51 // Loads the magnifier scale from the pref.
|
/external/chromium_org/chrome/browser/prefs/ |
session_startup_pref.cc | 52 void URLListToPref(const base::ListValue* url_list, SessionStartupPref* pref) { 53 pref->urls.clear(); 58 pref->urls.push_back(fixed_url); 98 const SessionStartupPref& pref) { 100 SetStartupPref(profile->GetPrefs(), pref); 105 const SessionStartupPref& pref) { 109 prefs->SetInteger(prefs::kRestoreOnStartup, TypeToPrefValue(pref.type)); 113 // user changes the startup type pref. 114 // Ownership of the ListValue retains with the pref service. 119 for (size_t i = 0; i < pref.urls.size(); ++i) [all...] |
/external/chromium_org/chrome/browser/tab_contents/ |
spelling_bubble_model.cc | 73 PrefService* pref = profile_->GetPrefs(); local 74 DCHECK(pref); 75 pref->SetBoolean(prefs::kSpellCheckUseSpellingService, enabled); 77 pref->SetBoolean(prefs::kEnableAutoSpellCorrect, enabled);
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
media_galleries_handler.h | 37 virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, 39 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, 41 virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, 56 void OnGalleriesChanged(MediaGalleriesPreferences* pref);
|
/external/chromium_org/ui/views/layout/ |
grid_layout_unittest.cc | 23 explicit SettableSizeView(const gfx::Size& pref) { 24 pref_ = pref; 64 pref = layout.GetPreferredSize(&host); 67 gfx::Size pref; member in class:views::GridLayoutTest 89 gfx::Size pref = layout.GetPreferredSize(&host); local 90 EXPECT_EQ(gfx::Size(10, 20), pref); 139 EXPECT_EQ(gfx::Size(30, 20), pref); 141 host.SetBounds(0, 0, pref.width(), pref.height()); 163 EXPECT_EQ(gfx::Size(100, 60), pref); 298 gfx::Size pref = layout.GetPreferredSize(&host); local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
SettingsActivity.java | 131 CheckBoxPreference pref = (CheckBoxPreference) preference; local 136 if (pref.isChecked()) { 153 public boolean onPreferenceChange(Preference pref, Object newValue) { 154 if (KEY_AUTO_SILENCE.equals(pref.getKey())) { 155 final ListPreference listPref = (ListPreference) pref; 158 } else if (KEY_CLOCK_STYLE.equals(pref.getKey())) { 159 final ListPreference listPref = (ListPreference) pref; 162 } else if (KEY_HOME_TZ.equals(pref.getKey())) { 163 final ListPreference listPref = (ListPreference) pref; 167 } else if (KEY_AUTO_HOME_CLOCK.equals(pref.getKey())) 212 Preference pref = findPreference(KEY_AUTO_HOME_CLOCK); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
WallpaperTypeSettings.java | 50 Preference pref = new Preference(getActivity()); local 54 pref.setIntent(prefIntent); 57 pref.setTitle(label); 58 parent.addPreference(pref);
|
HomeSettings.java | 76 HomeAppPreference pref = mPrefs.get(index); 77 if (!pref.isChecked) { 78 makeCurrentHome(pref); 102 void uninstallApp(HomeAppPreference pref) { 104 Uri packageURI = Uri.parse("package:" + pref.uninstallTarget); 107 int requestCode = REQUESTING_UNINSTALL + (pref.isChecked ? 1 : 0); 126 HomeAppPreference pref = mPrefs.get(i); local 127 if (pref.isSystem) { 128 makeCurrentHome(pref); 165 HomeAppPreference pref = new HomeAppPreference(context, activityName, prefIndex local [all...] |
RestrictedSettingsFragment.java | 46 private static final String EXTRA_PREFERENCE = "pref"; 145 Preference pref = findPreference(prefKey); local 146 if (pref != null) { 149 if (pref instanceof CheckBoxPreference 153 ((CheckBoxPreference)pref).setChecked(isChecked); 155 if (!onPreferenceTreeClick(getPreferenceScreen(), pref)) { 156 Intent prefIntent = pref.getIntent(); 158 pref.getContext().startActivity(prefIntent); 251 protected void protectByRestrictions(Preference pref) { 252 if (pref != null) 258 Preference pref = findPreference(key); local [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DeviceProfilesSettings.java | 179 Preference pref = createProfilePreference(profile); local 180 mProfileContainer.addPreference(pref); 205 CheckBoxPreference pref = new CheckBoxPreference(getActivity()); local 206 pref.setKey(profile.toString()); 207 pref.setTitle(profile.getNameResource(mCachedDevice.getDevice())); 208 pref.setPersistent(false); 209 pref.setOrder(getProfilePreferenceIndex(profile.getOrdinal())); 210 pref.setOnPreferenceChangeListener(this); 214 pref.setIcon(getResources().getDrawable(iconResource)); 220 pref.setEnabled(!mCachedDevice.isBusy()) [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_notifier_impl.h | 26 // If the pref at the given path changes, we call the observer's Observe 36 // A map from pref names to a list of observers. Observers get fired in the 46 // For the given pref_name, fire any observer of the pref. Virtual so it can
|
pref_observer_mock.h | 26 const PrefService::Preference* pref = local 28 if (!pref) 31 const Value* actual_value = pref->GetValue();
|
pref_service.h | 46 // your own; use the PrefService::Register*Pref methods instead. 65 // whether the pref is actually being controlled by the policy setting. 110 // Reference to the PrefService in which this pref was created. 145 // Creates an incognito copy of the pref service that shares most pref stores 146 // but uses a fresh non-persistent overlay for the user pref store and an 147 // individual extension pref store (to cache the effective extension prefs for 154 // is running during first run, and the main process may not change pref 175 // Make the PrefService aware of a pref. 199 // value (set when the pref was registered) will be returned [all...] |
/external/chromium/chrome/browser/resources/options/chromeos/ |
accounts_options.html | 14 <input id="allowBwsiCheck" pref="cros.accounts.allowBWSI" 26 pref="cros.accounts.showUserNamesOnSignIn" type="checkbox"> 36 <input id="useWhitelistCheck" pref="cros.accounts.allowGuest"
|
language_customize_modifier_keys_overlay.html | 8 pref="settings.language.xkb_remap_search_key_to" 18 pref="settings.language.xkb_remap_control_key_to" 27 pref="settings.language.xkb_remap_alt_key_to"
|
/external/chromium_org/base/prefs/ |
mock_pref_change_callback.h | 22 const PrefService::Preference* pref = local 24 if (!pref) 27 const base::Value* actual_value = pref->GetValue();
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
Settings.java | 40 protected Settings(SharedPreferences pref) { 41 mSharedPref = pref; 45 public static Settings getInstance(SharedPreferences pref) { 47 mInstance = new Settings(pref); 49 assert (pref == mSharedPref);
|
/packages/services/Telephony/src/com/android/phone/ |
GsmUmtsCallForwardOptions.java | 93 for (CallForwardEditPreference pref : mPreferences) { 94 Bundle bundle = mIcicle.getParcelable(pref.getKey()); 95 pref.setToggled(bundle.getBoolean(KEY_TOGGLE)); 99 pref.handleCallForwardResult(cf); 100 pref.init(this, true); 112 for (CallForwardEditPreference pref : mPreferences) { 114 bundle.putBoolean(KEY_TOGGLE, pref.isToggled()); 115 if (pref.callForwardInfo != null) { 116 bundle.putString(KEY_NUMBER, pref.callForwardInfo.number); 117 bundle.putInt(KEY_STATUS, pref.callForwardInfo.status) [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
font_settings.html | 12 pref="webkit.webprefs.fonts.standard.Zyyy"> 17 pref="webkit.webprefs.default_font_size"> 35 pref="webkit.webprefs.fonts.serif.Zyyy" 50 pref="webkit.webprefs.fonts.sansserif.Zyyy"> 63 pref="webkit.webprefs.fonts.fixed.Zyyy" 77 pref="webkit.webprefs.minimum_font_size"> 94 pref="intl.charset_default"
|
/external/chromium_org/chrome/browser/chromeos/ |
session_length_limiter_unittest.cc | 313 // session start time is set and the pref indicating user activity is cleared 316 // Pref indicating user activity not set. Session start time not set. 324 // Pref indicating user activity set. Session start time not set. 332 // Pref indicating user activity not set. Session start time in the future. 340 // Pref indicating user activity set. Session start time in the future. 348 // Pref indicating user activity not set. Session start time valid. 356 // Pref indicating user activity set. Session start time valid. 366 // start time and the pref indicating user activity are cleared in local state 371 // Pref indicating user activity not set. Session start time not set. 379 // Pref indicating user activity set. Session start time not set [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraSettings.java | 253 ListPreference pref, List<String> supported) { 258 removePreference(group, pref.getKey()); 262 pref.filterUnsupported(supported); 263 if (pref.getEntries().length <= 1) { 264 removePreference(group, pref.getKey()); 268 resetIfInvalid(pref); 271 private void resetIfInvalid(ListPreference pref) { 273 String value = pref.getValue(); 274 if (pref.findIndexOfValue(value) == NOT_FOUND) { 275 pref.setValueIndex(0) [all...] |
/external/chromium/chrome/browser/sync/glue/ |
preference_model_associator.cc | 48 const PrefService::Preference* pref) { 49 DCHECK(pref); 53 std::string tag = pref->name(); 61 if (pref->IsUserModifiable()) { 72 scoped_ptr<Value> new_value(MergePreference(*pref, *value)); 78 } else if (!new_value->IsType(pref->GetType())) { 81 << " which doesn't match pref type " << pref->GetType(); 82 } else if (!pref->GetValue()->Equals(new_value.get())) { 91 !WritePreferenceToNode(pref->name(), *new_value, &node) 135 const PrefService::Preference* pref = local [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_pref_value_map.h | 17 // extension pref values (incognito and regular) are stored herein and 25 // - The effective regular extension pref value is determined by the regular 26 // extension pref value of the extension with the highest precedence. 27 // - The effective incognito extension pref value is determined by the incognito 28 // extension pref value of the extension with the highest precedence, unless 30 // extension pref value. 68 // Note that regular extension pref values need to be reported to 136 // Returns all keys of pref values that are set by the extension of |entry|, 137 // regardless whether they are set for incognito or regular pref values. 143 // if |from_incognito| is not NULL, it is set to true if the effective pref [all...] |
extension_preference_api.cc | 93 const PrefService::Preference* pref = local 95 CHECK(pref); 98 if (!pref->IsExtensionModifiable()) 180 "Trying to register pref transformer for " << browser_pref << " twice"; 184 // Mapping from extension pref keys to browser pref keys and permissions. 187 // Mapping from browser pref keys to extension event names and permissions. 190 // Mapping from browser pref keys to transformers. 239 const PrefService::Preference* pref = local 241 CHECK(pref); 315 const PrefService::Preference* pref = local 366 const PrefService::Preference* pref = local [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
login_screen_default_policy_browsertest.cc | 203 const PrefService::Preference* pref = local 205 ASSERT_TRUE(pref); 206 EXPECT_FALSE(pref->IsManaged()); 207 EXPECT_FALSE(pref->IsDefaultValue()); 208 EXPECT_TRUE(base::Value::Equals(&recommended_value, pref->GetValue())); 210 pref->GetRecommendedValue())); 232 const PrefService::Preference* pref = local 234 ASSERT_TRUE(pref); 235 EXPECT_FALSE(pref->IsManaged()); 236 EXPECT_TRUE(pref->IsDefaultValue()) [all...] |