/external/chromium_org/ash/system/logout_button/ |
logout_button_observer.h | 10 // Observer for the value of the kShowLogoutButtonInTray pref that determines 16 // Called when the value of the kShowLogoutButtonInTray pref changes.
|
/external/chromium_org/base/prefs/ |
pref_change_registrar_unittest.cc | 24 // A mock provider that allows us to capture pref observer changes. 66 AddPrefObserver(Eq(std::string("test.pref.1")), ®istrar)); 68 AddPrefObserver(Eq(std::string("test.pref.2")), ®istrar)); 69 registrar.Add("test.pref.1", observer()); 70 registrar.Add("test.pref.2", observer()); 76 RemovePrefObserver(Eq(std::string("test.pref.1")), ®istrar)); 78 RemovePrefObserver(Eq(std::string("test.pref.2")), ®istrar)); 79 registrar.Remove("test.pref.1"); 80 registrar.Remove("test.pref.2"); 94 AddPrefObserver(Eq(std::string("test.pref.1")), ®istrar)) [all...] |
pref_service.cc | 94 NOTREACHED() << "Trying to read an unregistered pref: " << path; 109 NOTREACHED() << "Trying to read an unregistered pref: " << path; 124 NOTREACHED() << "Trying to read an unregistered pref: " << path; 139 NOTREACHED() << "Trying to read an unregistered pref: " << path; 154 NOTREACHED() << "Trying to read an unregistered pref: " << path; 163 const Preference* pref = FindPreference(path); local 164 return pref && !pref->IsDefaultValue(); 227 const Preference* pref = FindPreference(pref_name); local 228 return pref && pref->IsManaged() 232 const Preference* pref = FindPreference(pref_name); local 255 const Preference* pref = FindPreference(path); local 326 const Preference* pref = FindPreference(path); local 407 const Preference* pref = FindPreference(path); local 442 const Preference* pref = FindPreference(path); local [all...] |
pref_change_registrar.h | 18 // Automatically manages the registration of one or more pref change observers 35 // Adds a pref observer for the specified pref |path| and |obs| observer 46 // Removes the pref observer registered for |path|. 52 // Returns true if no pref observers are registered. 55 // Check whether |pref| is in the set of preferences being observed. 56 bool IsObserved(const std::string& pref);
|
/external/chromium/chrome/browser/resources/options/ |
pref_ui.js | 10 * Helper function update element's state from pref change event. 13 * @param {!Event} event The pref change event. 20 // managed. They cannot be enabled as a result of a pref being 50 // Listen to pref changes. 52 this.pref, 57 // Invert pref value if inverted_pref == true. 73 Preferences.setIntegerPref(self.pref, 77 Preferences.setBooleanPref(self.pref, 97 cr.defineProperty(PrefCheckbox, 'pref', cr.PropertyKind.ATTR); 106 * Whether to use inverted pref value [all...] |
clear_browser_data_overlay.html | 7 pref="browser.clear_data.time_period" 14 pref="browser.clear_data.browsing_history" type="checkbox"> 21 pref="browser.clear_data.download_history" type="checkbox"> 28 pref="browser.clear_data.cache" type="checkbox"> 35 pref="browser.clear_data.cookies" type="checkbox"> 45 pref="browser.clear_data.passwords" type="checkbox"> 52 pref="browser.clear_data.form_data" type="checkbox">
|
font_settings.html | 8 pref="webkit.webprefs.standard_font_family" 13 pref="webkit.webprefs.default_font_size"> 28 pref="webkit.webprefs.serif_font_family" 39 pref="webkit.webprefs.sansserif_font_family" 50 pref="webkit.webprefs.fixed_font_family" 61 pref="webkit.webprefs.minimum_font_size"> 76 pref="intl.charset_default" metric="Options_ChangeFontEncoding"
|
/external/chromium/chrome/browser/resources/options/chromeos/ |
language_mozc_options.html | 10 pref="settings.language.mozc_incognito_mode" 22 pref="settings.language.mozc_use_auto_ime_turn_off" 34 pref="settings.language.mozc_use_date_conversion" 46 pref="settings.language.mozc_use_single_kanji_conversion" 58 pref="settings.language.mozc_use_symbol_conversion" 70 pref="settings.language.mozc_use_number_conversion" 82 pref="settings.language.mozc_use_history_suggest" 94 pref="settings.language.mozc_use_dictionary_suggest" 105 pref="settings.language.mozc_preedit_method" 114 pref="settings.language.mozc_session_keymap [all...] |
/cts/tests/src/android/renderscript/cts/ |
verify.rs | 38 float4 pref = rsGetElementAt_float4(in1, x, y); 40 bool e = !compare_float(pref.x, ptst.x); 41 e |= !compare_float(pref.y, ptst.y); 42 e |= !compare_float(pref.z, ptst.z); 43 e |= !compare_float(pref.w, ptst.w); 60 float3 pref = rsGetElementAt_float3(in1, x, y); 62 bool e = !compare_float(pref.x, ptst.x); 63 e |= !compare_float(pref.y, ptst.y); 64 e |= !compare_float(pref.z, ptst.z); 81 float2 pref = rsGetElementAt_float2(in1, x, y) [all...] |
/external/chromium/chrome/browser/sync/glue/ |
preference_model_associator_unittest.cc | 40 const PrefService::Preference* pref = local 42 ASSERT_TRUE(pref); 43 Value::ValueType type = pref->GetType(); 80 const PrefService::Preference* pref = local 84 PreferenceModelAssociator::MergePreference(*pref, *server_value)); 90 const PrefService::Preference* pref = local 93 PreferenceModelAssociator::MergePreference(*pref, server_url_list_)); 105 const PrefService::Preference* pref = local 108 PreferenceModelAssociator::MergePreference(*pref, *null_value)); 122 const PrefService::Preference* pref local 139 const PrefService::Preference* pref = local 161 const PrefService::Preference* pref = local 182 const PrefService::Preference* pref = local 215 const PrefService::Preference* pref = local 230 const PrefService::Preference* pref = local 247 const PrefService::Preference* pref = local [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_service.cc | 38 // A helper function for RegisterLocalized*Pref that creates a Value* based on 80 void NotifyReadError(PrefService* pref, int message_id) { 334 const Preference* pref = FindPreference(path); local 335 if (!pref) { 336 NOTREACHED() << "Trying to read an unregistered pref: " << path; 339 bool rv = pref->GetValue()->GetAsBoolean(&result); 349 const Preference* pref = FindPreference(path); local 350 if (!pref) { 351 NOTREACHED() << "Trying to read an unregistered pref: " << path; 354 bool rv = pref->GetValue()->GetAsInteger(&result) 364 const Preference* pref = FindPreference(path); local 379 const Preference* pref = FindPreference(path); local 394 const Preference* pref = FindPreference(path); local 405 const Preference* pref = FindPreference(path); local 414 const Preference* pref = FindPreference(i->first.c_str()); local 443 const Preference* pref = FindPreference(pref_name); local 450 const Preference* pref = FindPreference(path); local 466 const Preference* pref = FindPreference(path); local 511 const Preference* pref = FindPreference(path); local 522 const Preference* pref = FindPreference(path); local 568 const Preference* pref = FindPreference(path); local 594 const Preference* pref = FindPreference(path); local 631 const Preference* pref = FindPreference(path); local [all...] |
pref_change_registrar.h | 17 // Automatically manages the registration of one or more pref change observers 30 // Adds an pref observer for the specified pref |path| and |obs| observer 45 // Returns true if no pref observers are registered.
|
/external/chromium_org/chrome/browser/web_resource/ |
eula_accepted_notifier.h | 44 // Callback for EULA accepted pref change notification. 47 // Local state pref service for querying the EULA accepted pref. 50 // Used to listen for the EULA accepted pref change notification.
|
/external/kernel-headers/original/linux/ |
ipv6_route.h | 34 #define RTF_PREF(pref) ((pref) << 27) 41 #define IPV6_DECODE_PREF(pref) ((pref) ^ 2) /* 1:low,2:med,3:high */
|
/frameworks/opt/vcard/tests/res/raw/ |
v30_simple.vcf | 7 TEL;TYPE=PREF;TYPE=VOICE:0300000000
|
/packages/apps/Camera/src/com/android/camera/ |
RecordLocationPreference.java | 47 SharedPreferences pref, ContentResolver resolver) { 48 String value = pref.getString( 53 public static boolean isSet(SharedPreferences pref) { 54 String value = pref.getString(
|
/packages/apps/Camera2/src/com/android/camera/ |
RecordLocationPreference.java | 47 SharedPreferences pref, ContentResolver resolver) { 48 String value = pref.getString( 53 public static boolean isSet(SharedPreferences pref) { 54 String value = pref.getString(
|
/packages/apps/Contacts/tests/assets/ |
v30_simple.vcf | 7 TEL;TYPE=PREF;TYPE=VOICE:0300000000
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
CommonPreferences.java | 29 public static void enable(final SharedPreferences pref, final String id) { 30 final SharedPreferences.Editor editor = pref.edit(); 35 public static void disable(final SharedPreferences pref, final String id) { 36 final SharedPreferences.Editor editor = pref.edit();
|
/external/chromium/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/ |
popup.html | 6 var pref = cs.misc.enableReferrers; 50 console.log('pref.get result:' + JSON.stringify(settings)); 63 console.log('pref.onChange event:' + JSON.stringify(settings)); 73 pref.get({'incognito': true}, updateUIFromGet); 78 pref.get({}, updateUIFromGet); 79 pref.onChange.addListener(updateUIFromOnChange); 89 pref.set({'value':enabled, 'incognito': incognito}); 101 pref.clear({'incognito': true}); 104 pref.get({'incognito': true}, function(settings) { 105 pref.set({'incognito': true, 'value': settings.value}) [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
import_data_overlay.html | 17 <input id="import-history" type="checkbox" pref="import_history"> 20 <span class="controlled-setting-indicator" pref="import_history"> 29 pref="import_bookmarks"> 34 pref="import_bookmarks"> 43 pref="import_saved_passwords"> 48 pref="import_saved_passwords"> 57 pref="import_search_engine"> 61 pref="import_search_engine"> 80 pref="bookmark_bar.show_on_all_tabs" 87 pref="bookmark_bar.show_on_all_tabs" [all...] |
pref_ui.js | 61 // Listen for pref changes. 62 Preferences.getInstance().addEventListener(this.pref, function(event) { 74 * updates the associated pref. 84 * Update the input element's state when the associated pref changes. 85 * @param {Event} event Pref change event. 102 * invoked next that updates the associated pref. If it returns true, the 116 cr.defineProperty(PrefInputElement, 'pref', cr.PropertyKind.ATTR); 166 * Update the associated pref when when the user makes changes to the 172 Preferences.setBooleanPref(this.pref, value, 177 * Update the checkbox state when the associated pref changes [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/preferences/allowThirdPartyCookies/ |
popup.js | 6 var pref = chrome.privacy.websites.thirdPartyCookiesAllowed; variable 54 console.log('pref.get result:' + JSON.stringify(settings)); 67 console.log('pref.onChange event:' + JSON.stringify(settings)); 77 pref.get({'incognito': true}, updateUIFromGet); 82 pref.get({}, updateUIFromGet); 83 pref.onChange.addListener(updateUIFromOnChange); 104 pref.set({'value': enabled, 'scope': scope}); 116 pref.clear({'incognito': true}); 119 pref.get({'incognito': true}, function(settings) { 120 pref.set({'incognito': true, 'value': settings.value}) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/ |
popup.js | 6 var pref = chrome.privacy.websites.referrersEnabled; variable 54 console.log('pref.get result:' + JSON.stringify(settings)); 67 console.log('pref.onChange event:' + JSON.stringify(settings)); 77 pref.get({'incognito': true}, updateUIFromGet); 82 pref.get({}, updateUIFromGet); 83 pref.onChange.addListener(updateUIFromOnChange); 104 pref.set({'value': enabled, 'scope': scope}); 116 pref.clear({'incognito': true}); 119 pref.get({'incognito': true}, function(settings) { 120 pref.set({'incognito': true, 'value': settings.value}) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
RespondViaSmsManager.java | 124 EditTextPreference pref; local 125 pref = (EditTextPreference) findPreference(KEY_CANNED_RESPONSE_PREF_1); 126 pref.setTitle(pref.getText()); 127 pref.setOnPreferenceChangeListener(this); 129 pref = (EditTextPreference) findPreference(KEY_CANNED_RESPONSE_PREF_2); 130 pref.setTitle(pref.getText()); 131 pref.setOnPreferenceChangeListener(this); 133 pref = (EditTextPreference) findPreference(KEY_CANNED_RESPONSE_PREF_3) 155 EditTextPreference pref = (EditTextPreference) preference; local [all...] |