/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldPreferencesTest.java | 63 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 64 for (String child : pref.childrenNames()) { 65 pref.node(child).removeNode(); 67 pref.clear(); 136 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 138 Preferences child1 = pref.node("child1"); 140 pref.node("child2"); 141 pref.node("child3"); 144 assertSame(pref, child1.parent()); 145 assertEquals(3, pref.childrenNames().length) 152 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 164 Preferences pref = root.node("mock"); local 197 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 211 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 238 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 256 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 269 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 283 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 305 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 322 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 336 Preferences pref = parent.node("mock"); local 371 Preferences pref = parent.node("mock"); local 411 Preferences pref = parent.node("mock"); local 417 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 465 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 483 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 501 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 519 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 537 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 555 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 594 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 619 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 633 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 741 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 829 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local 855 Preferences pref = Preferences.userNodeForPackage(Preferences.class); local [all...] |
OldAbstractPreferencesTest.java | 42 AbstractPreferences pref; field in class:OldAbstractPreferencesTest 58 pref = (AbstractPreferences) parent.node(nodeName); 68 assertTrue(pref.toString().contains(nodeName)); 72 pref.put("Value", "String"); 73 pref.flush(); 75 assertEquals("String", pref.get("Value", ":")); 78 pref.put(null, "Exception"); 92 pref.put(new String(sb), "Exception"); 105 pref.put("DoubleValue", new String(sb)); 111 pref.removeNode() [all...] |
/frameworks/opt/vcard/tests/res/raw/ |
v30_comma_separated.vcf | 3 N;TYPE=PREF,HOME:F;G;M;;
4 TEL;TYPE="COMMA,SEPARATED:INSIDE.DQUOTE",PREF:1
|
v21_pref_handling.vcf | 5 TEL;WORK;PREF:2 7 EMAIL;PREF;HOME:test@example.com 8 EMAIL;CELL;PREF:test2@examination.com
|
v21_japanese_1.vcf | 5 TEL;PREF;VOICE:0300000000
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
AbstractPreferencesTest.java | 65 private AbstractPreferences pref; field in class:AbstractPreferencesTest 90 pref = (AbstractPreferences) parent.node("mock"); 100 pref = new MockAbstractPreferences( 106 pref = new MockAbstractPreferences(null, "mock"); 116 new MockAbstractPreferences(pref, ""); 121 new MockAbstractPreferences(pref, null); 125 if (!(pref instanceof MockAbstractPreferences)) { 128 new MockAbstractPreferences(pref, " "); 137 assertNotSame(p2, pref); 142 if (!(pref instanceof MockAbstractPreferences)) [all...] |
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/matcher/ |
PreferenceMatchersTest.java | 44 CheckBoxPreference pref = new CheckBoxPreference(getInstrumentation().getContext()); local 45 pref.setSummary(R.string.something); 46 assertThat(pref, withSummary(R.string.something)); 47 assertThat(pref, not(withSummary(R.string.other_string))); 48 assertThat(pref, withSummaryText("Hello World")); 49 assertThat(pref, not(withSummaryText(("Hello Mars")))); 50 assertThat(pref, withSummaryText(is("Hello World"))); 54 CheckBoxPreference pref = new CheckBoxPreference(getInstrumentation().getContext()); local 55 pref.setTitle(R.string.other_string); 56 assertThat(pref, withTitle(R.string.other_string)) 65 CheckBoxPreference pref = new CheckBoxPreference(getInstrumentation().getContext()); local 78 CheckBoxPreference pref = new CheckBoxPreference(getInstrumentation().getContext()); local [all...] |
/packages/apps/Camera/src/com/android/camera/ |
PieController.java | 65 public void onSettingChanged(ListPreference pref) { 72 ListPreference pref = mPreferenceGroup.findPreference(CameraSettings.KEY_CAMERA_ID); local 73 pref.setValue("" + cameraId); 88 final IconListPreference pref = local 90 if (pref == null) return; 91 int[] iconIds = pref.getLargeIconIds(); 93 if (!pref.getUseSingleIcon() && iconIds != null) { 95 int index = pref.findIndexOfValue(pref.getValue()); 99 resid = pref.getSingleIcon() [all...] |
PhotoController.java | 88 ListPreference pref = mPreferenceGroup 90 if (pref != null) { 92 int index = (pref.findIndexOfValue(pref.getValue()) + 1) % 2; 93 pref.setValueIndex(index); 94 onSettingChanged(pref); 123 ListPreference pref = mPreferenceGroup.findPreference(CameraSettings.KEY_CAMERA_ID); local 124 pref.setValue("" + cameraId); 137 public void onListPrefChanged(ListPreference pref) { 142 onSettingChanged(pref); 181 ListPreference pref = mPreferenceGroup.findPreference(key); local [all...] |
PreferenceGroup.java | 54 for (CameraPreference pref : list) { 55 pref.reloadValue(); 67 for (CameraPreference pref : list) { 68 if (pref instanceof ListPreference) { 69 ListPreference listPref = (ListPreference) pref; 71 } else if(pref instanceof PreferenceGroup) { 73 ((PreferenceGroup) pref).findPreference(key);
|
/external/chromium_org/chrome/browser/resources/options/ |
home_page_overlay.html | 8 pref="homepage_is_newtabpage" value="true" 9 metric="Options_Homepage_IsNewTabPage" dialog-pref> 14 pref="homepage_is_newtabpage" value="true" dialog-pref> 22 pref="homepage_is_newtabpage" value="false" 23 metric="Options_Homepage_IsNewTabPage" dialog-pref> 29 pref="homepage_is_newtabpage" value="false" dialog-pref> 32 class="weakrtl favicon-cell stretch" pref="homepage" 34 metric="Options_Homepage_URL" dialog-pref> [all...] |
confirm_dialog.js | 10 * Boolean |pref| to |true|, asking for confirmation. If the user clicks OK, 19 * @param {string} pref The pref that requires confirmation. 21 * @param {string} confirmed_pref A pref used to remember whether the user has 24 * will pop up every time the user attempts to set |pref| to |true|. 27 function ConfirmDialog(name, title, pageDivName, okButton, cancelButton, pref, 30 this.pref = pref; 41 * Handle changes to |pref|. Only uncommitted changes are relevant as these 55 Preferences.getInstance().commitPref(this.pref, this.metric) [all...] |
startup_section.html | 7 pref="session.restore_on_startup" 12 pref="session.restore_on_startup" value="5"> 20 value="1" pref="session.restore_on_startup" 27 pref="session.restore_on_startup" value="1"> 35 pref="session.restore_on_startup" 41 pref="session.restore_on_startup" value="4"> 47 pref="session.startup_urls">
|
/external/chromium_org/base/test/data/prefs/ |
write.golden.json | 4 "pref": "214748364842"
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
AccessibilityPreferencesFragment.java | 79 void updateMinFontSummary(Preference pref, int minFontSize) { 81 pref.setSummary(c.getString(R.string.pref_min_font_size_value, minFontSize)); 84 void updateTextZoomSummary(Preference pref, int textZoom) { 85 pref.setSummary(mFormat.format(textZoom / 100.0)); 88 void updateDoubleTapZoomSummary(Preference pref, int doubleTapZoom) { 89 pref.setSummary(mFormat.format(doubleTapZoom / 100.0)); 92 void updateInvertedContrastSummary(Preference pref, int contrast) { 93 pref.setSummary(mFormat.format(contrast / 100.0)); 97 public boolean onPreferenceChange(Preference pref, Object objValue) { 104 if (PreferenceKeys.PREF_MIN_FONT_SIZE.equals(pref.getKey())) [all...] |
/external/chromium_org/chrome/browser/profiles/ |
chrome_version_service.h | 18 // This service manages a pref which is used to determine the version of 22 // Register the user pref we use. 25 // Sets the version string in the pref for the current profile. 31 // Handles setting the profile.created_by_version Pref
|
/external/harfbuzz_ng/test/shaping/tests/ |
MANIFEST | 4 indic-pref-blocking.tests
|
/packages/apps/Camera/src/com/android/camera/ui/ |
MoreSettingPopup.java | 50 public void onSettingChanged(ListPreference pref); 51 public void onPreferenceClicked(ListPreference pref); 66 private int getSettingLayoutId(ListPreference pref) { 68 if (isOnOffPreference(pref)) { 74 private boolean isOnOffPreference(ListPreference pref) { 75 CharSequence[] entries = pref.getEntries(); 87 ListPreference pref = mListItem.get(position); 89 int viewLayoutId = getSettingLayoutId(pref); 93 view.initialize(pref); // no init for restore one 124 ListPreference pref = group.findPreference(keys[i]) local 145 ListPreference pref = mListItem.get(j); local 166 ListPreference pref = mListItem.get(j); local 186 ListPreference pref = mListItem.get(position); local 195 ListPreference pref = mListItem.get(i); local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
bluetooth_pair_device.js | 29 cr.ui.decorate('input[pref][type=checkbox]', options.PrefCheckbox); 30 cr.ui.decorate('input[pref][type=number]', options.PrefNumber); 31 cr.ui.decorate('input[pref][type=radio]', options.PrefRadio); 32 cr.ui.decorate('input[pref][type=range]', options.PrefRange); 33 cr.ui.decorate('select[pref]', options.PrefSelect); 34 cr.ui.decorate('input[pref][type=text]', options.PrefTextField); 35 cr.ui.decorate('input[pref][type=url]', options.PrefTextField); 38 var inputs = document.querySelectorAll('input[pref]');
|
proxy_settings.js | 17 cr.ui.decorate('input[pref][type=checkbox]', options.PrefCheckbox); 18 cr.ui.decorate('input[pref][type=number]', options.PrefNumber); 19 cr.ui.decorate('input[pref][type=radio]', options.PrefRadio); 20 cr.ui.decorate('input[pref][type=range]', options.PrefRange); 21 cr.ui.decorate('select[pref]', options.PrefSelect); 22 cr.ui.decorate('input[pref][type=text]', options.PrefTextField); 23 cr.ui.decorate('input[pref][type=url]', options.PrefTextField); 28 var inputs = document.querySelectorAll('input[pref]');
|
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
pointer_overlay.html | 9 pref="settings.touchpad.enable_tap_to_click" dialog-pref> 17 pref="settings.touchpad.natural_scroll" dialog-pref> 25 pref="settings.touchpad.natural_scroll" dialog-pref> 35 pref="settings.mouse.primary_right" dialog-pref>
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
ScreensaverSettingsActivity.java | 49 public boolean onPreferenceChange(Preference pref, Object newValue) { 50 if (KEY_CLOCK_STYLE.equals(pref.getKey())) { 51 final ListPreference listPref = (ListPreference) pref; 54 } else if (KEY_NIGHT_MODE.equals(pref.getKey())) { 55 boolean state = ((CheckBoxPreference) pref).isChecked(); 65 Preference pref = findPreference(KEY_NIGHT_MODE); local 66 boolean state = ((CheckBoxPreference) pref).isChecked(); 67 pref.setOnPreferenceChangeListener(this);
|
/external/chromium_org/base/prefs/ |
pref_change_registrar.cc | 37 DCHECK(!IsObserved(path)) << "Already had this pref registered."; 63 bool PrefChangeRegistrar::IsObserved(const std::string& pref) { 64 return observers_.find(pref) != observers_.end(); 70 const PrefService::Preference* pref = local 72 if (pref && pref->IsManaged()) 79 const std::string& pref) { 80 if (IsObserved(pref)) 81 observers_[pref].Run(pref); [all...] |
/external/chromium_org/extensions/browser/ |
extension_scoped_prefs.h | 15 // Sets the pref |key| for extension |id| to |value|. 20 // Deletes the pref dictionary for extension |id|. 23 // Reads a boolean pref |pref_key| from extension with id |extension_id|. 28 // Reads an integer pref |pref_key| from extension with id |extension_id|. 33 // Reads a string pref |pref_key| from extension with id |extension_id|. 38 // Reads a list pref |pref_key| from extension with id |extension_id|. 43 // Reads a dictionary pref |pref_key| from extension with id |extension_id|.
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
PreferenceGroup.java | 54 for (CameraPreference pref : list) { 55 pref.reloadValue(); 67 for (CameraPreference pref : list) { 68 if (pref instanceof ListPreference) { 69 ListPreference listPref = (ListPreference) pref; 71 } else if(pref instanceof PreferenceGroup) { 73 ((PreferenceGroup) pref).findPreference(key);
|