Home
last modified time | relevance | path

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

123

/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()
DPhotosListActivity.java25 * extract the images' URL and their title.
37 "content://xmldocument/?url=" + Uri.encode(PICASA_FEED_URL))); in onCreate()
DXmlDocumentProvider.java154 * <code>content://xmldocument/?url=</code> followed by an encoded version of the URL of your
179 final String url = uri.getQueryParameter("url"); in query() local
180 if (url != null) { in query()
181 parser = getUriXmlPullParser(url); in query()
211 * Creates an XmlPullParser for the provided URL. Can be overloaded to provide your own parser.
212 * @param url The URL of the XML document that is to be parsed.
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/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/scripts/app_engine_server/
Dapp.yaml7 - url: /remote_api
11 - url: /gae_shell/static
15 - url: /gae_shell/.*
19 - url: .*
Dmemcache_zipserve.py89 """Handles get requests for a given URL.
99 NEG_CACHE_PREFIX = 'noncache://' # memcache key prefix for non-existant URL
123 name: URL requested
145 # Do some prep for handling intl requests. Parse the url and validate
146 # the intl/lang substring, extract the url lang code (urlLangName) and the
160 # the user's preferred language url.
180 # Preprocess the req url. If it references a directory or the domain itself,
181 # append '/index.html' to the url and 302 redirect. Otherwise, continue
190 # Try to form a response using the actual request url.
208 # handle the case where we have a non-clean url (usually a non-intl
[all …]
/development/apps/Development/src/com/android/development/
DEnterURL.java103 String url = mUrlField.getText().toString();
105 viewItem(url, display);
117 // url in onCreate()
155 viewItem(he.url, he.display); in onListItemClick()
158 private final void viewItem(String url, String display) in viewItem() argument
166 if (he.url.equals(url) && he.display.equals(display)) { in viewItem()
176 he.url = url; in viewItem()
185 Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); in viewItem()
208 m.put("title", he.url + " (" + he.display + ")"); in fillListView()
223 + " url TEXT," in openDB()
[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/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/ConnectivityTest/src/com/android/emulator/connectivity/test/
DConnectivityTest.java20 import java.net.URL;
60 URL url = new URL(URL_NAME); in testConnectionCreation() local
62 URLConnection connection = url.openConnection(); in testConnectionCreation()
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
DImageFetcher.java35 import java.net.URL;
38 * A simple subclass of {@link ImageResizer} that fetches and resizes images fetched from a URL.
91 * @param data The data to load the bitmap, in this case, a regular http URL
116 * Download a bitmap from a URL, write it to a disk and return the File pointer. This
120 * @param urlString The URL to fetch
147 final URL url = new URL(urlString); in downloadBitmap() local
148 urlConnection = (HttpURLConnection) url.openConnection(); in downloadBitmap()
/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/ApiDemos/src/com/example/android/apis/media/
DVideoViewDemo.java29 * TODO: Set the path variable to a streaming video URL or a local media
42 // Tell the user to provide a media file URL/path. in onCreate()
46 + " variable to your media file URL/path", in onCreate()
/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()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java57 * Partial URL to use when requesting the detailed entry for a specific
66 * Partial URL to append to {@link #WIKTIONARY_PAGE} when you want to expand
168 * Pull the raw text content of the given URL. This call blocks until the
172 * @param url The exact URL to request.
176 protected static synchronized String getUrlContent(String url) throws ApiException { in getUrlContent() argument
183 HttpGet request = new HttpGet(url); in getUrlContent()
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
DForegroundNdefPush.java42 // Create an NDEF message a URL in onCreate()
50 mText.setText("Tap another Android phone with NFC to push a URL"); in onCreate()

123