Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/webkit/
DWebViewClient.java41 public boolean shouldOverrideUrlLoading(WebView view, String url) { in shouldOverrideUrlLoading()
57 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted()
69 public void onPageFinished(WebView view, String url) { in onPageFinished()
79 public void onLoadResource(WebView view, String url) { in onLoadResource()
97 public WebResourceResponse shouldInterceptRequest(WebView view, in shouldInterceptRequest()
115 public void onTooManyRedirects(WebView view, Message cancelMsg, in onTooManyRedirects()
161 public void onReceivedError(WebView view, int errorCode, in onReceivedError()
174 public void onFormResubmission(WebView view, Message dontResend, in onFormResubmission()
186 public void doUpdateVisitedHistory(WebView view, String url, in doUpdateVisitedHistory()
202 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()
128 public boolean onCreateWindow(WebView view, boolean isDialog, in onCreateWindow()
139 public void onRequestFocus(WebView view) {} in onRequestFocus()
148 public void onCloseWindow(WebView window) {} in onCloseWindow()
160 public boolean onJsAlert(WebView view, String url, String message, in onJsAlert()
178 public boolean onJsConfirm(WebView view, String url, String message, in onJsConfirm()
197 public boolean onJsPrompt(WebView view, String url, String message, in onJsPrompt()
[all …]
DWebView.java249 public class WebView extends AbsoluteLayout class
264 private WebView mWebview;
271 public synchronized void setWebView(WebView webview) { in setWebView()
280 public synchronized WebView getWebView() { in getWebView()
335 public void onNewPicture(WebView view, Picture picture); in onNewPicture()
433 public WebView(Context context) { in WebView() method in WebView
443 public WebView(Context context, AttributeSet attrs) { in WebView() method in WebView
454 public WebView(Context context, AttributeSet attrs, int defStyle) { in WebView() method in WebView
473 public WebView(Context context, AttributeSet attrs, int defStyle, in WebView() method in WebView
496 protected WebView(Context context, AttributeSet attrs, int defStyle, in WebView() method in WebView
[all …]
DWebViewFragment.java24 import android.webkit.WebView;
32 private WebView mWebView;
47 mWebView = new WebView(getActivity()); in onCreateView()
95 public WebView getWebView() { in getWebView()
DWebViewFactoryProvider.java73 WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess); in createWebView()
DFindActionModeCallback.java40 View.OnClickListener, WebView.FindListener {
44 private WebView mWebView;
92 public void setWebView(WebView webView) { in setWebView()
DWebViewProvider.java39 import android.webkit.WebView.HitTestResult;
40 import android.webkit.WebView.PictureListener;
202 public void setFindListener(WebView.FindListener listener); in setFindListener()
/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>
40 you can do it using {@link android.webkit.WebView}. The {@link android.webkit.WebView} class is an
43 browser, such as navigation controls or an address bar. All that {@link android.webkit.WebView}
46 <p>A common scenario in which using {@link android.webkit.WebView} is helpful is when you want to
49 that contains a {@link android.webkit.WebView}, then use that to display your document that's
52 <p>Another scenario in which {@link android.webkit.WebView} can help is if your application provides
[all …]
Dmigrating.jd1 page.title=Migrating to WebView in Android 4.4
42 <p>Android 4.4 (API level 19) introduces a new version of {@link android.webkit.WebView} that is
44 {@link android.webkit.WebView} performance and standards support for HTML5, CSS3, and JavaScript
45 to match the latest web browsers. Any apps using {@link android.webkit.WebView} will inherit these
49 to {@link android.webkit.WebView} that you should be aware of if you set your
55 targetSdkVersion}</a> is set to "18" or lower, {@link android.webkit.WebView} operates in
67 {@link android.webkit.WebView} in Android 4.4, you can enable remote debugging through
69 {@link android.webkit.WebView#setWebContentsDebuggingEnabled setWebContentsDebuggingEnabled()}.
70 This new feature in {@link android.webkit.WebView} allows
72 a {@link android.webkit.WebView}. For more information, see <a
[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);
Doverview.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
Dindex.jd3 … sizes and densities, but you can also embed web-based content into your Android app using WebView.
/frameworks/opt/mailcommon/java/com/android/mailcommon/
DWebViewContextMenu.java36 import android.webkit.WebView;
148 WebView webview = (WebView) v; in onCreateContextMenu()
149 WebView.HitTestResult result = webview.getHitTestResult(); in onCreateContextMenu()
156 case WebView.HitTestResult.UNKNOWN_TYPE: in onCreateContextMenu()
157 case WebView.HitTestResult.EDIT_TEXT_TYPE: in onCreateContextMenu()
182 type == WebView.HitTestResult.PHONE_TYPE); in onCreateContextMenu()
184 type == WebView.HitTestResult.EMAIL_TYPE); in onCreateContextMenu()
186 type == WebView.HitTestResult.GEO_TYPE); in onCreateContextMenu()
188 type == WebView.HitTestResult.SRC_ANCHOR_TYPE in onCreateContextMenu()
189 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE); in onCreateContextMenu()
[all …]
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
DWebViewStubActivity.java23 import android.webkit.WebView;
26 private WebView mWebView;
32 mWebView = (WebView) findViewById(R.id.web_page); in onCreate()
35 public WebView getWebView() { in getWebView()
DJavaBridgeTestBase.java25 import android.webkit.WebView;
34 public synchronized void onPageFinished(WebView webView, String url) { in onPageFinished()
92 WebView webView = activity.getWebView(); in setUpWebView()
119 protected WebView getWebView() { in getWebView()
/frameworks/base/docs/html/training/printing/
Dhtml-docs.jd27 <p>In Android 4.4 (API level 19), the {@link android.webkit.WebView} class has been updated to
32 use {@link android.webkit.WebView} to print it.</p>
37 <p>Printing an HTML document with {@link android.webkit.WebView} involves loading an HTML
39 string and load it into a {@link android.webkit.WebView} for printing.</p>
42 is not using a {@link android.webkit.WebView}, you can create an instance of the class
48 <li>Load the HTML resource into the {@link android.webkit.WebView} object.</li>
55 private WebView mWebView;
58 // Create a WebView object specifically for printing
59 WebView webView = new WebView(getActivity());
62 public boolean shouldOverrideUrlLoading(WebView view, String url) {
[all …]
/frameworks/webview/chromium/tools/WebViewShell/src/com/android/webview/chromium/shell/
DTelemetryActivity.java22 import android.webkit.WebView;
34 WebView webView = (WebView) findViewById(R.id.webview); in onCreate()
40 public boolean shouldOverrideUrlLoading(WebView webView, String url) { in onCreate()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestActivity.java29 import android.webkit.WebView;
46 private WebView webView;
74 webView = new WebView(this); in onCreate()
203 public void onReceivedError(WebView view, int errorCode, String description, in onReceivedError()
212 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted()
218 public void onPageFinished(WebView view, String url) { in onPageFinished()
240 public void onReceivedTitle(WebView view, String title) { in onReceivedTitle()
/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/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java31 import android.webkit.WebView;
161 WebView myWebView = (WebView) findViewById(R.id.webview); in showErrorPage()
208 WebView myWebView = (WebView) findViewById(R.id.webview); in onPostExecute()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewContentsClientAdapter.java49 import android.webkit.WebView;
89 private final WebView mWebView;
95 private WebView.FindListener mFindListener;
97 private WebView.PictureListener mPictureListener;
110 WebViewContentsClientAdapter(WebView webView) { in WebViewContentsClientAdapter()
124 WebView.WebViewTransport t = (WebView.WebViewTransport) msg.obj; in WebViewContentsClientAdapter()
125 WebView newWebView = t.getWebView(); in WebViewContentsClientAdapter()
155 public boolean shouldOverrideKeyEvent(WebView view, KeyEvent event) { in shouldOverrideKeyEvent()
179 public boolean shouldOverrideUrlLoading(WebView view, String url) { in shouldOverrideUrlLoading()
227 void setFindListener(WebView.FindListener listener) { in setFindListener()
[all …]
DWebViewChromium.java53 import android.webkit.WebView;
126 WebView mWebView;
128 WebView.PrivateAccess mWebViewPrivate;
139 private final WebView.HitTestResult mHitTestResult;
147 public WebViewChromium(WebViewChromiumFactoryProvider factory, WebView webView, in WebViewChromium()
148 WebView.PrivateAccess webViewPrivate) { in WebViewChromium()
151 mHitTestResult = new WebView.HitTestResult(); in WebViewChromium()
157 static void completeWindowCreation(WebView parent, WebView child) { in completeWindowCreation()
858 public WebView.HitTestResult getHitTestResult() {
861 WebView.HitTestResult ret = runOnUiThreadBlocking(
[all …]
DWebViewChromiumFactoryProvider.java31 import android.webkit.WebView;
290 public WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess) { in createWebView()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java31 import android.webkit.WebView;
138 WebView body = (WebView) messageUi.findViewById(R.id.body); in getView()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/
Dproguard-project.txt15 # If your project uses WebView with JS, uncomment the following

123