Home
last modified time | relevance | path

Searched refs:Preferences (Results 1 – 25 of 84) sorted by relevance

1234

/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
DPreferencesTest.java29 import java.util.prefs.Preferences;
62 Preferences p = null; in testSystemNodeForPackage()
64 p = Preferences.systemNodeForPackage(Object.class); in testSystemNodeForPackage()
71 Preferences root = Preferences.systemRoot(); in testSystemNodeForPackage()
72 Preferences parent = root.node("java"); in testSystemNodeForPackage()
83 Preferences.userNodeForPackage(null); in testSystemNodeForPackage()
91 Preferences p = Preferences.systemRoot(); in testSystemRoot()
102 assertEquals(80, Preferences.MAX_KEY_LENGTH); in testConsts()
103 assertEquals(80, Preferences.MAX_NAME_LENGTH); in testConsts()
104 assertEquals(8192, Preferences.MAX_VALUE_LENGTH); in testConsts()
[all …]
DPreferenceChangeEventTest.java21 import java.util.prefs.Preferences;
43 event = new PreferenceChangeEvent(Preferences.userRoot(), "key", null); in testConstructorNullValue()
46 assertSame(Preferences.userRoot(), event.getNode()); in testConstructorNullValue()
47 assertSame(Preferences.userRoot(), event.getSource()); in testConstructorNullValue()
49 event = new PreferenceChangeEvent(Preferences.userRoot(), "", null); in testConstructorNullValue()
52 assertSame(Preferences.userRoot(), event.getNode()); in testConstructorNullValue()
53 assertSame(Preferences.userRoot(), event.getSource()); in testConstructorNullValue()
55 event = new PreferenceChangeEvent(Preferences.userRoot(), null, "value"); in testConstructorNullValue()
58 assertSame(Preferences.userRoot(), event.getNode()); in testConstructorNullValue()
59 assertSame(Preferences.userRoot(), event.getSource()); in testConstructorNullValue()
[all …]
DNodeChangeEventTest.java21 import java.util.prefs.Preferences;
35 event = new NodeChangeEvent(Preferences.systemRoot(), Preferences in testConstructor()
37 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructor()
38 assertSame(Preferences.userRoot(), event.getChild()); in testConstructor()
39 assertSame(Preferences.systemRoot(), event.getSource()); in testConstructor()
44 event = new NodeChangeEvent(null, Preferences.userRoot()); in testConstructorNullParam()
49 event = new NodeChangeEvent(Preferences.systemRoot(), null); in testConstructorNullParam()
50 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructorNullParam()
52 assertSame(Preferences.systemRoot(), event.getSource()); in testConstructorNullParam()
57 event = new NodeChangeEvent(Preferences.systemRoot(), null); in testSerialization()
DFilePreferencesImplTest.java23 import java.util.prefs.Preferences;
30 private Preferences uroot;
31 private Preferences sroot;
42 uroot = Preferences.userRoot().node("harmony_test"); in setUp()
43 sroot = Preferences.systemRoot().node("harmony_test"); in setUp()
82 Preferences child1 = uroot.node("child1"); in testChildNodes()
83 Preferences child2 = uroot.node("\u4e2d child2"); in testChildNodes()
84 Preferences grandchild = child1.node("grand"); in testChildNodes()
DNodeChangeListenerTest.java21 import java.util.prefs.Preferences;
50 l.childAdded(new NodeChangeEvent(Preferences.userRoot(), Preferences in testChildAdded()
55 l.childRemoved(new NodeChangeEvent(Preferences.userRoot(), Preferences in testChildRemoved()
DAbstractPreferencesTest.java34 import java.util.prefs.Preferences;
70 StringBuffer key = new StringBuffer(Preferences.MAX_KEY_LENGTH);
71 for (int i = 0; i < Preferences.MAX_KEY_LENGTH; i++) {
75 StringBuffer value = new StringBuffer(Preferences.MAX_VALUE_LENGTH);
76 for (int i = 0; i < Preferences.MAX_VALUE_LENGTH; i++) {
81 StringBuffer name = new StringBuffer(Preferences.MAX_NAME_LENGTH);
82 for (int i = 0; i < Preferences.MAX_NAME_LENGTH; i++) {
91 root = (AbstractPreferences) Preferences.userRoot(); in setUp()
92 parent = (AbstractPreferences) Preferences in setUp()
93 .userNodeForPackage(Preferences.class); in setUp()
[all …]
DMockPreferencesFactory.java19 import java.util.prefs.Preferences;
35 public Preferences userRoot() { in userRoot()
39 public Preferences systemRoot() { in systemRoot()
DPreferencesFactoryTest.java19 import java.util.prefs.Preferences;
50 public Preferences userRoot() { in userRoot()
54 public Preferences systemRoot() { in systemRoot()
DPreferencesProviderTest.java20 import java.util.prefs.Preferences;
29 assertEquals(MockAbstractPreferences.class, Preferences.systemRoot().getClass()); in testLoadProviderFromFile()
DPreferenceChangeListenerTest.java21 import java.util.prefs.Preferences;
42 l.preferenceChange(new PreferenceChangeEvent(Preferences.userRoot(), in testPreferenceChange()
/external/chromium/chrome/browser/resources/options/
Dpreferences.js14 function Preferences() { class
17 cr.addSingletonGetter(Preferences);
26 Preferences.setBooleanPref = function(name, value, metric) {
39 Preferences.setIntegerPref = function(name, value, metric) {
52 Preferences.setDoublePref = function(name, value, metric) {
65 Preferences.setStringPref = function(name, value, metric) {
78 Preferences.setListPref = function(name, value, metric) {
89 Preferences.clearPref = function(name, metric) {
95 Preferences.prototype = { class
151 Preferences.prefsFetchedCallback = function(dict) {
[all …]
Dpref_ui.js7 var Preferences = options.Preferences;
51 Preferences.getInstance().addEventListener(
73 Preferences.setIntegerPref(self.pref,
77 Preferences.setBooleanPref(self.pref,
129 Preferences.getInstance().addEventListener(this.pref,
146 Preferences.setBooleanPref(self.pref,
149 Preferences.setIntegerPref(self.pref,
184 Preferences.getInstance().addEventListener(this.pref,
196 Preferences.setIntegerPref(self.pref, self.value, self.metric);
235 Preferences.setIntegerPref(self.pref, self.value, self.metric);
[all …]
Dbrowser_options.js78 Preferences.setBooleanPref(this.pref, false, this.metric);
83 Preferences.getInstance().addEventListener('instant.confirm_dialog_shown',
129 Preferences.getInstance().addEventListener('session.restore_on_startup',
131 Preferences.getInstance().addEventListener(
134 Preferences.getInstance().addEventListener(
137 Preferences.getInstance().addEventListener(
240 Preferences.setBooleanPref(this.homepage_is_newtabpage_pref_.name, false);
249 Preferences.setBooleanPref(this.homepage_is_newtabpage_pref_.name, true);
274 Preferences.setStringPref(this.homepage_pref_.name, '')
275 Preferences.setBooleanPref(this.homepage_is_newtabpage_pref_.name,
Dinstant_confirm_overlay.js28 Preferences.setBooleanPref('instant.confirm_dialog_shown', true);
30 Preferences.setBooleanPref(instantEnableCheckbox.pref, true,
/external/webkit/Source/WebKit/chromium/src/js/
DDevTools.js41 Preferences.ignoreWhitespace = false;
42 Preferences.samplingCPUProfiler = true;
43 Preferences.heapProfilerPresent = true;
44 Preferences.detailedHeapProfiles = false;
45 Preferences.debuggerAlwaysEnabled = true;
46 Preferences.profilerAlwaysEnabled = true;
47 Preferences.canEditScriptSource = true;
48 Preferences.onlineDetectionEnabled = false;
49 Preferences.nativeInstrumentationEnabled = true;
50 Preferences.fileSystemEnabled = false;
[all …]
/external/webkit/Source/WebKit2/WebProcess/
Dcom.apple.WebProcess.sb27 (literal "/Library/Preferences/.GlobalPreferences.plist")
28 (literal "/Library/Preferences/com.apple.crypto.plist")
29 (literal "/Library/Preferences/com.apple.security.plist")
30 (literal "/Library/Preferences/com.apple.security.common.plist")
31 (literal "/Library/Preferences/com.apple.security.revocation.plist")
32 (literal (string-append (param "HOME_DIR") "/Library/Preferences/.GlobalPreferences.plist"))
33 … (regex (string-append "^" (param "HOME_DIR") "/Library/Preferences/ByHost/\.GlobalPreferences\."))
34 (literal (string-append (param "HOME_DIR") "/Library/Preferences/com.apple.ATS.plist"))
35 (literal (string-append (param "HOME_DIR") "/Library/Preferences/com.apple.HIToolbox.plist"))
36 … (literal (string-append (param "HOME_DIR") "/Library/Preferences/com.apple.LaunchServices.plist"))
[all …]
/external/qemu/distrib/jpeg-6b/
Dmakeproj.mac47 Set Preferences of panel "Target Settings" to {Target Name:"libjpeg"}
48 Set Preferences of panel "PPC Project" to {File Name:"libjpeg"}
49 Set Preferences of panel "Target Settings" to {Linker:"MacOS PPC Linker"}
50 Set Preferences of panel "PPC Project" to {Project Type:library}
51 Set Preferences of panel "C/C++ Compiler" to {ANSI Strict:true}
52 Set Preferences of panel "C/C++ Compiler" to {Enums Always Ints:true}
53 Set Preferences of panel "PPC Codegen" to {Struct Alignment:PowerPC}
54 Set Preferences of panel "PPC Linker" to {Generate SYM File:false}
112 Set Preferences of panel "Target Settings" to {Target Name:"cjpeg"}
113 Set Preferences of panel "PPC Project" to {File Name:"cjpeg"}
[all …]
/external/jpeg/
Dmakeproj.mac47 Set Preferences of panel "Target Settings" to {Target Name:"libjpeg"}
48 Set Preferences of panel "PPC Project" to {File Name:"libjpeg"}
49 Set Preferences of panel "Target Settings" to {Linker:"MacOS PPC Linker"}
50 Set Preferences of panel "PPC Project" to {Project Type:library}
51 Set Preferences of panel "C/C++ Compiler" to {ANSI Strict:true}
52 Set Preferences of panel "C/C++ Compiler" to {Enums Always Ints:true}
53 Set Preferences of panel "PPC Codegen" to {Struct Alignment:PowerPC}
54 Set Preferences of panel "PPC Linker" to {Generate SYM File:false}
112 Set Preferences of panel "Target Settings" to {Target Name:"cjpeg"}
113 Set Preferences of panel "PPC Project" to {File Name:"cjpeg"}
[all …]
/external/chromium/chrome/browser/chromeos/
Dpreferences.cc31 Preferences::Preferences() {} in Preferences() function in chromeos::Preferences
33 Preferences::~Preferences() {} in ~Preferences()
36 void Preferences::RegisterUserPrefs(PrefService* prefs) { in RegisterUserPrefs()
142 void Preferences::Init(PrefService* prefs) { in Init()
218 void Preferences::Observe(NotificationType type, in Observe()
225 void Preferences::NotifyPrefChanged(const std::string* pref_name) { in NotifyPrefChanged()
396 void Preferences::SetLanguageConfigBoolean(const char* section, in SetLanguageConfigBoolean()
406 void Preferences::SetLanguageConfigInteger(const char* section, in SetLanguageConfigInteger()
416 void Preferences::SetLanguageConfigString(const char* section, in SetLanguageConfigString()
426 void Preferences::SetLanguageConfigStringList( in SetLanguageConfigStringList()
[all …]
Dpreferences.h24 class Preferences : public NotificationObserver {
26 Preferences();
27 virtual ~Preferences();
126 DISALLOW_COPY_AND_ASSIGN(Preferences);
/external/chromium/chrome/browser/resources/chromeos/
Dproxy_settings.js6 var Preferences = options.Preferences; variable
28 Preferences.getInstance().initialize();
/external/webkit/Source/WebCore/inspector/front-end/
DDrawer.js80 …rn Number.constrain(height, Preferences.minConsoleHeight, window.innerHeight - this._mainElement.t…
209 … = Number.constrain(height, Preferences.minConsoleHeight, window.innerHeight - this._mainElement.t…
336 … = Number.constrain(height, Preferences.minConsoleHeight, window.innerHeight - this._mainElement.t…
DProfilesPanel.js125 this._profilerEnabled = Preferences.profilerAlwaysEnabled;
129 if (Preferences.heapProfilerPresent) {
130 if (!Preferences.detailedHeapProfiles)
138 if (Preferences.profilerAlwaysEnabled || WebInspector.settings.profilerEnabled)
448 if (!Preferences.detailedHeapProfiles) {
476 if (!Preferences.detailedHeapProfiles) {
492 if (!Preferences.detailedHeapProfiles) {
739 if (!Preferences.heapProfilerPresent || Preferences.detailedHeapProfiles)
789 Preferences.detailedHeapProfiles = true;
/external/jmonkeyengine/engine/src/core/com/jme3/system/
DAppSettings.java42 import java.util.prefs.Preferences;
257 Preferences prefs = Preferences.userRoot().node(preferencesKey); in load()
286 Preferences prefs = Preferences.userRoot().node(preferencesKey); in save()
/external/chromium/chrome/browser/resources/options/chromeos/
Dproxy_options.js8 var Preferences = options.Preferences;
35 Preferences.getInstance().addEventListener(el.pref, handlePrefUpdate);

1234