Lines Matching refs:flag

1175      * @param flag True if the WebView should load images automatically.
1177 public synchronized void setLoadsImagesAutomatically(boolean flag) {
1178 if (mLoadsImagesAutomatically != flag) {
1179 mLoadsImagesAutomatically = flag;
1198 * @param flag True if the WebView should block network images.
1201 public synchronized void setBlockNetworkImage(boolean flag) {
1202 if (mBlockNetworkImage != flag) {
1203 mBlockNetworkImage = flag;
1220 * fetch remote resources. This flag supercedes the value passed to
1222 * @param flag True if the WebView should block all network loads.
1225 public synchronized void setBlockNetworkLoads(boolean flag) {
1226 if (mBlockNetworkLoads != flag) {
1227 mBlockNetworkLoads = flag;
1257 * @param flag True if the WebView should execute javascript.
1259 public synchronized void setJavaScriptEnabled(boolean flag) {
1260 if (mJavaScriptEnabled != flag) {
1261 mJavaScriptEnabled = flag;
1268 * @param flag True if the WebView should use Skia's hw-accel path
1271 public synchronized void setHardwareAccelSkiaEnabled(boolean flag) {
1272 if (mHardwareAccelSkia != flag) {
1273 mHardwareAccelSkia = flag;
1288 * @param flag True if the WebView should show the visual indicator
1291 public synchronized void setShowVisualIndicator(boolean flag) {
1292 if (mShowVisualIndicator != flag) {
1293 mShowVisualIndicator = flag;
1308 * @param flag True if the WebView should load plugins.
1313 public synchronized void setPluginsEnabled(boolean flag) {
1314 setPluginState(flag ? PluginState.ON : PluginState.OFF);
1374 * @param flag True if the WebView should enable Application Caches.
1376 public synchronized void setAppCacheEnabled(boolean flag) {
1377 if (mAppCacheEnabled != flag) {
1378 mAppCacheEnabled = flag;
1410 * @param flag boolean True if the WebView should use the database storage
1413 public synchronized void setDatabaseEnabled(boolean flag) {
1414 if (mDatabaseEnabled != flag) {
1415 mDatabaseEnabled = flag;
1422 * @param flag boolean True if the WebView should use the DOM storage
1425 public synchronized void setDomStorageEnabled(boolean flag) {
1426 if (mDomStorageEnabled != flag) {
1427 mDomStorageEnabled = flag;
1459 * @param flag True if the WebView should enable WebWorkers.
1460 * Note that this flag only affects V8. JSC does not have
1464 public synchronized void setWorkersEnabled(boolean flag) {
1465 if (mWorkersEnabled != flag) {
1466 mWorkersEnabled = flag;
1473 * @param flag Whether Geolocation should be enabled.
1475 public synchronized void setGeolocationEnabled(boolean flag) {
1476 if (mGeolocationEnabled != flag) {
1477 mGeolocationEnabled = flag;
1484 * @param flag Whether XSS Auditor should be enabled.
1487 public synchronized void setXSSAuditorEnabled(boolean flag) {
1488 if (mXSSAuditorEnabled != flag) {
1489 mXSSAuditorEnabled = flag;
1535 * @param flag True if javascript can open windows automatically.
1538 boolean flag) {
1539 if (mJavaScriptCanOpenWindowsAutomatically != flag) {
1540 mJavaScriptCanOpenWindowsAutomatically = flag;
1645 * @param flag
1647 public void setNeedInitialFocus(boolean flag) {
1648 if (mNeedInitialFocus != flag) {
1649 mNeedInitialFocus = flag;
1739 * @param flag Whether private browsing should be enabled.
1741 /* package */ synchronized void setPrivateBrowsingEnabled(boolean flag) {
1742 if (mPrivateBrowsingEnabled != flag) {
1743 mPrivateBrowsingEnabled = flag;
1763 * @param flag Whether or not to forceably enable user scalable.
1766 public synchronized void setForceUserScalable(boolean flag) {
1767 mForceUserScalable = flag;
1770 synchronized void setSyntheticLinksEnabled(boolean flag) {
1771 if (mSyntheticLinksEnabled != flag) {
1772 mSyntheticLinksEnabled = flag;