Home
last modified time | relevance | path

Searched refs:webView (Results 1 – 6 of 6) 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.java96 public void setWebView(@NonNull WebView webView) { in setWebView() argument
97 if (null == webView) { in setWebView()
101 mWebView = webView; in setWebView()
DWebViewFactoryProvider.java111 WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess); in createWebView() argument
DWebChromeClient.java447 public boolean onShowFileChooser(WebView webView, ValueCallback<Uri[]> filePathCallback, in onShowFileChooser() argument