/external/chromium_org/ash/wm/workspace/ |
multi_window_resize_controller.cc | 489 gfx::Size pref = resize_widget_->GetContentsView()->GetPreferredSize(); local 492 x = windows_.window1->bounds().right() - pref.width() / 2; 494 if (y + pref.height() / 2 > windows_.window1->bounds().bottom() && 495 y + pref.height() / 2 > windows_.window2->bounds().bottom()) { 496 y = location_in_parent.y() - kResizeWidgetPadding - pref.height(); 500 if (x + pref.height() / 2 > windows_.window1->bounds().right() && 501 x + pref.height() / 2 > windows_.window2->bounds().right()) { 502 x = location_in_parent.x() - kResizeWidgetPadding - pref.width(); 504 y = windows_.window1->bounds().bottom() - pref.height() / 2; 506 return gfx::Rect(x, y, pref.width(), pref.height()) [all...] |
/external/chromium_org/chrome/browser/chromeos/accessibility/ |
accessibility_manager_browsertest.cc | 342 // Sets the pref as true to enable the large cursor. 347 // Sets the pref as true to enable the spoken feedback. 352 // Sets the pref as true to enable high contrast mode. 357 // Sets the pref as true to enable autoclick. 362 // Set autoclick delay pref. 384 // Sets the pref to enable large cursor before login. 388 // Sets the pref to enable spoken feedback before login. 392 // Sets the pref to enable high contrast before login. 396 // Sets the pref to enable autoclick before login. 400 // Sets the autoclick delay pref before login but th [all...] |
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_policy_provider.cc | 256 const PrefService::Preference* pref = prefs_->FindPreference(pref_name); local 257 DCHECK(pref); 258 DCHECK(pref->IsManaged()); 261 if (!pref->GetValue()->GetAsList(&pattern_str_list)) { 308 const PrefService::Preference* pref = prefs_->FindPreference(pref_name); local 309 DCHECK(pref); 310 DCHECK(pref->IsManaged()); 313 if (!pref->GetValue()->GetAsList(&pattern_filter_str_list)) { 391 // If a pref to manage a default-content-setting was not set (NOTICE: 392 // "HasPrefPath" returns false if no value was set for a registered pref) the [all...] |
content_settings_default_provider_unittest.cc | 149 // Make a copy of the default pref value so we can reset it later. 167 // Make a copy of the pref's new value so we can reset it later. 171 // Clearing the backing pref should also clear the internal cache. 180 // Reseting the pref to its previous value should update the cache.
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
core_options_handler.cc | 236 // pref. Currently, it is both a user and a local state pref. 260 // Also check if the pref is user modifiable (don't even try to run the 261 // filter function if the user is not allowed to change the pref). 262 const PrefService::Preference* pref = local 264 if ((pref && !pref->IsUserModifiable()) || !iter->second.Run(value)) { 340 const PrefService::Preference* pref = local 342 if (!pref) { 349 controlling_pref = pref; [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DevelopmentSettings.java | 325 ListPreference pref = (ListPreference) findPreference(prefKey); local 326 mAllPrefs.add(pref); 327 pref.setOnPreferenceChangeListener(this); 328 return pref; 331 private void disableForUser(Preference pref) { 332 if (pref != null) { 333 pref.setEnabled(false); 334 mDisabledPrefs.add(pref); 339 CheckBoxPreference pref = (CheckBoxPreference) findPreference(key); local 340 if (pref == null) 400 Preference pref = mAllPrefs.get(i); local 524 ListPreference pref = (ListPreference) selectRuntime; local [all...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceFragmentActivity.java | 42 public static final String TAG = "Pref-1";
|
/external/chromium/chrome/browser/ |
background_contents_service_unittest.cc | 41 // Returns the stored pref URL for the passed app id. 43 const DictionaryValue* pref = GetPrefs(profile); local 44 EXPECT_TRUE(pref->HasKey(UTF16ToUTF8(appid))); 46 pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), &value);
|
/external/chromium/chrome/browser/chromeos/login/ |
signed_settings_temp_storage.h | 23 // Registers required pref section.
|
wizard_accessibility_helper.h | 33 // Speak the given text if the accessibility pref is already set. |queue|
|
/external/chromium/chrome/browser/extensions/ |
extension_management_apitest.cc | 103 // Set a pref indicating that the user wants to launch in a regular tab. 113 // If the ID changed, then the pref will not apply to the app. 152 // Set a pref indicating that the user wants to launch in a window. 160 // If the ID changed, then the pref will not apply to the app.
|
/external/chromium/chrome/browser/importer/ |
firefox_importer_utils_unittest.cc | 14 // Basic case. Single pref, unquoted value.
|
/external/chromium/chrome/browser/net/ |
ssl_config_service_manager_pref.cc | 33 // Allow the pref watcher to update our internal state. 75 // Copy pref values to local_state from user_prefs if local_state doesn't have 76 // the pref value and user_prefs has the pref value. Remove them from
|
/external/chromium/chrome/browser/prefs/ |
command_line_pref_store.h | 45 // corresponding preferences in this pref store.
|
pref_notifier_impl_unittest.cc | 105 // Re-adding the same observer for the same pref doesn't change anything. 116 // Ensure that we can add the same observer to a different pref. 123 // Ensure that we can add another observer to the same pref. 178 // Make sure removing an observer from one pref doesn't affect anything else.
|
/external/chromium/chrome/browser/resources/options/ |
autofill_options.html | 6 <input pref="autofill.auxiliary_profiles_enabled" type="checkbox">
|
/external/chromium_org/ash/system/logout_button/ |
logout_button_tray.h | 25 // kShowLogoutButtonInTray pref.
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/invalidation/ |
UniqueIdInvalidationClientNameGenerator.java | 21 // Pref key to use for UUID-based generator.
|
/external/chromium_org/chrome/browser/background/ |
background_mode_manager_mac.mm | 44 // There's no LoginItem, so set the kUserRemovedLoginItem pref. 54 // pref was added. Initialize the status of this pref based on whether 136 // Clear the pref now that we're removing the login item.
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
drive_integration_service_browsertest.cc | 28 // First make sure the pref is set to its default value which should permit
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
device_settings_cache.h | 22 // Registers required pref section.
|
/external/chromium_org/chrome/browser/download/ |
download_dir_policy_handler_unittest.cc | 34 // Setting a DownloadDirectory should disable the PromptForDownload pref.
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
chrome_direct_setting.h | 22 // Returns the user pref service.
|
/external/chromium_org/chrome/browser/extensions/ |
extension_prefs.h | 160 // Checks whether |extension_id| is disabled. If there's no state pref for 309 // pref, the returned Time will return true for is_null(). 513 // Converts absolute paths in the pref to paths relative to the 528 // Interprets the list pref, |pref_key| in |extension_id|'s preferences, as a 535 // Converts |new_value| to a list of strings and sets the |pref_key| pref 551 // Converts the |new_value| to its value and sets the |pref_key| pref 566 // pref store. Does nothing if extensions_disabled_ is true. 569 // Migrates the permissions data in the pref store. 575 // Checks whether there is a state pref for the extension and if so, whether 580 // Reads the list of strings for |pref| from user prefs int [all...] |
external_policy_loader.h | 38 // Adds an extension to be updated to the pref dictionary.
|