/frameworks/base/core/tests/coretests/src/android/webkit/ |
D | AccessibilityInjectorTest.java | 157 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 …]
|
D | ZoomManagerTest.java | 26 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/ |
D | PowerTestActivity.java | 45 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/ |
D | ReliabilityTestActivity.java | 52 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 …]
|
D | WebViewEventSender.java | 32 WebViewEventSender(WebView webView) { in WebViewEventSender() argument 33 mWebView = webView; in WebViewEventSender()
|
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
D | JavaBridgeTestBase.java | 34 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/ |
D | TestsListActivity.java | 139 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()
|
D | EventSender.java | 31 public void reset(WebView webView) { in reset() argument 32 mEventSenderImpl.reset(webView); in reset()
|
D | LayoutTestsExecutor.java | 353 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()
|
D | EventSenderImpl.java | 343 public void reset(WebView webView) { in reset() argument 344 mWebView = webView; in reset()
|
/frameworks/base/core/java/android/webkit/ |
D | ZoomControlEmbedded.java | 33 public ZoomControlEmbedded(ZoomManager zoomManager, WebViewClassic webView) { in ZoomControlEmbedded() argument 35 mWebView = webView; in ZoomControlEmbedded()
|
D | HTML5VideoFullScreen.java | 271 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()
|
D | PluginFullScreenHolder.java | 47 PluginFullScreenHolder(WebViewClassic webView, int orientation, int npp) { in PluginFullScreenHolder() argument 48 mWebView = webView; in PluginFullScreenHolder()
|
D | FindActionModeCallback.java | 90 void setWebView(WebViewClassic webView) { in setWebView() argument 91 if (null == webView) { in setWebView() 95 mWebView = webView; in setWebView()
|
D | HTML5VideoViewProxy.java | 141 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()
|
D | ZoomControlExternal.java | 40 public ZoomControlExternal(WebViewClassic webView) { in ZoomControlExternal() argument 41 mWebView = webView; in ZoomControlExternal()
|
D | WebViewFactoryProvider.java | 62 WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess); in createWebView() argument
|
D | SelectActionModeCallback.java | 34 void setWebView(WebViewClassic webView) { in setWebView() argument 35 mWebView = webView; in setWebView()
|
D | AccessibilityInjector.java | 824 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()
|
D | HTML5Audio.java | 97 IsPrivateBrowsingEnabledGetter(Looper uiThreadLooper, final WebViewClassic webView) { in IsPrivateBrowsingEnabledGetter() argument 102 mIsPrivateBrowsingEnabled = webView.isPrivateBrowsingEnabled(); in IsPrivateBrowsingEnabledGetter()
|
D | AutoCompletePopup.java | 54 public AutoCompletePopup(WebViewClassic webView, in AutoCompletePopup() argument 57 mWebView = webView; in AutoCompletePopup()
|
D | AccessibilityInjectorFallback.java | 122 public AccessibilityInjectorFallback(WebViewClassic webView) { in AccessibilityInjectorFallback() argument 123 mWebView = webView; in AccessibilityInjectorFallback()
|
D | HTML5VideoView.java | 327 HTML5VideoViewProxy proxy, WebViewClassic webView) { in enterFullScreenVideoState() argument
|
D | ZoomManager.java | 214 public ZoomManager(WebViewClassic webView, CallbackProxy callbackProxy) { in ZoomManager() argument 215 mWebView = webView; in ZoomManager()
|
/frameworks/base/docs/html/guide/webapps/ |
D | webview.jd | 193 WebView webView = (WebView) findViewById(R.id.webview); 194 webView.addJavascriptInterface(new WebAppInterface(this), "Android");
|