Home
last modified time | relevance | path

Searched refs:url (Results 1 – 23 of 23) sorted by relevance

/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java97 public void download(String url, ImageView imageView) { in download() argument
98 download(url, imageView, null); in download()
109 public void download(String url, ImageView imageView, String cookie) { in download() argument
111 Bitmap bitmap = getBitmapFromCache(url); in download()
114 forceDownload(url, imageView, cookie); in download()
116 cancelPotentialDownload(url, imageView); in download()
133 private void forceDownload(String url, ImageView imageView, String cookie) { in forceDownload() argument
135 if (url == null) { in forceDownload()
140 if (cancelPotentialDownload(url, imageView)) { in forceDownload()
144 task.execute(url, cookie); in forceDownload()
[all …]
DUrlImageBinder.java40 final String url = mTransformation.transform(cursor, columnIndex); in bind() local
41 imageDownloader.download(url, (ImageView) view); in bind()
DUrlIntentListener.java33 final String url = view.getTag().toString(); in onItemClick() local
34 final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); in onItemClick()
DXmlDocumentProvider.java179 final String url = uri.getQueryParameter("url"); in query() local
180 if (url != null) { in query()
181 parser = getUriXmlPullParser(url); in query()
215 protected XmlPullParser getUriXmlPullParser(String url) { in getUriXmlPullParser() argument
228 final HttpGet get = new HttpGet(url); in getUriXmlPullParser()
238 Log.w(LOG_TAG, "Error while retrieving XML file " + url, e); in getUriXmlPullParser()
245 Log.w(LOG_TAG, "Error while reading XML file from " + url, e); in getUriXmlPullParser()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssItem.java23 public String url; field in RssItem
29 public RssItem(String url, String title){ in RssItem() argument
30 this.url = url; in RssItem()
DRssService.java150 String url = mCur.getString(urlColumnIndex); in queryRssItems() local
151 queryItem(url); in queryRssItems()
162 private boolean queryItem(String url) { in queryItem() argument
164 URL wrappedUrl = new URL(url); in queryItem()
166 mLogger.info("RSS Feed " + url + ":\n " + rssFeed); in queryItem()
223 String readRss(URL url){ in readRss() argument
226 mLogger.info("URL is:" + url.toString()); in readRss()
228 new BufferedReader(new InputStreamReader(url.openStream()), in readRss()
DAddRssItem.java39 String url = ((TextView) findViewById(R.id.url_textbox)).getText().toString();
40 if(TextUtils.isEmpty(title) || TextUtils.isEmpty(url)){
49 res.putExtra(RssContentProvider.URL, url);
/development/tools/axl/
Dchewie.py20 def add(self, url, time): argument
21 self.queue.append([url, time])
23 def get(self, url): argument
26 if rec[0] == url:
94 time, url = x[0], x[3]
95 queued.add(url, time)
102 time, thread, url = x[0], x[1], x[3]
104 qtime = queued.get(url)
105 record = [thread, qtime, opentime, time, None, None, None, url, host, connection]
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DBitmapHelper.java62 URL url = new URL(uri); in fetchAndRescaleBitmap() local
63 HttpURLConnection httpConnection = (HttpURLConnection) url.openConnection(); in fetchAndRescaleBitmap()
69 httpConnection = (HttpURLConnection) url.openConnection(); in fetchAndRescaleBitmap()
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/connectivity/
DConnectivityTest.java60 URL url = new URL(URL_NAME); in testConnectionCreation() local
62 URLConnection connection = url.openConnection(); in testConnectionCreation()
/development/samples/RSSReader/src/com/example/android/rssreader/
DRssReader.java299 public RSSWorker(CharSequence url) { in RSSWorker() argument
300 mUrl = url; in RSSWorker()
308 URL url = new URL(mUrl.toString()); in run() local
309 URLConnection connection = url.openConnection(); in run()
373 RSSMenu(CharSequence url) { in RSSMenu() argument
374 mUrl = url; in RSSMenu()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java169 protected static synchronized String getUrlContent(String url) throws ApiException { in getUrlContent() argument
176 HttpGet request = new HttpGet(url); in getUrlContent()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java176 protected static synchronized String getUrlContent(String url) throws ApiException { in getUrlContent() argument
183 HttpGet request = new HttpGet(url); in getUrlContent()
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DMainActivity.java142 URL url = new URL(urlString); in downloadUrl() local
143 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in downloadUrl()
/development/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java220 String url = null; in loadXmlFromNetwork() local
266 URL url = new URL(urlString); in downloadUrl() local
267 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in downloadUrl()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPrintHtmlFromScreen.java57 public void onPageFinished(WebView view, String url) { in onCreate()
DPrintHtmlOffScreen.java81 public void onPageFinished(WebView view, String url) { in print()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageFetcher.java273 final URL url = new URL(urlString); in downloadUrlToStream() local
274 urlConnection = (HttpURLConnection) url.openConnection(); in downloadUrlToStream()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java272 java.net.URL url = new java.net.URL(urlString); in parseUrl() local
273 URLConnection urlConnection = url.openConnection(); in parseUrl()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DNetworkUtilities.java236 URL url = new URL(avatarUrl); in downloadAvatar() local
237 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in downloadAvatar()
/development/build/tools/
Dmk_sdk_repo_xml.sh438 <sdk:url>$DST</sdk:url>
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
DSyncAdapter.java296 private InputStream downloadUrl(final URL url) throws IOException { in downloadUrl() argument
297 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in downloadUrl()
/development/apps/Development/src/com/android/development/
DConnectivity.java579 String url = "www.google.com"; in onRoutedRequest() local
583 inetAddress = InetAddress.getByName(url); in onRoutedRequest()
585 Log.e(TAG, "error fetching address for " + url); in onRoutedRequest()
596 HttpGet get = new HttpGet("http://" + url); in onRoutedRequest()