/frameworks/base/core/java/android/webkit/ |
D | WebViewClient.java | 39 public boolean shouldOverrideUrlLoading(WebView view, String url) { in shouldOverrideUrlLoading() 55 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted() 67 public void onPageFinished(WebView view, String url) { in onPageFinished() 77 public void onLoadResource(WebView view, String url) { in onLoadResource() 95 public WebResourceResponse shouldInterceptRequest(WebView view, in shouldInterceptRequest() 113 public void onTooManyRedirects(WebView view, Message cancelMsg, in onTooManyRedirects() 159 public void onReceivedError(WebView view, int errorCode, in onReceivedError() 172 public void onFormResubmission(WebView view, Message dontResend, in onFormResubmission() 184 public void doUpdateVisitedHistory(WebView view, String url, in doUpdateVisitedHistory() 200 public void onReceivedSslError(WebView view, SslErrorHandler handler, in onReceivedSslError() [all …]
|
D | WebChromeClient.java | 33 public void onProgressChanged(WebView view, int newProgress) {} in onProgressChanged() 40 public void onReceivedTitle(WebView view, String title) {} in onReceivedTitle() 47 public void onReceivedIcon(WebView view, Bitmap icon) {} in onReceivedIcon() 55 public void onReceivedTouchIconUrl(WebView view, String url, in onReceivedTouchIconUrl() 117 public boolean onCreateWindow(WebView view, boolean dialog, in onCreateWindow() 128 public void onRequestFocus(WebView view) {} in onRequestFocus() 137 public void onCloseWindow(WebView window) {} in onCloseWindow() 149 public boolean onJsAlert(WebView view, String url, String message, in onJsAlert() 167 public boolean onJsConfirm(WebView view, String url, String message, in onJsConfirm() 186 public boolean onJsPrompt(WebView view, String url, String message, in onJsPrompt() [all …]
|
D | WebViewFragment.java | 24 import android.webkit.WebView; 32 private WebView mWebView; 47 mWebView = new WebView(getActivity()); in onCreateView() 95 public WebView getWebView() { in getWebView()
|
D | WebViewCore.java | 76 private WebView mWebView; 145 public WebViewCore(Context context, WebView w, CallbackProxy proxy, in WebViewCore() 233 WebView.WEBCORE_INITIALIZED_MSG_ID, in initialize() 328 Message.obtain(mWebView.mPrivateHandler, WebView.FORM_DID_BLUR, in formDidBlur() 494 WebView.ENTER_FULLSCREEN_VIDEO, layerId, 0); in enterFullscreenForVideoLayer() 1129 WebView.RETURN_LABEL, nodePointer, in transferMessages() 1227 viewSizeChanged((WebView.ViewSizeData) msg.obj); in transferMessages() 1392 WebView.PREVENT_TOUCH_ID, in transferMessages() 1487 mWebView.mPrivateHandler.obtainMessage(WebView.SELECTION_STRING_CHANGED, in transferMessages() 1536 WebView.SaveWebArchiveMessage saveMessage = in transferMessages() [all …]
|
D | JWebCoreJavaBridge.java | 48 private static WeakReference<WebView> sCurrentMainWebView = 49 new WeakReference<WebView>(null); 70 static synchronized void setActiveWebView(WebView webview) { in setActiveWebView() 75 sCurrentMainWebView = new WeakReference<WebView>(webview); in setActiveWebView() 78 static synchronized void removeActiveWebView(WebView webview) { in removeActiveWebView() 264 WebView current = sCurrentMainWebView.get(); in getSignedPublicKey()
|
D | PluginFullScreenHolder.java | 38 private final WebView mWebView; 47 PluginFullScreenHolder(WebView webView, int orientation, int npp) { in PluginFullScreenHolder() 137 mWebView.mPrivateHandler.obtainMessage(WebView.HIDE_FULLSCREEN)
|
D | ViewStateSerializer.java | 37 static boolean serializeViewState(OutputStream stream, WebView web) in serializeViewState() 51 static DrawData deserializeViewState(InputStream stream, WebView web) in deserializeViewState()
|
/frameworks/base/docs/html/guide/webapps/ |
D | webview.jd | 1 page.title=Building Web Apps in WebView 8 <li>Use {@link android.webkit.WebView} to display web pages in your Android application 15 <li><a href="#AddingWebView">Adding a WebView to Your Application</a></li> 16 <li><a href="#UsingJavaScript">Using JavaScript in WebView</a> 31 <li>{@link android.webkit.WebView}</li> 45 you can do it using {@link android.webkit.WebView}. The {@link android.webkit.WebView} class is an 48 browser, such as navigation controls or an address bar. All that {@link android.webkit.WebView} 51 <p>A common scenario in which using {@link android.webkit.WebView} is helpful is when you want to 54 that contains a {@link android.webkit.WebView}, then use that to display your document that's 57 <p>Another scenario in which {@link android.webkit.WebView} can help is if your application provides [all …]
|
D | debugging.jd | 9 <li>If debugging in a custom WebView, you need to implement a callback method to handle debug 16 <li><a href="#WebView">Using Console APIs in WebView</a></li> 32 or in your own {@link android.webkit.WebView}.</p> 84 <h2 id="WebView">Using Console APIs in WebView</h2> 86 <p>If you've implemented a custom {@link android.webkit.WebView} in your application, all the 87 same console APIs are supported when debugging your web page in WebView. On Android 104 android.webkit.WebView} with {@link android.webkit.WebView#setWebChromeClient(WebChromeClient) 111 WebView myWebView = (WebView) findViewById(R.id.webview); 125 WebView myWebView = (WebView) findViewById(R.id.webview);
|
D | index.jd | 8 including a WebView in the layout.</p> 31 application that embeds some web pages (using a {@link android.webkit.WebView} in your Android 40 <p>Since Android 1.0, {@link android.webkit.WebView} has been available for Android 47 {@link android.webkit.WebView} support the same viewport and screen density features.</p> 59 or using {@link android.webkit.WebView}.</dd> 61 WebView</strong></a></dt> 62 <dd>How to embed web pages into your Android application using {@link android.webkit.WebView} and
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | ReliabilityTestActivity.java | 33 import android.webkit.WebView; 52 private WebView webView; 77 webView = new WebView(this); in onCreate() 200 public void onReceivedError(WebView view, int errorCode, String description, in onReceivedError() 208 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { in onReceivedSslError() 215 public void onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, in onReceivedHttpAuthRequest() 222 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted() 228 public void onPageFinished(WebView view, String url) { in onPageFinished() 241 public boolean onJsAlert(WebView view, String url, String message, JsResult result) { in onJsAlert() 247 public boolean onJsBeforeUnload(WebView view, String url, String message, JsResult result) { in onJsBeforeUnload() [all …]
|
D | TestShellActivity.java | 50 import android.webkit.WebView; 147 mWebView = new WebView(this); in onCreate() 561 public void onPageFinished(WebView view, String url) { 604 public void onPageStarted(WebView view, String url, Bitmap favicon) { 611 public void onReceivedError(WebView view, int errorCode, String description, 619 public void onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, 632 public void onReceivedSslError(WebView view, SslErrorHandler handler, 641 public void onReceivedTitle(WebView view, String title) { 651 public boolean onJsAlert(WebView view, String url, String message, 664 public boolean onJsConfirm(WebView view, String url, String message, [all …]
|
/frameworks/base/docs/html/guide/tutorials/views/ |
D | hello-webview.jd | 1 page.title=Hello, WebView 6 <p>A {@link android.webkit.WebView} allows you to create your own web browser Activity. In this tut… 11 <li>Open the layout file. Insert a WebView so it looks like so: 19 <WebView 29 At the top of the class, instantiate a WebView object: 30 <pre>WebView webview;</pre> 33 webview = (WebView) findViewById(R.id.webview); 38 <p>This captures the WebView we created in our layout, then requests a 56 handles the Intent, instead of our own WebView handling the action. So now we'll 64 public boolean shouldOverrideUrlLoading(WebView view, String url) { [all …]
|
/frameworks/base/docs/html/resources/tutorials/views/ |
D | hello-webview.jd | 6 <p>{@link android.webkit.WebView} allows you to create your own window for viewing web pages (or ev… 15 <WebView xmlns:android="http://schemas.android.com/apk/res/android" 24 At the top of the class, declare a {@link android.webkit.WebView} object: 25 <pre>WebView mWebView;</pre> 33 mWebView = (WebView) findViewById(R.id.webview); 38 <p>This initializes the member {@link android.webkit.WebView} with the one from the 40 {@link android.webkit.WebView#getSettings()}; and enables JavaScript for the {@link 41 android.webkit.WebView} with {@link android.webkit.WebSettings#setJavaScriptEnabled(boolean)}. 43 android.webkit.WebView#loadUrl(String)}.</p> 73 public boolean shouldOverrideUrlLoading(WebView view, String url) { [all …]
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
D | AccessibilityInjectorTestActivity.java | 26 private WebView mWebView; 32 mWebView = (WebView) findViewById(R.id.webview); in onCreate() 35 public WebView getWebView() { in getWebView()
|
D | AccessibilityInjectorTest.java | 95 private WebView mWebView; 157 WebView webView = loadHTML(html); in testNavigationByCharacter() 252 WebView webView = loadHTML(html); in testNavigationByWord() 379 WebView webView = loadHTML(html); in testNavigationBySentence() 482 WebView webView = loadHTML(html); in testNavigationByHeading() 570 WebView webView = loadHTML(html); in testNavigationBySibing() 642 WebView webView = loadHTML(html); in testNavigationByParentFirstChild() 700 WebView webView = loadHTML(html); in testNavigationByDocument() 744 WebView webView = loadHTML(html); in testSyncBetweenTextAndDomNodeNavigation() 803 WebView webView = loadHTML(html); in testEnforceSelectionDoesNotCrossAnchorBoundary1() [all …]
|
/frameworks/base/docs/html/resources/articles/ |
D | using-webviews.jd | 11 This application demonstrates how you can embed a {@link android.webkit.WebView} 16 WebView uses the same rendering and JavaScript engine as the browser, 17 but it runs under the control of your application. The WebView can be 19 WebView can come from anywhere. The WebView can download content from 33 complicated path to illustrate two very powerful features of WebView.</p> 36 JavaScript running inside the WebView can call out to code in your 41 {@link android.webkit.WebView#addJavascriptInterface(java.lang.Object, java.lang.String) addJavascr… 42 method on your WebView. You pass an object whose methods you want to 51 is call the {@link android.webkit.WebView#loadUrl(java.lang.String) loadUrl}
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
D | PowerTestActivity.java | 28 import android.webkit.WebView; 45 private WebView webView; 73 webView = new WebView(this); in onCreate() 202 public void onReceivedError(WebView view, int errorCode, String description, in onReceivedError() 211 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted() 217 public void onPageFinished(WebView view, String url) { in onPageFinished() 239 public void onReceivedTitle(WebView view, String title) { in onReceivedTitle()
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | LayoutTestsExecutor.java | 46 import android.webkit.WebView; 98 private WebView mCurrentWebView; 158 public void onPageFinished(WebView view, String url) { 170 public void onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, 183 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { 205 public boolean onJsAlert(WebView view, String url, String message, JsResult result) { 212 public boolean onJsConfirm(WebView view, String url, String message, JsResult result) { 219 public boolean onJsPrompt(WebView view, String url, String message, String defaultValue, 233 public boolean onCreateWindow(WebView view, boolean dialog, boolean userGesture, 235 WebView.WebViewTransport transport = (WebView.WebViewTransport)resultMsg.obj; [all …]
|
D | CrashedDummyResult.java | 21 import android.webkit.WebView; 89 public void obtainActualResults(WebView webview, Message resultObtainedMsg) { in obtainActualResults()
|
D | EventSender.java | 19 import android.webkit.WebView; 31 public void reset(WebView webView) { in reset()
|
D | TestsListActivity.java | 30 import android.webkit.WebView; 139 WebView webView = new WebView(this); in onEverythingFinishedIntent()
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
D | WebView.java | 37 public class WebView extends MockView { class 43 public WebView(Context context) { in WebView() method in WebView 52 public WebView(Context context, AttributeSet attrs) { in WebView() method in WebView 62 public WebView(Context context, AttributeSet attrs, int defStyle) { in WebView() method in WebView
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ListWithMailMessages.java | 31 import android.webkit.WebView; 139 WebView body = (WebView) messageUi.findViewById(R.id.body); in getView()
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
D | ProfileActivity.java | 30 import android.webkit.WebView; 118 public boolean shouldOverrideUrlLoading(WebView view, String url) { in shouldOverrideUrlLoading() 123 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted() 132 public void onPageFinished(WebView view, String url) { in onPageFinished() 140 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted()
|