Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/webkit/
DAccessibilityInjectorTest.java157 WebView webView = loadHTML(html); in testNavigationByCharacter() local
160 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, META_STATE_ALT_LEFT_ON); in testNavigationByCharacter()
164 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, META_STATE_ALT_LEFT_ON); in testNavigationByCharacter()
168 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0); in testNavigationByCharacter()
172 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0); in testNavigationByCharacter()
176 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0); in testNavigationByCharacter()
180 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0); in testNavigationByCharacter()
184 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0); in testNavigationByCharacter()
188 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_DOWN, 0); in testNavigationByCharacter()
192 sendKeyEvent(webView, KeyEvent.KEYCODE_DPAD_UP, 0); in testNavigationByCharacter()
[all …]
DZoomManagerTest.java26 WebView webView = new WebView(this.getContext()); in setUp() local
27 WebViewClassic webViewClassic = WebViewClassic.fromWebView(webView); in setUp()
/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/DumpRenderTree/src/com/android/dumprendertree/
DReliabilityTestActivity.java53 private WebView webView; field in ReliabilityTestActivity
78 webView = new WebView(this); in onCreate()
79 webView.getSettings().setJavaScriptEnabled(true); in onCreate()
80 webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(false); in onCreate()
81 webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.NORMAL); in onCreate()
85 webView.setWebViewClient(webViewClient); in onCreate()
86 webView.setWebChromeClient(chromeClient); in onCreate()
88 contentView.addView(webView, new LayoutParams( in onCreate()
125 webView.stopLoading(); in navigate()
127 webView.clearCache(true); in navigate()
[all …]
DWebViewEventSender.java32 WebViewEventSender(WebView webView) { in WebViewEventSender() argument
33 mWebView = webView; in WebViewEventSender()
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
DJavaBridgeTestBase.java34 public synchronized void onPageFinished(WebView webView, String url) { in onPageFinished() argument
92 WebView webView = activity.getWebView(); in setUpWebView()
93 webView.addJavascriptInterface(object, name); in setUpWebView()
94 webView.getSettings().setJavaScriptEnabled(true); in setUpWebView()
95 webView.setWebViewClient(mWebViewClient); in setUpWebView()
96 webView.loadData("<!DOCTYPE html><title></title>", "text/html", null); in setUpWebView()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DTestsListActivity.java139 WebView webView = new WebView(this); in onEverythingFinishedIntent() local
140 webView.getSettings().setJavaScriptEnabled(true); in onEverythingFinishedIntent()
141 webView.getSettings().setBuiltInZoomControls(true); in onEverythingFinishedIntent()
142 webView.getSettings().setEnableSmoothTransition(true); in onEverythingFinishedIntent()
144 webView.getSettings().setUseWideViewPort(true); in onEverythingFinishedIntent()
146 setContentView(webView); in onEverythingFinishedIntent()
147 webView.loadUrl(Summarizer.getDetailsUri().toString()); in onEverythingFinishedIntent()
DEventSender.java31 public void reset(WebView webView) { in reset() argument
32 mEventSenderImpl.reset(webView); in reset()
DLayoutTestsExecutor.java353 private void setupWebView(WebView webView) { in setupWebView() argument
354 webView.setWebViewClient(mWebViewClient); in setupWebView()
355 webView.setWebChromeClient(mWebChromeClient); in setupWebView()
364 WebViewClassic webViewClassic = WebViewClassic.fromWebView(webView); in setupWebView()
DEventSenderImpl.java343 public void reset(WebView webView) { in reset() argument
344 mWebView = webView; in reset()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java72 public boolean invokeCallback(WebChromeClient client, WebView webView) { in invokeCallback() argument
75 return client.onJsAlert(webView, mUrl, mMessage, mResult); in invokeCallback()
77 return client.onJsConfirm(webView, mUrl, mMessage, mResult); in invokeCallback()
79 return client.onJsBeforeUnload(webView, mUrl, mMessage, mResult); in invokeCallback()
81 return client.onJsPrompt(webView, mUrl, mMessage, mDefaultValue, mResult); in invokeCallback()
DZoomControlEmbedded.java33 public ZoomControlEmbedded(ZoomManager zoomManager, WebViewClassic webView) { in ZoomControlEmbedded() argument
35 mWebView = webView; in ZoomControlEmbedded()
DPluginFullScreenHolder.java47 PluginFullScreenHolder(WebViewClassic webView, int orientation, int npp) { in PluginFullScreenHolder() argument
48 mWebView = webView; in PluginFullScreenHolder()
DHTML5VideoFullScreen.java271 HTML5VideoViewProxy proxy, WebViewClassic webView) { in enterFullScreenVideoState() argument
294 WebChromeClient client = webView.getWebChromeClient(); in enterFullScreenVideoState()
299 if (webView.getViewManager() != null) in enterFullScreenVideoState()
300 webView.getViewManager().hideAll(); in enterFullScreenVideoState()
DFindActionModeCallback.java92 public void setWebView(WebView webView) { in setWebView() argument
93 if (null == webView) { in setWebView()
97 mWebView = webView; in setWebView()
DZoomControlExternal.java40 public ZoomControlExternal(WebViewClassic webView) { in ZoomControlExternal() argument
41 mWebView = webView; in ZoomControlExternal()
DHTML5VideoViewProxy.java141 HTML5VideoViewProxy proxy, WebViewClassic webView) { in enterFullScreenVideo() argument
175 mHTML5VideoView.enterFullScreenVideoState(layerId, proxy, webView); in enterFullScreenVideo()
179 WebViewClassic webView) { in exitFullScreenVideo() argument
181 WebChromeClient client = webView.getWebChromeClient(); in exitFullScreenVideo()
598 private HTML5VideoViewProxy(WebViewClassic webView, int nativePtr) { in HTML5VideoViewProxy() argument
602 mWebView = webView; in HTML5VideoViewProxy()
DWebViewFactoryProvider.java62 WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess); in createWebView() argument
DSelectActionModeCallback.java34 void setWebView(WebViewClassic webView) { in setWebView() argument
35 mWebView = webView; in setWebView()
DAccessibilityInjector.java830 private boolean performAction(WebView webView, String code) { in performAction() argument
834 webView.loadUrl(url); in performAction()
961 public void requestCallback(WebView webView, Runnable callbackRunnable) { in requestCallback() argument
964 webView.loadUrl("javascript:(function() { " + mInterfaceName + ".callback(); })();"); in requestCallback()
DAutoCompletePopup.java54 public AutoCompletePopup(WebViewClassic webView, in AutoCompletePopup() argument
57 mWebView = webView; in AutoCompletePopup()
DHTML5Audio.java100 IsPrivateBrowsingEnabledGetter(Looper uiThreadLooper, final WebViewClassic webView) { in IsPrivateBrowsingEnabledGetter() argument
105 mIsPrivateBrowsingEnabled = webView.isPrivateBrowsingEnabled(); in IsPrivateBrowsingEnabledGetter()
DAccessibilityInjectorFallback.java138 public AccessibilityInjectorFallback(WebViewClassic webView) { in AccessibilityInjectorFallback() argument
139 mWebView = webView; in AccessibilityInjectorFallback()
DHTML5VideoView.java327 HTML5VideoViewProxy proxy, WebViewClassic webView) { in enterFullScreenVideoState() argument
DZoomManager.java214 public ZoomManager(WebViewClassic webView, CallbackProxy callbackProxy) { in ZoomManager() argument
215 mWebView = webView; in ZoomManager()

12