/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | ImageDownloader.java | 97 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 …]
|
D | UrlImageBinder.java | 40 final String url = mTransformation.transform(cursor, columnIndex); in bind() local 41 imageDownloader.download(url, (ImageView) view); in bind()
|
D | UrlIntentListener.java | 33 final String url = view.getTag().toString(); in onItemClick() local 34 final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); in onItemClick()
|
D | XmlDocumentProvider.java | 179 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/ |
D | RssItem.java | 23 public String url; field in RssItem 29 public RssItem(String url, String title){ in RssItem() argument 30 this.url = url; in RssItem()
|
D | RssService.java | 150 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()
|
D | AddRssItem.java | 39 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/ |
D | chewie.py | 20 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/ |
D | BitmapHelper.java | 62 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/ |
D | ConnectivityTest.java | 60 URL url = new URL(URL_NAME); in testConnectionCreation() local 62 URLConnection connection = url.openConnection(); in testConnectionCreation()
|
/development/samples/RSSReader/src/com/example/android/rssreader/ |
D | RssReader.java | 299 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/ |
D | SimpleWikiHelper.java | 169 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/ |
D | SimpleWikiHelper.java | 176 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/ |
D | MainActivity.java | 142 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/ |
D | NetworkActivity.java | 220 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/ |
D | PrintHtmlFromScreen.java | 57 public void onPageFinished(WebView view, String url) { in onCreate()
|
D | PrintHtmlOffScreen.java | 81 public void onPageFinished(WebView view, String url) { in print()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | ImageFetcher.java | 273 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/ |
D | MusicProvider.java | 272 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/ |
D | NetworkUtilities.java | 236 URL url = new URL(avatarUrl); in downloadAvatar() local 237 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in downloadAvatar()
|
/development/build/tools/ |
D | mk_sdk_repo_xml.sh | 438 <sdk:url>$DST</sdk:url>
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 296 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/ |
D | Connectivity.java | 579 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()
|