Home
last modified time | relevance | path

Searched refs:webView (Results 1 – 25 of 26) 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.java45 private WebView webView; field in PowerTestActivity
73 webView = new WebView(this); in onCreate()
74 webView.getSettings().setJavaScriptEnabled(true); in onCreate()
75 webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(false); in onCreate()
76 webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.NORMAL); in onCreate()
80 webView.setWebViewClient(webViewClient); in onCreate()
81 webView.setWebChromeClient(chromeClient); in onCreate()
83 contentView.addView(webView, new LayoutParams( in onCreate()
120 webView.stopLoading(); in navigate()
122 webView.clearCache(true); in navigate()
[all …]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DReliabilityTestActivity.java52 private WebView webView; field in ReliabilityTestActivity
77 webView = new WebView(this); in onCreate()
78 webView.getSettings().setJavaScriptEnabled(true); in onCreate()
79 webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(false); in onCreate()
80 webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.NORMAL); in onCreate()
84 webView.setWebViewClient(webViewClient); in onCreate()
85 webView.setWebChromeClient(chromeClient); in onCreate()
87 contentView.addView(webView, new LayoutParams( in onCreate()
124 webView.stopLoading(); in navigate()
126 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/
DZoomControlEmbedded.java33 public ZoomControlEmbedded(ZoomManager zoomManager, WebViewClassic webView) { in ZoomControlEmbedded() argument
35 mWebView = webView; in ZoomControlEmbedded()
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()
DPluginFullScreenHolder.java47 PluginFullScreenHolder(WebViewClassic webView, int orientation, int npp) { in PluginFullScreenHolder() argument
48 mWebView = webView; in PluginFullScreenHolder()
DFindActionModeCallback.java90 void setWebView(WebViewClassic webView) { in setWebView() argument
91 if (null == webView) { in setWebView()
95 mWebView = webView; in setWebView()
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()
DZoomControlExternal.java40 public ZoomControlExternal(WebViewClassic webView) { in ZoomControlExternal() argument
41 mWebView = webView; in ZoomControlExternal()
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.java824 private boolean performAction(WebView webView, String code) { in performAction() argument
828 webView.loadUrl(url); in performAction()
955 public void requestCallback(WebView webView, Runnable callbackRunnable) { in requestCallback() argument
958 webView.loadUrl("javascript:(function() { " + mInterfaceName + ".callback(); })();"); in requestCallback()
DHTML5Audio.java97 IsPrivateBrowsingEnabledGetter(Looper uiThreadLooper, final WebViewClassic webView) { in IsPrivateBrowsingEnabledGetter() argument
102 mIsPrivateBrowsingEnabled = webView.isPrivateBrowsingEnabled(); in IsPrivateBrowsingEnabledGetter()
DAutoCompletePopup.java54 public AutoCompletePopup(WebViewClassic webView, in AutoCompletePopup() argument
57 mWebView = webView; in AutoCompletePopup()
DAccessibilityInjectorFallback.java122 public AccessibilityInjectorFallback(WebViewClassic webView) { in AccessibilityInjectorFallback() argument
123 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()
/frameworks/base/docs/html/guide/webapps/
Dwebview.jd193 WebView webView = (WebView) findViewById(R.id.webview);
194 webView.addJavascriptInterface(new WebAppInterface(this), "Android");

12