Home
last modified time | relevance | path

Searched full:url (Results 1 – 25 of 89) sorted by relevance

1234

/development/ide/intellij/moduleDefinitions/
Dtesting.iml5 <content url="file://$MODULE_DIR$/../../../device/dalvik/libcore">
6 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/android/src/main/java" isTes…
7 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/annotation/src/main/java" is…
8 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/apache-commons-logging/src/m…
9 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/apache-commons/src/main/java…
10 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/archive/src/main/java" isTes…
11 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/auth/src/main/java" isTestSo…
12 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/awt/src/main/java" isTestSou…
13 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/beans/src/main/java" isTestS…
14 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/concurrent/src/main/java" is…
[all …]
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Dapp.yaml25 - url: /static
31 - url: /auth
34 - url: /sync
37 - url: /reset_database
43 - url: /
46 - url: /add_contact
49 - url: /edit_contact
52 - url: /delete_contact
55 - url: /avatar
58 - url: /edit_avatar
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java94 * @param url The URL of the image to download.
97 public void download(String url, ImageView imageView) { in download() argument
98 download(url, imageView, null); in download()
105 * @param url The URL of the image to 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()
124 private void forceDownload(String url, ImageView view) {
125 forceDownload(url, view, null);
[all …]
DUrlIntentListener.java27 * A listener which expects a URL as a tag of the view it is associated with. It then opens the URL
33 final String url = view.getTag().toString(); in onItemClick() local
34 final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); in onItemClick()
DUrlImageBinder.java25 * This CursorBinder binds the provided image URL to an ImageView by downloading the image from the
40 final String url = mTransformation.transform(cursor, columnIndex); in bind() local
41 imageDownloader.download(url, (ImageView) view); in bind()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoFragment.java30 import java.net.URL;
44 * Converts the stored URL string to a URL, and then tries to download the picture from that
45 * URL.
48 // If setPhoto() was called to store a URL, proceed in loadPhoto()
54 // Converts the URL string to a valid URL in loadPhoto()
55 URL localURL = new URL(mURLString); in loadPhoto()
58 * setImageURL(url,false,null) attempts to download and decode the picture at in loadPhoto()
59 * at "url" without caching and without providing a Drawable. The result will be in loadPhoto()
64 // Catches an invalid URL format in loadPhoto()
71 * Returns the stored URL string
[all …]
DPhotoView.java31 import java.net.URL;
61 // The URL that points to the source of the image for this ImageView
62 private URL mImageURL;
144 * Returns the URL of the picture associated with this ImageView
145 * @return a URL
147 final URL getLocation() { in getLocation()
180 // Clears out the image drawable, turns off the cache, disconnects the view from a URL in onDetachedFromWindow()
205 * already drawn, and its URL isn't null, it invokes a Thread to download the image. Otherwise,
210 // If the image isn't already drawn, and the URL is set in onDraw()
278 * Attempts to set the picture URL for this ImageView and then download the picture.
[all …]
DRSSPullService.java30 import java.net.URL;
36 * This service pulls RSS content from a web site URL contained in the incoming Intent (see
64 * URL of the web site from which the RSS parser gets data.
68 // Gets a URL to read from the incoming Intent's "data" value in onHandleIntent()
78 // A URL that's local to this method in onHandleIntent()
79 URL localURL; in onHandleIntent()
85 * A block that tries to connect to the Picasa featured picture URL passed as the "data" in onHandleIntent()
90 // Convert the incoming data string to a URL. in onHandleIntent()
91 localURL = new URL(localUrlString); in onHandleIntent()
94 * Tries to open a connection to the URL. If an IO error occurs, this throws an in onHandleIntent()
[all …]
DRSSPullParser.java103 // Creates a new store for image URL data in parseXml()
144 // Defines a place to store the filename of a URL, in parseXml()
150 // Stores the image URL and image name column names as keys in parseXml()
157 // Stores the thumbnail URL and thumbnail name column names as keys in parseXml()
166 // It's not an ITEM. Gets the URL attribute from the event in parseXml()
167 String urlValue = localXmlPullParser.getAttributeValue(null, "url"); in parseXml()
173 // Puts the URL and the key into the ContentValues in parseXml()
176 // Gets the filename of the URL and puts it into the ContentValues in parseXml()
DPhotoDownloadRunnable.java25 import java.net.URL;
28 * This task downloads bytes from a resource addressed by a URL. When the task
70 * @return The byte array downloaded from the URL in the last read
87 * Gets the URL for the image being downloaded
88 * @return The image URL
90 URL getImageURL(); in getImageURL()
126 * A try block that downloads a Picasa image from a URL. The URL value is in the field in run()
153 // Opens an HTTP connection to the image's URL in run()
208 * Reads from the URL location into in run()
/development/tools/idegen/src/
DIntelliJ.java41 sourceRootsXml.append("<sourceFolder url=\"file://$MODULE_DIR$/") in generateFrom()
54 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/") in generateFrom()
61 + "url=\"file://$MODULE_DIR$/out/eclipse\"/>\n"); in generateFrom()
64 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/.repo\"/>\n"); in generateFrom()
65 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/bluetooth\"/>\n"); in generateFrom()
66 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/chromium\"/>\n"); in generateFrom()
67 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/icu4c\"/>\n"); in generateFrom()
68 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/webkit\"/>\n"); in generateFrom()
69 … sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/frameworks/base/docs\"/>\n"); in generateFrom()
70 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/out/host\"/>\n"); in generateFrom()
[all …]
/development/tools/rmtypedefs/
Drmtypedefs.iml4 <output url="file://$MODULE_DIR$/../../../out/rmtypedefs" />
5 <output-test url="file://$MODULE_DIR$/../../../out/rmtypedefs" />
7 <content url="file://$MODULE_DIR$">
8 <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
15 <root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/asm-tools/asm-4.0.jar!/" />
19 <root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/asm-tools/src-4.0.zip!/" />
26 … <root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/guava-tools/guava-13.0.1.jar!/" />
30 <root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/guava-tools/src.zip!/" />
37 …<root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/m2/repository/junit/junit/3.8.1/juni…
41 …<root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/m2/repository/junit/junit/3.8.1/juni…
[all …]
/development/tools/idegen/
Didegen.iml4 <output url="file://$MODULE_DIR$/classes" />
5 <output-test url="file://$MODULE_DIR$/classes" />
7 <content url="file://$MODULE_DIR$">
8 <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DImageMemoryCache.java27 * An image memory cache implementation for Volley which allows the retrieval of entires via a URL.
29 * and the url.
32 * a bitmap solely on the URL.
49 public Bitmap getBitmapFromUrl(String url) { in getBitmapFromUrl() argument
55 // Iterate through the snapshot to find any entries which match our url in getBitmapFromUrl()
57 if (url.equals(extractUrl(entry.getKey()))) { in getBitmapFromUrl()
58 // We've found an entry with the same url, return the bitmap in getBitmapFromUrl()
/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.java33 import java.net.URL;
148 // Get the URL for the feed from the cursor. in queryRssItems()
149 int urlColumnIndex = mCur.getColumnIndex(RssContentProvider.URL); in queryRssItems()
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()
193 mLogger.warning("Error in queryItem: Bad url"); in queryItem()
223 String readRss(URL url){ in readRss() argument
[all …]
DAddRssItem.java39 String url = ((TextView) findViewById(R.id.url_textbox)).getText().toString();
40 if(TextUtils.isEmpty(title) || TextUtils.isEmpty(url)){
42 "You must specify both a title and a URL value",
49 res.putExtra(RssContentProvider.URL, url);
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/connectivity/
DConnectivityTest.java20 import java.net.URL;
60 URL url = new URL(URL_NAME); in testConnectionCreation() local
62 URLConnection connection = url.openConnection(); in testConnectionCreation()
/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/RandomMusicPlayer/src/com/example/android/musicplayer/
DMainActivity.java38 * The URL we suggest as default when adding by URL. This is just so that the user doesn't
39 * have to find an URL to test this sample.
93 * Shows an alert dialog where the user can input a URL. After showing the dialog, if the user
94 * confirms, sends the appropriate intent to the {@link MusicService} to cause that URL to be
100 alertBuilder.setMessage("Enter a URL (must be http://)"); in showUrlDialog()
108 // Send an intent with the URL of the song to play. This is expected by in showUrlDialog()
/development/samples/RSSReader/src/com/example/android/rssreader/
DRssReader.java44 import java.net.URL;
63 * <li>Override of onListItemClick() creates an intent to open the url for that
80 * Url edit text field.
108 public static final String URL_KEY = "url";
212 * open the url for that item.
218 // Creates and starts an intent to open the item.link url. in onListItemClick()
258 * Given an rss url string, starts the rss-download-thread going.
293 * Worker thread takes in an rss url string, downloads its data, parses
299 public RSSWorker(CharSequence url) { in RSSWorker() argument
300 mUrl = url; in RSSWorker()
[all …]
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DMainActivity.java37 import java.net.URL;
134 * Given a string representation of a URL, sets up a connection and gets
136 * @param urlString A string representation of a URL.
142 URL url = new URL(urlString); in downloadUrl() local
143 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in downloadUrl()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageFetcher.java38 import java.net.URL;
41 * A simple subclass of {@link ImageResizer} that fetches and resizes images fetched from a URL.
185 * @param data The data to load the bitmap, in this case, a regular http URL
261 * Download a bitmap from a URL and write the content to an output stream.
263 * @param urlString The URL to fetch
273 final URL url = new URL(urlString); in downloadUrlToStream() local
274 urlConnection = (HttpURLConnection) url.openConnection(); in downloadUrlToStream()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DNetworkUtilities.java52 import java.net.URL;
74 /** Base URL for the v2 Sample Sync Service */
85 * Configures the httpClient to connect to the URL provided.
223 * @param avatarUrl the URL pointing to the avatar image
236 URL url = new URL(avatarUrl); in downloadAvatar() local
237 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in downloadAvatar()
261 // A bad URL - nothing we can really do about it here... in downloadAvatar()
262 Log.e(TAG, "Malformed avatar URL: " + avatarUrl); in downloadAvatar()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java50 * Partial URL to use when requesting the detailed entry for a specific
59 * Partial URL to append to {@link #WIKTIONARY_PAGE} when you want to expand
161 * Pull the raw text content of the given URL. This call blocks until the
165 * @param url The exact URL to request.
169 protected static synchronized String getUrlContent(String url) throws ApiException { in getUrlContent() argument
176 HttpGet request = new HttpGet(url); in getUrlContent()

1234