Home
last modified time | relevance | path

Searched refs:WebView (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/core/java/android/webkit/
DWebViewClient.java39 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 …]
DWebChromeClient.java33 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 …]
DWebViewFragment.java24 import android.webkit.WebView;
32 private WebView mWebView;
47 mWebView = new WebView(getActivity()); in onCreateView()
95 public WebView getWebView() { in getWebView()
DWebViewCore.java76 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 …]
DJWebCoreJavaBridge.java48 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()
DPluginFullScreenHolder.java38 private final WebView mWebView;
47 PluginFullScreenHolder(WebView webView, int orientation, int npp) { in PluginFullScreenHolder()
137 mWebView.mPrivateHandler.obtainMessage(WebView.HIDE_FULLSCREEN)
DViewStateSerializer.java37 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/
Dwebview.jd1 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 …]
Ddebugging.jd9 <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);
Dindex.jd8 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/
DReliabilityTestActivity.java33 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 …]
DTestShellActivity.java50 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/
Dhello-webview.jd1 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 &lt;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/
Dhello-webview.jd6 <p>{@link android.webkit.WebView} allows you to create your own window for viewing web pages (or ev…
15 &lt;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/
DAccessibilityInjectorTestActivity.java26 private WebView mWebView;
32 mWebView = (WebView) findViewById(R.id.webview); in onCreate()
35 public WebView getWebView() { in getWebView()
DAccessibilityInjectorTest.java95 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/
Dusing-webviews.jd11 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/
DPowerTestActivity.java28 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/
DLayoutTestsExecutor.java46 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 …]
DCrashedDummyResult.java21 import android.webkit.WebView;
89 public void obtainActualResults(WebView webview, Message resultObtainedMsg) { in obtainActualResults()
DEventSender.java19 import android.webkit.WebView;
31 public void reset(WebView webView) { in reset()
DTestsListActivity.java30 import android.webkit.WebView;
139 WebView webView = new WebView(this); in onEverythingFinishedIntent()
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
DWebView.java37 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/
DListWithMailMessages.java31 import android.webkit.WebView;
139 WebView body = (WebView) messageUi.findViewById(R.id.body); in getView()
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
DProfileActivity.java30 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()

123