/cts/tests/src/android/webkit/cts/ |
WebViewStartupStubActivity.java | 25 private WebView mWebView; 33 mWebView = new WebView(this); 34 setContentView(mWebView); 35 return mWebView; 39 return mWebView; 43 if (mWebView != null) { 44 ViewGroup vg = (ViewGroup)mWebView.getParent(); 45 vg.removeView(mWebView); 46 mWebView.destroy();
|
WebViewStubActivity.java | 28 private WebView mWebView; 34 mWebView = (WebView) findViewById(R.id.web_page); 38 return mWebView; 43 ViewParent parent = mWebView.getParent(); 45 ((ViewGroup) parent).removeView(mWebView); 47 mWebView.destroy();
|
CookieSyncManagerStubActivity.java | 25 private WebView mWebView; 32 mWebView = new WebView(this); 33 setContentView(mWebView); 49 return mWebView;
|
WebViewOnUiThread.java | 87 private WebView mWebView; 102 mWebView = webView; 108 mWebView.setWebViewClient(webViewClient); 109 mWebView.setWebChromeClient(webChromeClient); 110 mWebView.setPictureListener(new WaitForNewPicture()); 167 mWebView.setWebViewClient(webViewClient); 176 mWebView.setWebChromeClient(webChromeClient); 185 mWebView.setPictureListener(pictureListener); 194 mWebView.setNetworkAvailable(available); 203 mWebView.setDownloadListener(listener) [all...] |
/frameworks/base/core/java/android/webkit/ |
WebViewFragment.java | 32 private WebView mWebView; 44 if (mWebView != null) { 45 mWebView.destroy(); 47 mWebView = new WebView(getActivity()); 49 return mWebView; 58 mWebView.onPause(); 66 mWebView.onResume(); 85 if (mWebView != null) { 86 mWebView.destroy(); 87 mWebView = null [all...] |
FindActionModeCallback.java | 44 private WebView mWebView; 97 mWebView = webView; 98 mWebView.setFindDialogFindListener(this); 115 if (mWebView == null) { 128 mWebView.findNext(next); 133 * Highlight all the instances of the string from mEditText in mWebView. 136 if (mWebView == null) { 142 mWebView.clearMatches(); 145 mWebView.findAll(null); 150 mWebView.findAllAsync(find.toString()) [all...] |
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
WebViewStubActivity.java | 26 private WebView mWebView; 32 mWebView = (WebView) findViewById(R.id.web_page); 36 return mWebView;
|
/cts/tests/src/android/text/ |
EmojiStubActivity.java | 26 private WebView mWebView; 32 mWebView = (WebView) findViewById(R.id.web_page); 36 return mWebView; 41 mWebView.destroy();
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
ArticleFragment.java | 31 WebView mWebView; 46 mWebView = new WebView(getActivity()); 48 return mWebView; 68 if (mWebView != null) { 69 mWebView.loadData(mNewsArticle == null ? "" : mNewsArticle.getBody(), "text/html",
|
/external/chromium_org/chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/ |
Main.java | 20 private WebView mWebView; 30 mWebView = (WebView) findViewById(R.id.webview); 31 WebSettings webSettings = mWebView.getSettings(); 35 mWebView.setWebChromeClient(new WebChromeClient() { 40 mWebView.setWebViewClient(new WebViewClient() { 58 mWebView.loadUrl(intent.getDataString());
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PrintHtmlOffScreen.java | 49 private WebView mWebView; 76 mWebView = new WebView(this); 79 mWebView.setWebViewClient(new WebViewClient() { 87 mWebView.loadUrl("file:///android_res/raw/motogp_stats.html"); 98 mWebView.createPrintDocumentAdapter(); 124 mWebView.destroy(); 125 mWebView = null;
|
PrintHtmlFromScreen.java | 44 private WebView mWebView; 52 mWebView = (WebView) findViewById(R.id.web_view); 55 mWebView.setWebViewClient(new WebViewClient() { 65 mWebView.loadUrl("file:///android_res/raw/motogp_stats.html"); 91 printManager.print("MotoGP stats", mWebView.createPrintDocumentAdapter(), null);
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
HTMLViewerActivity.java | 52 private WebView mWebView; 76 mWebView = new WebView(this); 77 setContentView(mWebView); 80 mWebView.setWebChromeClient( new WebChrome() ); 83 WebSettings s = mWebView.getSettings(); 97 mWebView.restoreState(savedInstanceState); 106 mWebView.loadUrl(contentUri); 124 mWebView.saveState(outState); 137 mWebView.destroy();
|
/packages/apps/Settings/src/com/android/settings/ |
SettingsSafetyLegalActivity.java | 41 private WebView mWebView; 59 mWebView = new WebView(this); 62 mWebView.getSettings().setJavaScriptEnabled(true); 64 mWebView.loadUrl(userSafetylegalUrl); 66 mWebView.restoreState(savedInstanceState); 68 mWebView.setWebViewClient(new WebViewClient() { 84 p.mView = mWebView; 121 if (mWebView.canGoBack()) { 122 mWebView.goBack(); 139 mWebView.saveState(icicle) [all...] |
SettingsLicenseActivity.java | 54 private WebView mWebView; 125 mWebView = null; 145 mWebView = new WebView(this); 189 .setView(mWebView) 201 mWebView.loadDataWithBaseURL(null, text, "text/html", "utf-8", null); 202 mWebView.setWebViewClient(new WebViewClient() { 212 mWebView = null;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationViewFragment.java | 124 protected ConversationWebView mWebView; 199 mWebView.onRenderComplete(); 280 mWebView.setOnCreateContextMenuListener(new WebViewContextMenu(getActivity())); 352 mWebView = (ConversationWebView) mConversationContainer.findViewById(R.id.webview); 354 mWebView.addJavascriptInterface(mJsBridge, "mail"); 367 mWebView.setUseSoftwareLayer(!isJBOrLater); 369 mWebView.onUserVisibilityChanged(isUserVisible); 370 mWebView.setWebViewClient(mWebViewClient); 380 mWebView.setWebChromeClient(wcc); 382 final WebSettings settings = mWebView.getSettings() [all...] |
SecureConversationViewController.java | 56 private MessageWebView mWebView; 95 mWebView = (MessageWebView) rootView.findViewById(R.id.webview); 96 mWebView.setOverScrollMode(View.OVER_SCROLL_NEVER); 97 mWebView.setWebViewClient(mCallbacks.getWebViewClient()); 98 mWebView.setFocusable(false); 99 final WebSettings settings = mWebView.getSettings(); 110 mScrollView.setInnerScrollableView(mWebView); 150 mWebView.getSettings().setBlockNetworkImage(!mMessage.alwaysShowImages); 159 mWebView.loadDataWithBaseURL(mCallbacks.getBaseUri(), dataBuilder.toString(), 208 mWebView.getSettings().setBlockNetworkImage(false) [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewTest.java | 114 private WebView mWebView; 133 mWebView = activity.getWebView(); 138 mOnUiThread = new WebViewOnUiThread(this, mWebView); 202 WebSettings settings = mWebView.getSettings(); 204 View zoomControls = mWebView.getZoomControls(); 210 assertNull(mWebView.getZoomControls()); 215 WebSettings settings = mWebView.getSettings(); 220 mWebView.invokeZoomPicker(); 309 mWebView.setScrollBarStyle(View.SCROLLBARS_INSIDE_INSET); 310 assertFalse(mWebView.overlayHorizontalScrollbar()) [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
FontSizePreview.java | 58 if (mWebView == null) return; 60 WebSettings ws = mWebView.getSettings(); 64 mWebView.loadDataWithBaseURL(null, mHtml, "text/html", "utf-8", null);
|
WebViewPreview.java | 34 protected WebView mWebView; 79 mWebView = (WebView) view.findViewById(R.id.webview);
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
WebViewContentsClientAdapter.java | 89 private final WebView mWebView; 115 mWebView = webView; 126 if (newWebView == mWebView) { 138 WebViewChromium.completeWindowCreation(mWebView, newWebView); 254 mWebViewClient.doUpdateVisitedHistory(mWebView, url, isReload); 266 mWebChromeClient.onProgressChanged(mWebView, progress); 278 WebResourceResponse response = mWebViewClient.shouldInterceptRequest(mWebView, url); 294 boolean result = mWebViewClient.shouldOverrideUrlLoading(mWebView, url); 306 mWebViewClient.onUnhandledKeyEvent(mWebView, event); 352 mPictureListener.onNewPicture(mWebView, picture) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
GoogleAccountLogin.java | 61 private final WebView mWebView; 76 mWebView = new WebView(mActivity); 78 mUserAgent = mWebView.getSettings().getUserAgentString(); 84 WebViewTimersControl.getInstance().onBrowserActivityResume(mWebView); 86 mWebView.setWebViewClient(new WebViewClient() { 167 mWebView.loadUrl(newUrl); 283 mWebView.destroy();
|
DeviceAccountLogin.java | 31 private final WebView mWebView; 53 mWebView = view; 90 mWebView.loadUrl(result);
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader5.java | 44 private WebView mWebView; 59 mWebView = (WebView)findViewById(R.id.rssWebView); 98 mWebView.loadData(content, "text/html", null); 103 mWebView.loadData("<html><body><p>No selection chosen</p></body></html>", "text/html", null);
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
LookupActivity.java | 58 private WebView mWebView; 101 mWebView = (WebView) findViewById(R.id.webview); 104 mWebView.setBackgroundColor(0); 254 mWebView.loadDataWithBaseURL(ExtendedWikiHelper.WIKI_AUTHORITY, entryContent,
|