Searched refs:WebView (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DWebViewStubActivity.java23 import android.webkit.WebView;
26 private WebView mWebView;
32 mWebView = (WebView) findViewById(R.id.web_page);
35 public WebView getWebView() {
H A DJavaBridgeTestBase.java18 * Common functionality for testing the WebView's Java Bridge.
25 import android.webkit.WebView;
34 public synchronized void onPageFinished(WebView webView, String url) {
81 // Sets up the WebView and injects the supplied object. Intended to be called from setUp().
92 WebView webView = activity.getWebView();
101 throw new RuntimeException("Failed to set up WebView: " + Log.getStackTraceString(e));
119 protected WebView getWebView() {
/frameworks/base/core/java/android/webkit/
H A DWebViewClient.java29 * url is about to be loaded in the current WebView. If WebViewClient is not
30 * provided, by default WebView will ask Activity Manager to choose the
33 * current WebView handles the url.
35 * @param view The WebView that is initiating the callback.
37 * @return True if the host application wants to leave the current WebView
40 public boolean shouldOverrideUrlLoading(WebView view, String url) {
51 * @param view The WebView that is initiating the callback.
56 public void onPageStarted(WebView view, String url, Bitmap favicon) {
63 * new Picture, use {@link WebView.PictureListener#onNewPicture}.
65 * @param view The WebView tha
[all...]
H A DWebViewClientClassicExt.java23 * These are not part of the public WebView API, so the class is hidden.
30 * resource, but the WebView chose to proceed anyway based on a
33 public void onProceededAfterSslError(WebView view, SslError error) {
44 * @param view The WebView that is initiating the callback.
49 public void onReceivedClientCertRequest(WebView view,
H A DWebViewFragment.java24 import android.webkit.WebView;
27 * A fragment that displays a WebView.
29 * The WebView is automically paused or resumed when the Fragment is paused or resumed.
32 private WebView mWebView;
39 * Called to instantiate the view. Creates and returns the WebView.
47 mWebView = new WebView(getActivity());
53 * Called when the fragment is visible to the user and actively running. Resumes the WebView.
62 * Called when the fragment is no longer resumed. Pauses the WebView.
71 * Called when the WebView has been detached from the fragment.
72 * The WebView i
[all...]
H A DWebChromeClient.java29 * @param view The WebView that initiated the callback.
33 public void onProgressChanged(WebView view, int newProgress) {}
37 * @param view The WebView that initiated the callback.
40 public void onReceivedTitle(WebView view, String title) {}
44 * @param view The WebView that initiated the callback.
47 public void onReceivedIcon(WebView view, Bitmap icon) {}
51 * @param view The WebView that initiated the callback.
55 public void onReceivedTouchIconUrl(WebView view, String url,
100 * this method, create a new WebView to host the window, insert it into the
102 * the new WebView a
[all...]
H A DWebViewFactoryProvider.java22 * This is the main entry-point into the WebView back end implementations, which the WebView
24 * implementation of this interface, and make it available to the WebView via mechanism TBD.
29 * This Interface provides glue for implementing the backend of WebView static methods which
35 * {@link android.webkit.WebView#findAddress(String)}
41 * {@link android.webkit.WebView#enablePlatformNotifications()}
42 * {@link android.webkit.WebView#disablePlatformNotifications()}
57 * @param webView the WebView instance bound to this implementation instance. Note it will not
60 * @param privateAccess provides access into WebView internal methods.
62 WebViewProvider createWebView(WebView webVie
[all...]
H A DWebView.java61 * in a WebView, you must add the {@code INTERNET} permissions to your
70 * <a href="{@docRoot}guide/webapps/webview.html">Building Web Apps in WebView</a>.</p>
74 * <p>By default, a WebView provides no browser-like widgets, does not
81 * with a WebView. For example:
89 * <p>To provide a WebView in your own Activity, include a {@code <WebView>} in your layout,
90 * or set the entire Activity window as a WebView during {@link
93 * WebView webview = new WebView(this);
111 * <p>A WebView ha
262 public class WebView extends AbsoluteLayout class in inherits:AbsoluteLayout,ViewTreeObserver.OnGlobalFocusChangeListener,ViewGroup.OnHierarchyChangeListener,ViewDebug.HierarchyHandler
439 public WebView(Context context) { method in class:WebView
449 public WebView(Context context, AttributeSet attrs) { method in class:WebView
460 public WebView(Context context, AttributeSet attrs, int defStyle) { method in class:WebView
479 public WebView(Context context, AttributeSet attrs, int defStyle, method in class:WebView
502 protected WebView(Context context, AttributeSet attrs, int defStyle, method in class:WebView
[all...]
/frameworks/base/core/tests/coretests/src/android/webkit/
H A DAccessibilityInjectorTestActivity.java26 private WebView mWebView;
32 mWebView = (WebView) findViewById(R.id.webview);
35 public WebView getWebView() {
H A DAccessibilityInjectorTest.java36 * which is used by {@link WebView} to provide basic accessibility support
94 /** Handle to the {@link WebView} to load data in. */
95 private WebView mWebView;
157 WebView webView = loadHTML(html);
252 WebView webView = loadHTML(html);
379 WebView webView = loadHTML(html);
482 WebView webView = loadHTML(html);
570 WebView webView = loadHTML(html);
642 WebView webView = loadHTML(html);
700 WebView webVie
[all...]
H A DZoomManagerTest.java26 WebView webView = new WebView(this.getContext());
/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DWebViewContextMenu.java36 import android.webkit.WebView;
148 WebView webview = (WebView) v;
149 WebView.HitTestResult result = webview.getHitTestResult();
156 case WebView.HitTestResult.UNKNOWN_TYPE:
157 case WebView.HitTestResult.EDIT_TEXT_TYPE:
182 type == WebView.HitTestResult.PHONE_TYPE);
184 type == WebView.HitTestResult.EMAIL_TYPE);
186 type == WebView.HitTestResult.GEO_TYPE);
188 type == WebView
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DReliabilityTestActivity.java33 import android.webkit.WebView;
52 private WebView webView;
77 webView = new WebView(this);
200 public void onReceivedError(WebView view, int errorCode, String description,
208 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
215 public void onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host,
222 public void onPageStarted(WebView view, String url, Bitmap favicon) {
228 public void onPageFinished(WebView view, String url) {
241 public boolean onJsAlert(WebView view, String url, String message, JsResult result) {
247 public boolean onJsBeforeUnload(WebView vie
[all...]
H A DTestShellActivity.java47 import android.webkit.WebView;
90 Log.v(LOGTAG, "Received WebView dump data");
95 throw new RuntimeException("WebView dump timeout, is it pegged?");
109 Log.v(LOGTAG, "message sent to WebView to dump text.");
145 mWebView = new WebView(this);
160 // WebView::setJsFlags is noop in JSC build.
568 // TODO: We should look up the correct WebView for the frame which
570 // WebView for the main frame. EventSender suffers from the same
590 public void onPageFinished(WebView view, String url) {
621 public void onPageStarted(WebView vie
[all...]
H A DWebViewEventSender.java23 import android.webkit.WebView;
32 WebViewEventSender(WebView webView) {
367 private WebView mWebView = null;
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java30 * Mock version of the WebView.
31 * Only non override public methods from the real WebView have been added in there.
37 public class WebView extends MockView { class in inherits:MockView
40 * Construct a new WebView with a Context object.
43 public WebView(Context context) { method in class:WebView
48 * Construct a new WebView with layout parameters.
52 public WebView(Context context, AttributeSet attrs) { method in class:WebView
57 * Construct a new WebView with layout parameters and a default style.
62 public WebView(Context context, AttributeSet attrs, int defStyle) { method in class:WebView
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DCrashedDummyResult.java21 import android.webkit.WebView;
89 public void obtainActualResults(WebView webview, Message resultObtainedMsg) {
H A DEventSender.java19 import android.webkit.WebView;
31 public void reset(WebView webView) {
H A DLayoutTestsExecutor.java47 import android.webkit.WebView;
58 * This activity executes the test. It contains WebView and logic of LayoutTestController
100 private WebView mCurrentWebView;
157 public void onPageFinished(WebView view, String url) {
169 public void onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler,
182 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
204 public boolean onJsAlert(WebView view, String url, String message, JsResult result) {
211 public boolean onJsConfirm(WebView view, String url, String message, JsResult result) {
218 public boolean onJsPrompt(WebView view, String url, String message, String defaultValue,
232 public boolean onCreateWindow(WebView vie
[all...]
H A DTestsListActivity.java30 import android.webkit.WebView;
139 WebView webView = new WebView(this);
H A DAbstractResult.java22 import android.webkit.WebView;
153 public abstract void obtainActualResults(WebView webview, Message resultObtainedMsg);
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java28 import android.webkit.WebView;
45 private WebView webView;
73 webView = new WebView(this);
202 public void onReceivedError(WebView view, int errorCode, String description,
211 public void onPageStarted(WebView view, String url, Bitmap favicon) {
217 public void onPageFinished(WebView view, String url) {
239 public void onReceivedTitle(WebView view, String title) {
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListWithMailMessages.java31 import android.webkit.WebView;
138 WebView body = (WebView) messageUi.findViewById(R.id.body);
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DProfileActivity.java31 import android.webkit.WebView;
122 public boolean shouldOverrideUrlLoading(WebView view, String url) {
127 public void onPageStarted(WebView view, String url, Bitmap favicon) {
133 public void onPageFinished(WebView view, String url) {
142 public void onPageFinished(WebView view, String url) {
148 public void onPageStarted(WebView view, String url, Bitmap favicon) {
156 public void onPageFinished(WebView view, String url) {
174 public void onPageStarted(WebView view, String url, Bitmap favicon) {
307 // Custom profiling WebView
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java31 import android.webkit.WebView;
54 * o Presents a WebView screen to users. This WebView has a list of HTML links to the latest
62 * to refresh the WebView content.
161 WebView myWebView = (WebView) findViewById(R.id.webview);
207 // Displays the HTML string in the UI via a WebView
208 WebView myWebView = (WebView) findViewById(R.id.webview);

Completed in 299 milliseconds

12