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

/frameworks/base/core/tests/coretests/src/android/webkit/
H A DAccessibilityInjectorTest.java157 WebView webView = loadHTML(html);
160 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, META_STATE_ALT_LEFT_ON);
164 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, META_STATE_ALT_LEFT_ON);
168 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0);
172 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0);
176 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0);
180 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0);
184 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0);
188 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0);
192 sendKeyEvent(webView, KeyEven
1651 sendKeyEvent(WebView webView, int keyCode, int metaState) argument
[all...]
H A DZoomManagerTest.java26 WebView webView = new WebView(this.getContext());
27 WebViewClassic webViewClassic = WebViewClassic.fromWebView(webView);
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeTestBase.java34 public synchronized void onPageFinished(WebView webView, String url) { argument
92 WebView webView = activity.getWebView();
93 webView.addJavascriptInterface(object, name);
94 webView.getSettings().setJavaScriptEnabled(true);
95 webView.setWebViewClient(mWebViewClient);
96 webView.loadData("<!DOCTYPE html><title></title>", "text/html", null);
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java45 private WebView webView; field in class:PowerTestActivity
73 webView = new WebView(this);
74 webView.getSettings().setJavaScriptEnabled(true);
75 webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(false);
76 webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.NORMAL);
80 webView.setWebViewClient(webViewClient);
81 webView.setWebChromeClient(chromeClient);
83 contentView.addView(webView, new LayoutParams(
120 webView.stopLoading();
122 webView
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DReliabilityTestActivity.java52 private WebView webView; field in class:ReliabilityTestActivity
77 webView = new WebView(this);
78 webView.getSettings().setJavaScriptEnabled(true);
79 webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(false);
80 webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.NORMAL);
84 webView.setWebViewClient(webViewClient);
85 webView.setWebChromeClient(chromeClient);
87 contentView.addView(webView, new LayoutParams(
124 webView.stopLoading();
126 webView
[all...]
H A DWebViewEventSender.java32 WebViewEventSender(WebView webView) { argument
33 mWebView = webView;
/frameworks/base/core/java/android/webkit/
H A DWebViewFactoryProvider.java57 * @param webView the WebView instance bound to this implementation instance. Note it will not
62 WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess); argument
H A DZoomControlEmbedded.java33 public ZoomControlEmbedded(ZoomManager zoomManager, WebViewClassic webView) { argument
35 mWebView = webView;
H A DPluginFullScreenHolder.java47 PluginFullScreenHolder(WebViewClassic webView, int orientation, int npp) { argument
48 mWebView = webView;
H A DSelectActionModeCallback.java34 void setWebView(WebViewClassic webView) { argument
35 mWebView = webView;
H A DZoomControlExternal.java40 public ZoomControlExternal(WebViewClassic webView) { argument
41 mWebView = webView;
H A DHTML5VideoFullScreen.java271 HTML5VideoViewProxy proxy, WebViewClassic webView) {
294 WebChromeClient client = webView.getWebChromeClient();
299 if (webView.getViewManager() != null)
300 webView.getViewManager().hideAll();
270 enterFullScreenVideoState(int layerId, HTML5VideoViewProxy proxy, WebViewClassic webView) argument
H A DFindActionModeCallback.java90 void setWebView(WebViewClassic webView) { argument
91 if (null == webView) {
95 mWebView = webView;
H A DHTML5VideoViewProxy.java105 // Every time webView setBaseLayer, this will be called.
141 HTML5VideoViewProxy proxy, WebViewClassic webView) {
175 mHTML5VideoView.enterFullScreenVideoState(layerId, proxy, webView);
179 WebViewClassic webView) {
181 WebChromeClient client = webView.getWebChromeClient();
595 * @param webView is the WebView that hosts the video.
598 private HTML5VideoViewProxy(WebViewClassic webView, int nativePtr) { argument
602 mWebView = webView;
140 enterFullScreenVideo(int layerId, String url, HTML5VideoViewProxy proxy, WebViewClassic webView) argument
178 exitFullScreenVideo(HTML5VideoViewProxy proxy, WebViewClassic webView) argument
H A DAccessibilityInjector.java820 * @param webView The WebView to perform the action on.
824 private boolean performAction(WebView webView, String code) { argument
828 webView.loadUrl(url);
952 * @param webView The web view to request a callback from.
955 public void requestCallback(WebView webView, Runnable callbackRunnable) { argument
958 webView.loadUrl("javascript:(function() { " + mInterfaceName + ".callback(); })();");
H A DAutoCompletePopup.java54 public AutoCompletePopup(WebViewClassic webView, argument
57 mWebView = webView;
H A DHTML5Audio.java97 IsPrivateBrowsingEnabledGetter(Looper uiThreadLooper, final WebViewClassic webView) { argument
102 mIsPrivateBrowsingEnabled = webView.isPrivateBrowsingEnabled();
H A DAccessibilityInjectorFallback.java120 * @param webView The associated WebViewClassic.
122 public AccessibilityInjectorFallback(WebViewClassic webView) { argument
123 mWebView = webView;
H A DHTML5VideoView.java327 HTML5VideoViewProxy proxy, WebViewClassic webView) {
326 enterFullScreenVideoState(int layerId, HTML5VideoViewProxy proxy, WebViewClassic webView) argument
H A DZoomManager.java214 public ZoomManager(WebViewClassic webView, CallbackProxy callbackProxy) { argument
215 mWebView = webView;
504 // By adding webView matrix, we need to offset the canvas a bit
H A DWebViewClassic.java1222 public WebViewClassic(WebView webView, WebView.PrivateAccess privateAccess) { argument
1223 mWebView = webView;
1225 mContext = webView.getContext();
1283 public WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess) { argument
1284 return new WebViewClassic(webView, privateAccess);
1426 public static WebViewClassic fromWebView(WebView webView) { argument
1427 return webView == null ? null : (WebViewClassic) webView.getWebViewProvider();
8507 * Enable the communication b/t the webView and VideoViewProxy
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DTestsListActivity.java139 WebView webView = new WebView(this);
140 webView.getSettings().setJavaScriptEnabled(true);
141 webView.getSettings().setBuiltInZoomControls(true);
142 webView.getSettings().setEnableSmoothTransition(true);
144 webView.getSettings().setUseWideViewPort(true);
146 setContentView(webView);
147 webView.loadUrl(Summarizer.getDetailsUri().toString());
H A DEventSender.java31 public void reset(WebView webView) { argument
32 mEventSenderImpl.reset(webView);
H A DLayoutTestsExecutor.java353 private void setupWebView(WebView webView) { argument
354 webView.setWebViewClient(mWebViewClient);
355 webView.setWebChromeClient(mWebChromeClient);
364 WebViewClassic webViewClassic = WebViewClassic.fromWebView(webView);
H A DEventSenderImpl.java343 public void reset(WebView webView) { argument
344 mWebView = webView;

Completed in 6216 milliseconds