Home
last modified time | relevance | path

Searched refs:webView (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestActivity.java46 private WebView webView; field in PowerTestActivity
74 webView = new WebView(this); in onCreate()
75 webView.getSettings().setJavaScriptEnabled(true); in onCreate()
76 webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(false); in onCreate()
77 webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.NORMAL); in onCreate()
81 webView.setWebViewClient(webViewClient); in onCreate()
82 webView.setWebChromeClient(chromeClient); in onCreate()
84 contentView.addView(webView, new LayoutParams( in onCreate()
121 webView.stopLoading(); in navigate()
123 webView.clearCache(true); in navigate()
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DScrollableWebViewActivity.java30 WebView webView = new WebView(this); in onCreate() local
31 webView.loadData(sHtml, "text/html", null); in onCreate()
32 webView.setVerticalScrollBarEnabled(true); in onCreate()
33 setContentView(webView); in onCreate()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java74 public boolean invokeCallback(WebChromeClient client, WebView webView) { in invokeCallback() argument
77 return client.onJsAlert(webView, mUrl, mMessage, mResult); in invokeCallback()
79 return client.onJsConfirm(webView, mUrl, mMessage, mResult); in invokeCallback()
81 return client.onJsBeforeUnload(webView, mUrl, mMessage, mResult); in invokeCallback()
83 return client.onJsPrompt(webView, mUrl, mMessage, mDefaultValue, mResult); in invokeCallback()
DFindActionModeCallback.java93 public void setWebView(WebView webView) { in setWebView() argument
94 if (null == webView) { in setWebView()
98 mWebView = webView; in setWebView()
DWebViewFactoryProvider.java88 WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess); in createWebView() argument
DWebChromeClient.java423 public boolean onShowFileChooser(WebView webView, ValueCallback<Uri[]> filePathCallback, in onShowFileChooser() argument
/frameworks/base/docs/html/training/printing/
Dhtml-docs.jd59 WebView webView = new WebView(getActivity());
60 webView.setWebViewClient(new WebViewClient() {
77 webView.loadDataWithBaseURL(null, htmlDocument, "text/HTML", "UTF-8", null);
81 mWebView = webView;
107 webView.loadDataWithBaseURL("file:///android_asset/images/", htmlBody,
117 webView.loadUrl("http://developer.android.com/about/index.html");
151 private void createWebPrintJob(WebView webView) {
158 PrintDocumentAdapter printAdapter = webView.createPrintDocumentAdapter();
/frameworks/webview/nullwebview/java/com/android/webview/nullwebview/
DNullWebViewFactoryProvider.java43 public WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess) { in createWebView() argument
/frameworks/base/docs/html/guide/webapps/
Dmigrating.jd121 webView.loadUrl("javascript:fn()");
204 webView.loadDataWithBaseURL("example-app://example.co.uk/", HTML_DATA,
265 WebSettings settings = webView.getSettings();
Dwebview.jd187 WebView webView = (WebView) findViewById(R.id.webview);
188 webView.addJavascriptInterface(new WebAppInterface(this), "Android");