Searched refs:mWebView (Results 1 – 8 of 8) sorted by relevance
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | ArticleFragment.java | 31 WebView mWebView; field in ArticleFragment 46 mWebView = new WebView(getActivity()); in onCreateView() 48 return mWebView; in onCreateView() 68 if (mWebView != null) { in loadWebView() 69 mWebView.loadData(mNewsArticle == null ? "" : mNewsArticle.getBody(), "text/html", in loadWebView()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PrintHtmlOffScreen.java | 49 private WebView mWebView; field in PrintHtmlOffScreen 76 mWebView = new WebView(this); in print() 79 mWebView.setWebViewClient(new WebViewClient() { in print() 87 mWebView.loadUrl("file:///android_res/raw/motogp_stats.html"); in print() 98 mWebView.createPrintDocumentAdapter(); in doPrint() 124 mWebView.destroy(); in doPrint() 125 mWebView = null; in doPrint()
|
D | PrintHtmlFromScreen.java | 44 private WebView mWebView; field in PrintHtmlFromScreen 52 mWebView = (WebView) findViewById(R.id.web_view); in onCreate() 55 mWebView.setWebViewClient(new WebViewClient() { in onCreate() 65 mWebView.loadUrl("file:///android_res/raw/motogp_stats.html"); in onCreate() 91 printManager.print("MotoGP stats", mWebView.createPrintDocumentAdapter(), null); in print()
|
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | PermissionRequestFragment.java | 60 private WebView mWebView; field in PermissionRequestFragment 81 mWebView = (WebView) view.findViewById(R.id.web_view); in onViewCreated() 83 mWebView.setWebChromeClient(mWebChromeClient); in onViewCreated() 84 configureWebSettings(mWebView.getSettings()); in onViewCreated() 99 mWebView.loadUrl("http://localhost:" + port + "/sample.html"); in onResume() 118 } else if (mWebView != null && mWebServer != null) { in onRequestPermissionsResult() 119 mWebView.loadUrl("http://localhost:" + mWebServer.getPort() + "/sample.html"); in onRequestPermissionsResult()
|
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/ |
D | MainActivity.java | 46 private WebView mWebView; field in MainActivity 91 mWebView = (WebView) findViewById(R.id.commit_content_webview); in onCreate() 121 mWebView.loadUrl("about:blank"); in onCommitContent() 159 mWebView.loadUrl(inputContentInfo.getContentUri().toString()); in onCommitContentInternal() 160 mWebView.setBackgroundColor(Color.TRANSPARENT); in onCommitContentInternal()
|
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/ |
D | DumpActivity.java | 77 private WebView mWebView; field in DumpActivity 172 mWebView = findViewById(R.id.webview); in onCreate() 173 mWebView.getSettings().setBuiltInZoomControls(true); in onCreate() 174 mWebView.getSettings().setLoadWithOverviewMode(true); in onCreate() 223 mWebView.setWebViewClient(new WebViewClient() { in onCreate() 412 mWebView.loadData(sb.toString(), "text/html", null); in setText() 432 mWebView.pageDown(true /* toBottom */); in onContentLoaded() 434 mWebView.pageUp(true /* toTop */); in onContentLoaded() 480 mWebView.findNext(next); in doFindNextOrPrev() 482 mWebView.findAllAsync(query); in doFindNextOrPrev()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | MyRssReader5.java | 44 private WebView mWebView; field in MyRssReader5 59 mWebView = (WebView)findViewById(R.id.rssWebView); in onCreate() 98 mWebView.loadData(content, "text/html", null); in onItemSelected() 103 … mWebView.loadData("<html><body><p>No selection chosen</p></body></html>", "text/html", null); in onNothingSelected()
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
D | LookupActivity.java | 58 private WebView mWebView; field in LookupActivity 101 mWebView = (WebView) findViewById(R.id.webview); in onCreate() 104 mWebView.setBackgroundColor(0); in onCreate() 254 mWebView.loadDataWithBaseURL(ExtendedWikiHelper.WIKI_AUTHORITY, entryContent, in setEntryContent()
|