Methods Summary |
---|
public boolean | enableSmoothTransition()
// Intentional no-op.
return false;
|
public boolean | getAcceptThirdPartyCookies()
return mAwSettings.getAcceptThirdPartyCookies();
|
public boolean | getAllowContentAccess()
return mAwSettings.getAllowContentAccess();
|
public boolean | getAllowFileAccess()
return mAwSettings.getAllowFileAccess();
|
public boolean | getAllowFileAccessFromFileURLs()
return mAwSettings.getAllowFileAccessFromFileURLs();
|
public boolean | getAllowUniversalAccessFromFileURLs()
return mAwSettings.getAllowUniversalAccessFromFileURLs();
|
org.chromium.android_webview.AwSettings | getAwSettings()
return mAwSettings;
|
public synchronized boolean | getBlockNetworkImage()
return !mAwSettings.getImagesEnabled();
|
public synchronized boolean | getBlockNetworkLoads()
return mAwSettings.getBlockNetworkLoads();
|
public boolean | getBuiltInZoomControls()
return mAwSettings.getBuiltInZoomControls();
|
public int | getCacheMode()
return mAwSettings.getCacheMode();
|
public synchronized java.lang.String | getCursiveFontFamily()
return mAwSettings.getCursiveFontFamily();
|
public synchronized boolean | getDatabaseEnabled()
return mAwSettings.getDatabaseEnabled();
|
public synchronized java.lang.String | getDatabasePath()
// Intentional no-op.
return "";
|
public synchronized int | getDefaultFixedFontSize()
return mAwSettings.getDefaultFixedFontSize();
|
public synchronized int | getDefaultFontSize()
return mAwSettings.getDefaultFontSize();
|
public synchronized java.lang.String | getDefaultTextEncodingName()
return mAwSettings.getDefaultTextEncodingName();
|
public android.webkit.WebSettings.ZoomDensity | getDefaultZoom()
// Intentional no-op.
return ZoomDensity.MEDIUM;
|
public boolean | getDisplayZoomControls()
return mAwSettings.getDisplayZoomControls();
|
public synchronized boolean | getDomStorageEnabled()
return mAwSettings.getDomStorageEnabled();
|
public synchronized java.lang.String | getFantasyFontFamily()
return mAwSettings.getFantasyFontFamily();
|
public synchronized java.lang.String | getFixedFontFamily()
return mAwSettings.getFixedFontFamily();
|
public synchronized boolean | getJavaScriptCanOpenWindowsAutomatically()
return mAwSettings.getJavaScriptCanOpenWindowsAutomatically();
|
public synchronized boolean | getJavaScriptEnabled()
return mAwSettings.getJavaScriptEnabled();
|
public synchronized android.webkit.WebSettings.LayoutAlgorithm | getLayoutAlgorithm()
// TODO: Remove the upstream enum and mapping once the new value is in the public API.
final LayoutAlgorithm[] webViewValues = {
LayoutAlgorithm.NORMAL,
LayoutAlgorithm.SINGLE_COLUMN,
LayoutAlgorithm.NARROW_COLUMNS,
LayoutAlgorithm.TEXT_AUTOSIZING
};
return webViewValues[mAwSettings.getLayoutAlgorithm().ordinal()];
|
public boolean | getLightTouchEnabled()
// Intentional no-op.
return false;
|
public boolean | getLoadWithOverviewMode()
return mAwSettings.getLoadWithOverviewMode();
|
public synchronized boolean | getLoadsImagesAutomatically()
return mAwSettings.getLoadsImagesAutomatically();
|
public boolean | getMediaPlaybackRequiresUserGesture()
return mAwSettings.getMediaPlaybackRequiresUserGesture();
|
public synchronized int | getMinimumFontSize()
return mAwSettings.getMinimumFontSize();
|
public synchronized int | getMinimumLogicalFontSize()
return mAwSettings.getMinimumLogicalFontSize();
|
public int | getMixedContentMode()
return mAwSettings.getMixedContentMode();
|
public boolean | getNavDump()
// Intentional no-op.
return false;
|
public synchronized android.webkit.WebSettings.PluginState | getPluginState()
return mAwSettings.getPluginState();
|
public synchronized boolean | getPluginsEnabled()
return mAwSettings.getPluginsEnabled();
|
public synchronized java.lang.String | getSansSerifFontFamily()
return mAwSettings.getSansSerifFontFamily();
|
public boolean | getSaveFormData()
return mAwSettings.getSaveFormData();
|
public boolean | getSavePassword()
// Intentional no-op.
return false;
|
public synchronized java.lang.String | getSerifFontFamily()
return mAwSettings.getSerifFontFamily();
|
public synchronized java.lang.String | getStandardFontFamily()
return mAwSettings.getStandardFontFamily();
|
public synchronized int | getTextZoom()
return mAwSettings.getTextZoom();
|
public boolean | getUseWebViewBackgroundForOverscrollBackground()
// Intentional no-op.
return false;
|
public synchronized boolean | getUseWideViewPort()
return mAwSettings.getUseWideViewPort();
|
public synchronized int | getUserAgent()
// Minimal implementation for backwards compatibility: just identifies default vs custom.
return AwSettings.getDefaultUserAgent().equals(getUserAgentString()) ? 0 : -1;
|
public synchronized java.lang.String | getUserAgentString()
return mAwSettings.getUserAgentString();
|
public boolean | getVideoOverlayForEmbeddedEncryptedVideoEnabled()
return mAwSettings.getVideoOverlayForEmbeddedVideoEnabled();
|
public void | setAcceptThirdPartyCookies(boolean accept)
if (TRACE) Log.d(LOGTAG, "setAcceptThirdPartyCookies=" + accept);
mAwSettings.setAcceptThirdPartyCookies(accept);
|
public void | setAllowContentAccess(boolean allow)
if (TRACE) Log.d(LOGTAG, "setAllowContentAccess=" + allow);
mAwSettings.setAllowContentAccess(allow);
|
public void | setAllowFileAccess(boolean allow)
if (TRACE) Log.d(LOGTAG, "setAllowFileAccess=" + allow);
mAwSettings.setAllowFileAccess(allow);
|
public void | setAllowFileAccessFromFileURLs(boolean flag)
if (TRACE) Log.d(LOGTAG, "setAllowFileAccessFromFileURLs=" + flag);
mAwSettings.setAllowFileAccessFromFileURLs(flag);
|
public void | setAllowUniversalAccessFromFileURLs(boolean flag)
if (TRACE) Log.d(LOGTAG, "setAllowUniversalAccessFromFileURLs=" + flag);
mAwSettings.setAllowUniversalAccessFromFileURLs(flag);
|
public synchronized void | setAppCacheEnabled(boolean flag)
if (TRACE) Log.d(LOGTAG, "setAppCacheEnabled=" + flag);
mAwSettings.setAppCacheEnabled(flag);
|
public synchronized void | setAppCacheMaxSize(long appCacheMaxSize)
// Intentional no-op.
|
public synchronized void | setAppCachePath(java.lang.String appCachePath)
if (TRACE) Log.d(LOGTAG, "setAppCachePath=" + appCachePath);
mAwSettings.setAppCachePath(appCachePath);
|
public synchronized void | setBlockNetworkImage(boolean flag)
if (TRACE) Log.d(LOGTAG, "setBlockNetworkImage=" + flag);
mAwSettings.setImagesEnabled(!flag);
|
public synchronized void | setBlockNetworkLoads(boolean flag)
if (TRACE) Log.d(LOGTAG, "setBlockNetworkLoads=" + flag);
mAwSettings.setBlockNetworkLoads(flag);
|
public void | setBuiltInZoomControls(boolean enabled)
if (TRACE) Log.d(LOGTAG, "setBuiltInZoomControls=" + enabled);
mAwSettings.setBuiltInZoomControls(enabled);
|
public void | setCacheMode(int mode)
if (TRACE) Log.d(LOGTAG, "setCacheMode=" + mode);
mAwSettings.setCacheMode(mode);
|
public synchronized void | setCursiveFontFamily(java.lang.String font)
if (TRACE) Log.d(LOGTAG, "setCursiveFontFamily=" + font);
mAwSettings.setCursiveFontFamily(font);
|
public synchronized void | setDatabaseEnabled(boolean flag)
if (TRACE) Log.d(LOGTAG, "setDatabaseEnabled=" + flag);
mAwSettings.setDatabaseEnabled(flag);
|
public synchronized void | setDatabasePath(java.lang.String databasePath)
// Intentional no-op.
|
public synchronized void | setDefaultFixedFontSize(int size)
if (TRACE) Log.d(LOGTAG, "setDefaultFixedFontSize=" + size);
mAwSettings.setDefaultFixedFontSize(size);
|
public synchronized void | setDefaultFontSize(int size)
if (TRACE) Log.d(LOGTAG, "setDefaultFontSize=" + size);
mAwSettings.setDefaultFontSize(size);
|
public synchronized void | setDefaultTextEncodingName(java.lang.String encoding)
if (TRACE) Log.d(LOGTAG, "setDefaultTextEncodingName=" + encoding);
mAwSettings.setDefaultTextEncodingName(encoding);
|
public void | setDefaultZoom(android.webkit.WebSettings.ZoomDensity zoom)
if (zoom != ZoomDensity.MEDIUM) {
Log.w(LOGTAG, "setDefaultZoom not supported, zoom=" + zoom);
}
|
public void | setDisplayZoomControls(boolean enabled)
if (TRACE) Log.d(LOGTAG, "setDisplayZoomControls=" + enabled);
mAwSettings.setDisplayZoomControls(enabled);
|
public synchronized void | setDomStorageEnabled(boolean flag)
if (TRACE) Log.d(LOGTAG, "setDomStorageEnabled=" + flag);
mAwSettings.setDomStorageEnabled(flag);
|
public void | setEnableSmoothTransition(boolean enable)
// Intentional no-op.
|
public synchronized void | setFantasyFontFamily(java.lang.String font)
if (TRACE) Log.d(LOGTAG, "setFantasyFontFamily=" + font);
mAwSettings.setFantasyFontFamily(font);
|
public synchronized void | setFixedFontFamily(java.lang.String font)
if (TRACE) Log.d(LOGTAG, "setFixedFontFamily=" + font);
mAwSettings.setFixedFontFamily(font);
|
public synchronized void | setGeolocationDatabasePath(java.lang.String databasePath)
// Intentional no-op.
|
public synchronized void | setGeolocationEnabled(boolean flag)
if (TRACE) Log.d(LOGTAG, "setGeolocationEnabled=" + flag);
mAwSettings.setGeolocationEnabled(flag);
|
public synchronized void | setJavaScriptCanOpenWindowsAutomatically(boolean flag)
if (TRACE) Log.d(LOGTAG, "setJavaScriptCanOpenWindowsAutomatically=" + flag);
mAwSettings.setJavaScriptCanOpenWindowsAutomatically(flag);
|
public synchronized void | setJavaScriptEnabled(boolean flag)
if (TRACE) Log.d(LOGTAG, "setJavaScriptEnabled=" + flag);
mAwSettings.setJavaScriptEnabled(flag);
|
public synchronized void | setLayoutAlgorithm(android.webkit.WebSettings.LayoutAlgorithm l)
// TODO: Remove the upstream enum and mapping once the new value is in the public API.
final AwSettings.LayoutAlgorithm[] chromiumValues = {
AwSettings.LayoutAlgorithm.NORMAL,
AwSettings.LayoutAlgorithm.SINGLE_COLUMN,
AwSettings.LayoutAlgorithm.NARROW_COLUMNS,
AwSettings.LayoutAlgorithm.TEXT_AUTOSIZING
};
mAwSettings.setLayoutAlgorithm(chromiumValues[l.ordinal()]);
|
public void | setLightTouchEnabled(boolean enabled)
// Intentional no-op.
|
public void | setLoadWithOverviewMode(boolean overview)
if (TRACE) Log.d(LOGTAG, "setLoadWithOverviewMode=" + overview);
mAwSettings.setLoadWithOverviewMode(overview);
|
public synchronized void | setLoadsImagesAutomatically(boolean flag)
if (TRACE) Log.d(LOGTAG, "setLoadsImagesAutomatically=" + flag);
mAwSettings.setLoadsImagesAutomatically(flag);
|
public void | setMediaPlaybackRequiresUserGesture(boolean require)
if (TRACE) Log.d(LOGTAG, "setMediaPlaybackRequiresUserGesture=" + require);
mAwSettings.setMediaPlaybackRequiresUserGesture(require);
|
public synchronized void | setMinimumFontSize(int size)
if (TRACE) Log.d(LOGTAG, "setMinimumFontSize=" + size);
mAwSettings.setMinimumFontSize(size);
|
public synchronized void | setMinimumLogicalFontSize(int size)
if (TRACE) Log.d(LOGTAG, "setMinimumLogicalFontSize=" + size);
mAwSettings.setMinimumLogicalFontSize(size);
|
public void | setMixedContentMode(int mode)
mAwSettings.setMixedContentMode(mode);
|
public void | setNavDump(boolean enabled)
// Intentional no-op.
|
public void | setNeedInitialFocus(boolean flag)
if (TRACE) Log.d(LOGTAG, "setNeedInitialFocus=" + flag);
mAwSettings.setShouldFocusFirstNode(flag);
|
public synchronized void | setPluginState(android.webkit.WebSettings.PluginState state)
if (TRACE) Log.d(LOGTAG, "setPluginState=" + state);
mAwSettings.setPluginState(state);
|
public synchronized void | setPluginsEnabled(boolean flag)
if (TRACE) Log.d(LOGTAG, "setPluginsEnabled=" + flag);
mAwSettings.setPluginsEnabled(flag);
|
public synchronized void | setRenderPriority(android.webkit.WebSettings.RenderPriority priority)
// Intentional no-op.
|
public synchronized void | setSansSerifFontFamily(java.lang.String font)
if (TRACE) Log.d(LOGTAG, "setSansSerifFontFamily=" + font);
mAwSettings.setSansSerifFontFamily(font);
|
public void | setSaveFormData(boolean save)
if (TRACE) Log.d(LOGTAG, "setSaveFormData=" + save);
mAwSettings.setSaveFormData(save);
|
public void | setSavePassword(boolean save)
// Intentional no-op.
|
public synchronized void | setSerifFontFamily(java.lang.String font)
if (TRACE) Log.d(LOGTAG, "setSerifFontFamily=" + font);
mAwSettings.setSerifFontFamily(font);
|
public synchronized void | setStandardFontFamily(java.lang.String font)
if (TRACE) Log.d(LOGTAG, "setStandardFontFamily=" + font);
mAwSettings.setStandardFontFamily(font);
|
public synchronized void | setSupportMultipleWindows(boolean support)
if (TRACE) Log.d(LOGTAG, "setSupportMultipleWindows=" + support);
mAwSettings.setSupportMultipleWindows(support);
|
public void | setSupportZoom(boolean support)
if (TRACE) Log.d(LOGTAG, "setSupportZoom=" + support);
mAwSettings.setSupportZoom(support);
|
public synchronized void | setTextZoom(int textZoom)
if (TRACE) Log.d(LOGTAG, "setTextZoom=" + textZoom);
mAwSettings.setTextZoom(textZoom);
|
public void | setUseWebViewBackgroundForOverscrollBackground(boolean view)
// Intentional no-op.
|
public synchronized void | setUseWideViewPort(boolean use)
if (TRACE) Log.d(LOGTAG, "setUseWideViewPort=" + use);
mAwSettings.setUseWideViewPort(use);
|
public synchronized void | setUserAgent(int ua)
// Minimal implementation for backwards compatibility: just supports resetting to default.
if (ua == 0) {
setUserAgentString(null);
} else {
Log.w(LOGTAG, "setUserAgent not supported, ua=" + ua);
}
|
public synchronized void | setUserAgentString(java.lang.String ua)
if (TRACE) Log.d(LOGTAG, "setUserAgentString=" + ua);
mAwSettings.setUserAgentString(ua);
|
public void | setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean flag)
mAwSettings.setVideoOverlayForEmbeddedVideoEnabled(flag);
|
public synchronized boolean | supportMultipleWindows()
return mAwSettings.supportMultipleWindows();
|
public boolean | supportZoom()
return mAwSettings.supportZoom();
|