Home
last modified time | relevance | path

Searched refs:getBoolean (Results 1 – 25 of 102) sorted by relevance

12345

/external/chromium_org/chrome/browser/resources/ntp4/
Dnew_tab.js118 if (loadTimeData.getBoolean('showMostvisited'))
120 if (loadTimeData.getBoolean('showApps')) {
122 if (loadTimeData.getBoolean('showAppLauncherPromo')) {
129 if (loadTimeData.getBoolean('isDiscoveryInNTPEnabled'))
142 if (loadTimeData.getBoolean('showRecentlyClosed')) {
149 if (loadTimeData.getBoolean('showOtherSessionsMenu')) {
152 otherSessionsButton.initialize(loadTimeData.getBoolean('isUserSignedIn'));
157 if (loadTimeData.getBoolean('showMostvisited')) {
169 if (loadTimeData.getBoolean('isDiscoveryInNTPEnabled')) {
184 if (!loadTimeData.getBoolean('showWebStoreIcon')) {
[all …]
Dpage_list_view.js150 if (loadTimeData.getBoolean('showApps')) {
196 loadTimeData.getBoolean('isSwipeTrackingFromScrollEventsEnabled'));
269 assert(loadTimeData.getBoolean('showApps'));
288 assert(loadTimeData.getBoolean('showApps'));
324 assert(loadTimeData.getBoolean('showApps'));
427 assert(loadTimeData.getBoolean('showApps'));
464 assert(loadTimeData.getBoolean('showApps'));
493 !loadTimeData.getBoolean('showAppLauncherPromo') ||
526 loadTimeData.getBoolean('showApps')) {
541 if (loadTimeData.getBoolean('showApps')) {
/external/chromium_org/ui/webui/resources/js/chromeos/
Dui_account_tweaks.js31 return loadTimeData.getBoolean('currentUserIsOwner');
38 return loadTimeData.getBoolean('loggedInAsGuest');
45 return loadTimeData.getBoolean('loggedInAsLocallyManagedUser');
/external/jmonkeyengine/engine/src/core/com/jme3/system/
DAppSettings.java267 put(key, prefs.getBoolean(key, (Boolean) defaultValue)); in load()
311 public boolean getBoolean(String key) { in getBoolean() method in AppSettings
596 return getBoolean("UseInput"); in useInput()
676 return getBoolean("VSync"); in isVSync()
684 return getBoolean("Fullscreen"); in isFullscreen()
692 return !getBoolean("DisableJoysticks"); in useJoysticks()
708 return getBoolean("Stereo3D"); in useStereo3D()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/content/
DTestSharedPreferencesTest.java45 assertTrue(anotherSharedPreferences.getBoolean("boolean", false)); in commit_shouldStoreValues()
73 assertTrue(anotherSharedPreferences.getBoolean("boolean", false)); in commit_shouldRemoveValuesThenSetValues()
94 assertTrue(anotherSharedPreferences.getBoolean("boolean", false)); in commit_shouldClearThenSetValues()
116 assertFalse(anotherSharedPreferences.getBoolean("boolean", false)); in shouldReturnDefaultValues()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorPageAgent.cpp350 if (m_state->getBoolean(PageAgentState::pageAgentEnabled)) { in restore()
353 …bool scriptExecutionDisabled = m_state->getBoolean(PageAgentState::pageAgentScriptExecutionDisable… in restore()
355 bool showPaintRects = m_state->getBoolean(PageAgentState::pageAgentShowPaintRects); in restore()
357 bool showDebugBorders = m_state->getBoolean(PageAgentState::pageAgentShowDebugBorders); in restore()
359 bool showFPSCounter = m_state->getBoolean(PageAgentState::pageAgentShowFPSCounter); in restore()
363 …bool continuousPaintingEnabled = m_state->getBoolean(PageAgentState::pageAgentContinuousPaintingEn… in restore()
365 …bool showScrollBottleneckRects = m_state->getBoolean(PageAgentState::pageAgentShowScrollBottleneck… in restore()
371 bool currentEmulateViewport = m_state->getBoolean(PageAgentState::pageAgentEmulateViewport); in restore()
372 bool currentFitWindow = m_state->getBoolean(PageAgentState::pageAgentFitWindow); in restore()
374 … updateTouchEventEmulationInPage(m_state->getBoolean(PageAgentState::touchEventEmulationEnabled)); in restore()
[all …]
DInspectorWorkerAgent.cpp132 if (m_state->getBoolean(WorkerAgentState::workerInspectionEnabled)) in restore()
198 return m_state->getBoolean(WorkerAgentState::autoconnectToWorkers); in shouldPauseDedicatedWorkerOnStart()
204 if (m_inspectorFrontend && m_state->getBoolean(WorkerAgentState::workerInspectionEnabled)) in didStartWorkerGlobalScope()
242 bool autoconnectToWorkers = m_state->getBoolean(WorkerAgentState::autoconnectToWorkers); in createWorkerFrontendChannel()
DInspectorAgent.cpp145 if (m_state->getBoolean(InspectorAgentState::inspectorAgentEnabled)) in evaluateForTestInFrontend()
158 if (m_state->getBoolean(InspectorAgentState::inspectorAgentEnabled) && m_frontend) { in inspect()
DInspectorProfilerAgent.cpp167 return m_state->getBoolean(ProfilerAgentState::profilerEnabled); in enabled()
196 if (m_state->getBoolean(ProfilerAgentState::profilerEnabled)) { in restore()
202 if (m_state->getBoolean(ProfilerAgentState::userInitiatedProfiling)) in restore()
/external/nist-sip/java/gov/nist/core/
DHost.java89 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); in Host()
99 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); in Host()
110 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); in Host()
DGenericObject.java256 boolean booleanField = f.getBoolean(mergeObject); in merge()
450 if (f.getBoolean(this) != g.getBoolean(that)) in equals()
535 if (f.getBoolean(this) != g.getBoolean(that)) in match()
634 boolean booleanField = f.getBoolean(this); in debugDump()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPObject.java125 if (f.getBoolean(this) != g.getBoolean(that)) in equals()
215 if (f.getBoolean(this) != g.getBoolean(that)) in match()
331 boolean booleanField = f.getBoolean(this); in debugDump()
/external/nist-sip/java/gov/nist/javax/sip/address/
DNetObject.java119 if (f.getBoolean(this) != g.getBoolean(that)) in equals()
209 if (f.getBoolean(this) != g.getBoolean(that)) in match()
320 boolean booleanField = f.getBoolean(this); in debugDump()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DBooleanTest.java77 assertTrue(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String()
80 assertTrue(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String()
83 assertFalse(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DTypedArrayTest.java32 assertThat(typedArray.getBoolean(0, true), equalTo(true)); in testBooleanDefaultValue()
33 assertThat(typedArray.getBoolean(0, false), equalTo(false)); in testBooleanDefaultValue()
DBundleTest.java79 assertEquals(true, bundle.getBoolean("foo")); in testBoolean()
80 assertEquals(false, bundle.getBoolean("bar")); in testBoolean()
81 assertEquals(true, bundle.getBoolean("bar", true)); in testBoolean()
210 assertEquals(false, bundle.getBoolean("foo")); in testGetOfWrongType()
/external/replicaisland/src/com/replica/replicaisland/
DAndouKun.java103 … final boolean debugLogs = prefs.getBoolean(PreferenceConstants.PREFERENCE_ENABLE_DEBUG, false); in onCreate()
167 mExtrasUnlocked = prefs.getBoolean(PreferenceConstants.PREFERENCE_EXTRAS_UNLOCKED, false); in onCreate()
237 … final boolean statsEnabled = prefs.getBoolean(PreferenceConstants.PREFERENCE_STATS_ENABLED, true); in onCreate()
290 … final boolean debugLogs = prefs.getBoolean(PreferenceConstants.PREFERENCE_ENABLE_DEBUG, false); in onResume()
303 … final boolean soundEnabled = prefs.getBoolean(PreferenceConstants.PREFERENCE_SOUND_ENABLED, true); in onResume()
304 final boolean safeMode = prefs.getBoolean(PreferenceConstants.PREFERENCE_SAFE_MODE, false); in onResume()
305 … final boolean clickAttack = prefs.getBoolean(PreferenceConstants.PREFERENCE_CLICK_ATTACK, true); in onResume()
306 …final boolean tiltControls = prefs.getBoolean(PreferenceConstants.PREFERENCE_TILT_CONTROLS, false); in onResume()
309 …final boolean onScreenControls = prefs.getBoolean(PreferenceConstants.PREFERENCE_SCREEN_CONTROLS, … in onResume()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
DArrayTest.java68 ret = Array.getBoolean(x, 0); in test_getBooleanLjava_lang_ObjectI()
72 ret = Array.getBoolean(new Object(), 0); in test_getBooleanLjava_lang_ObjectI()
82 ret = Array.getBoolean(x, 4); in test_getBooleanLjava_lang_ObjectI()
424 assertTrue("Failed to set correct value", Array.getBoolean(x, 0)); in test_setBooleanLjava_lang_ObjectIZ()
/external/chromium_org/chrome/browser/resources/downloads/
Ddownloads.js331 if (loadTimeData.getBoolean('allow_deleting_history')) {
342 if (!loadTimeData.getBoolean('show_delete_history'))
751 if (loadTimeData.getBoolean('allow_deleting_history')) {
791 if (loadTimeData.getBoolean('allow_deleting_history')) {
800 if (!loadTimeData.getBoolean('show_delete_history'))
844 if (!loadTimeData.getBoolean('allow_deleting_history'))
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/
DOGLESContext.java296 logger.warning("setSettings.USE_VA: [" + settings.getBoolean("USE_VA") + "]"); in applySettingsToRenderer()
297 … logger.warning("setSettings.VERBOSE_LOGGING: [" + settings.getBoolean("VERBOSE_LOGGING") + "]"); in applySettingsToRenderer()
298 renderer.setUseVA(settings.getBoolean("USE_VA")); in applySettingsToRenderer()
299 renderer.setVerboseLogging(settings.getBoolean("VERBOSE_LOGGING")); in applySettingsToRenderer()
/external/chromium_org/chrome/browser/resources/
Dmanaged_mode_block_interstitial.js11 if (loadTimeData.getBoolean('allowAccessRequests')) {
/external/chromium_org/chrome/browser/resources/options/
Dbrowser_options.js144 if (loadTimeData.getBoolean('profileIsManaged')) {
209 if (loadTimeData.getBoolean('profileIsManaged')) {
333 !loadTimeData.getBoolean('multiple_profiles');
417 if (loadTimeData.getBoolean('cloudPrintShowMDnsOptions')) {
458 !loadTimeData.getBoolean('enableStickyKeys');
481 loadTimeData.getBoolean('gpuEnabledAtStart') ==
498 !loadTimeData.getBoolean('enableResetProfileSettings');
1048 var isManaged = loadTimeData.getBoolean('profileIsManaged');
/external/chromium_org/chrome/browser/resources/about_welcome_android/
Dabout_welcome_android.js30 $('tos-footer').hidden = !loadTimeData.getBoolean('tosVisible');
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
DPerformancesView.java192 …boolean connected = this.preferences.getBoolean(IPerformancesConstants.PRE_DATABASE_CONNECTION, IP… in PerformancesView()
604 …Boolean filterBaselinesState = this.viewState.getBoolean(IPerformancesConstants.PRE_FILTER_BASELIN… in restoreState()
613 …boolean checked = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_NIGHTLY_BUILDS, IP… in restoreState()
620 …checked = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_OLD_BUILDS, IPerformancesC… in restoreState()
627 …checked = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_LAST_BUILDS, IPerformances… in restoreState()
/external/chromium_org/chrome/browser/resources/history/
Dhistory.js508 if (loadTimeData.getBoolean('isUserSignedIn')) {
613 this.isManagedProfile = loadTimeData.getBoolean('isManagedProfile');
614 this.deletingHistoryAllowed = loadTimeData.getBoolean('allowDeletingHistory');
937 if (loadTimeData.getBoolean('allowDeletingHistory')) {
1334 if (!loadTimeData.getBoolean('isManagedProfile')) {
1536 var mayRemoveVisits = loadTimeData.getBoolean('allowDeletingHistory');
1546 if (!loadTimeData.getBoolean('showDeleteVisitUI'))
1558 if (loadTimeData.getBoolean('groupByDomain') ||
1559 loadTimeData.getBoolean('isManagedProfile')) {
1691 if (!loadTimeData.getBoolean('allowDeletingHistory'))

12345