Lines Matching refs:WebView
102 import android.webkit.WebView;
338 WebView webView = t.getWebView();
342 webView.setInitialScale(scale);
347 loadUrl(webView, mSettings.getHomePage());
479 // Since we might kill the WebView, remove it from the
482 // Recreate the main WebView after destroying the old one.
483 // If the WebView has the same original url and is on that
626 /* Append mimetype so webview knows how to display */
746 WebView.enablePlatformNotifications();
750 * Since the actual title bar is embedded in the WebView, and removing it
813 WebView mainView = mTabControl.getCurrentWebView();
814 // if there is no current WebView, don't show the faked title bar;
819 // at least a main WebView, or we would have returned above.
862 WebView mainView = mTabControl.getCurrentWebView();
944 WebView.disablePlatformNotifications();
1032 WebView w = tab.getWebView();
1044 WebView w = mTabControl.getCurrentWebView();
1076 WebView getTopWindow() {
1127 WebView mainView = currentTab.getWebView();
1141 final WebView webView = getTopWindow();
1142 if (null == webView) {
1147 hrefMap.put("webview", webView);
1150 webView.requestFocusNodeHref(msg);
1268 private WebView showDialog(WebDialog dialog) {
1271 // If the find or select is being performed on the main webview,
1273 WebView mainView = tab.getWebView();
1326 WebView w = getTopWindow();
1482 // If the Find was being performed in the main WebView, replace the
1486 WebView mainView = currentTab.getWebView();
1542 final WebView w = getTopWindow();
1592 WebView webview = (WebView) v;
1593 WebView.HitTestResult result = webview.getHitTestResult();
1599 if (type == WebView.HitTestResult.UNKNOWN_TYPE) {
1604 if (type == WebView.HitTestResult.EDIT_TEXT_TYPE) {
1618 type == WebView.HitTestResult.PHONE_TYPE);
1620 type == WebView.HitTestResult.EMAIL_TYPE);
1622 type == WebView.HitTestResult.GEO_TYPE);
1624 type == WebView.HitTestResult.IMAGE_TYPE
1625 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE);
1627 type == WebView.HitTestResult.SRC_ANCHOR_TYPE
1628 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE);
1632 case WebView.HitTestResult.PHONE_TYPE:
1636 .parse(WebView.SCHEME_TEL + extra)));
1646 case WebView.HitTestResult.EMAIL_TYPE:
1650 .parse(WebView.SCHEME_MAILTO + extra)));
1655 case WebView.HitTestResult.GEO_TYPE:
1659 .parse(WebView.SCHEME_GEO
1665 case WebView.HitTestResult.SRC_ANCHOR_TYPE:
1666 case WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE:
1682 if (type == WebView.HitTestResult.SRC_ANCHOR_TYPE) {
1686 case WebView.HitTestResult.IMAGE_TYPE:
1687 if (type == WebView.HitTestResult.IMAGE_TYPE) {
1708 // Attach the container that contains the main WebView and any other UI
1725 WebView view = t.getWebView();
1736 // Attach a sub window to the main WebView of the given tab.
1744 // Remove the container that contains the main WebView.
1752 WebView view = t.getWebView();
1762 // dismiss the subwindow. This will destroy the WebView.
1782 WebView webview = tab.getWebView();
1811 WebView view = t.getWebView();
1951 WebView current = mTabControl.getCurrentWebView();
1961 private void resetTitleAndIcon(WebView view) {
2058 WebView w = current.getWebView();
2080 // it in onPause() as the WebView won't be valid.
2126 // WebView/WebTextView handle the keys in the KeyDown. As
2127 // the Activity's shortcut keys are only handled when WebView
2165 WebView subwindow = mTabControl.getCurrentSubWindow();
2186 WebView w = getTopWindow();
2190 // WebView's onPageFinished as we never call its onPageStarted and if
2247 WebView view = (WebView) focusNodeMap.get("webview");
2338 WebView view = (WebView) msg.obj;
2376 private void updateScreenshot(WebView view) {
2459 private Bitmap createScreenshot(WebView view) {
2512 void onPageStarted(WebView view, String url, Bitmap favicon) {
2558 void onPageFinished(WebView view, String url) {
2563 // pause the WebView timer and release the wake lock if it is finished
2625 boolean shouldOverrideUrlLoading(WebView view, String url) {
2631 Uri.parse(WebView.SCHEME_TEL +
2706 void onProgressChanged(WebView view, int newProgress) {
2805 * The Object used to inform the WebView of the file to upload.
3035 final WebView view = tab.getWebView();
3044 // Use the cached title and url if this is the current WebView
3196 final WebView view, final SslErrorHandler handler, final SslError error) {
3430 WebView w = mTabControl.getCurrentWebView();
3450 WebView w = getTopWindow();
3475 WebView w = mTabControl.getCurrentWebView();
3558 WebView current = mTabControl.getCurrentWebView();
3595 private void loadUrlFromContext(WebView view, String url) {
3606 * Load the URL into the given WebView and update the title bar
3607 * to reflect the new load. Call this instead of WebView.loadUrl
3609 * @param view The WebView used to load url.
3612 private void loadUrl(WebView view, String url) {
3629 * If the WebView is the top window, update the title bar to reflect
3634 * @param view The WebView that is starting a load.
3637 private void updateTitleBarForNewLoad(WebView view, String url) {
3745 WebView w = mTabControl.getCurrentWebView();
3752 WebView w = mTabControl.getCurrentWebView();
3765 WebView w = mTabControl.getCurrentWebView();
3863 // in WebView, since it takes some time for the information in WebView to
3880 private WebView mSSLCertificateOnErrorView;
3967 * A UrlData class to abstract how the content will be set to WebView.