Searched refs:webView (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DScrollableWebViewActivity.java30 WebView webView = new WebView(this);
31 webView.loadData(sHtml, "text/html", null);
32 webView.setVerticalScrollBarEnabled(true);
33 setContentView(webView);
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java46 private WebView webView; field in class:PowerTestActivity
74 webView = new WebView(this);
75 webView.getSettings().setJavaScriptEnabled(true);
76 webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(false);
77 webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.NORMAL);
81 webView.setWebViewClient(webViewClient);
82 webView.setWebChromeClient(chromeClient);
84 contentView.addView(webView, new LayoutParams(
121 webView.stopLoading();
123 webView
[all...]
/frameworks/base/core/java/android/webkit/
H A DJsDialogHelper.java74 public boolean invokeCallback(WebChromeClient client, WebView webView) { argument
77 return client.onJsAlert(webView, mUrl, mMessage, mResult);
79 return client.onJsConfirm(webView, mUrl, mMessage, mResult);
81 return client.onJsBeforeUnload(webView, mUrl, mMessage, mResult);
83 return client.onJsPrompt(webView, mUrl, mMessage, mDefaultValue, mResult);
H A DWebViewFactoryProvider.java106 * @param webView the WebView instance bound to this implementation instance. Note it will not
111 WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess); argument
H A DFindActionModeCallback.java94 * @param webView an implementation of WebView
96 public void setWebView(@NonNull WebView webView) { argument
97 if (null == webView) {
101 mWebView = webView;
H A DWebChromeClient.java436 * @param webView The WebView instance that is initiating the request.
447 public boolean onShowFileChooser(WebView webView, ValueCallback<Uri[]> filePathCallback, argument

Completed in 143 milliseconds