Home
last modified time | relevance | path

Searched refs:webView (Results 1 – 7 of 7) 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.java111 WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess); in createWebView() argument
DWebChromeClient.java424 public boolean onShowFileChooser(WebView webView, ValueCallback<Uri[]> filePathCallback, in onShowFileChooser() argument
/frameworks/webview/nullwebview/java/com/android/webview/nullwebview/
DNullWebViewFactoryProvider.java47 public WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess) { in createWebView() argument