/development/samples/devbytes/telephony/SmsSampleProject/app/ |
D | app.iml | 28 <output url="file://$MODULE_DIR$/build/intermediates/classes/debug" /> 29 <output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug" /> 31 <content url="file://$MODULE_DIR$"> 32 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" genera… 33 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" gen… 34 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="fal… 35 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" gener… 36 <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" /> 37 …<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/debug" type="java-resource" /> 38 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/androidTest/debug" isTestSource="t… [all …]
|
/development/ide/intellij/moduleDefinitions/ |
D | testing.iml | 5 <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/ |
D | app.yaml | 16 # it's been migrated to HR. But it's still accessible under the old URL, 28 - url: /static 34 - url: /auth 37 - url: /sync 40 - url: /reset_database 46 - url: / 49 - url: /add_contact 52 - url: /edit_contact 55 - url: /delete_contact 58 - url: /avatar [all …]
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | ImageDownloader.java | 94 * @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 …]
|
D | UrlIntentListener.java | 27 * 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()
|
D | UrlImageBinder.java | 25 * 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/ |
D | PhotoFragment.java | 30 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 …]
|
D | PhotoView.java | 31 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 …]
|
D | RSSPullService.java | 30 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 …]
|
D | RSSPullParser.java | 103 // 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()
|
D | PhotoDownloadRunnable.java | 25 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/ |
D | IntelliJ.java | 41 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/ |
D | rmtypedefs.iml | 4 <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/repo_diff/ |
D | repo_diff_android.py | 5 1. Downloads a repo source tree with specified manifest URL, branch 36 parser.add_argument("-u", "--manifest-url", 37 help="manifest url", 42 parser.add_argument("-r", "--upstream-manifest-url", 43 help="upstream manifest url", 62 def repo_init(url, rev, workspace): argument 63 """Repo init with specific url and rev. 66 url: manifest url 71 print("repo init:\n url: %s\n rev: %s\n workspace: %s" % 72 (url, rev, workspace)) [all …]
|
/development/tools/idegen/ |
D | idegen.iml | 6 <content url="file://$MODULE_DIR$"> 7 <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> 9 <content url="file://$MODULE_DIR$/../../../out/target/common/obj/APPS/idegen_intermediates/src"> 10 …<sourceFolder url="file://$MODULE_DIR$/../../../out/target/common/obj/APPS/idegen_intermediates/sr…
|
/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 | 33 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 …]
|
D | AddRssItem.java | 39 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/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
D | NetworkFragment.java | 33 import java.net.URL; 50 * Static initializer for NetworkFragment that sets the URL of the host it will be downloading 53 public static NetworkFragment getInstance(FragmentManager fragmentManager, String url) { in getInstance() argument 64 args.putString(URL_KEY, url); in getInstance() 167 URL url = new URL(urlString); in doInBackground() local 168 String resultString = downloadUrl(url); in doInBackground() 215 * Given a URL, sets up a connection and gets the HTTP response body from the server. 219 private String downloadUrl(URL url) throws IOException { in downloadUrl() argument 224 connection = (HttpsURLConnection) url.openConnection(); in downloadUrl()
|
/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 | 25 import java.net.URL; 66 URL url = new URL(uri); in fetchAndRescaleBitmap() local 69 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in fetchAndRescaleBitmap()
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | MainActivity.java | 38 * 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/ |
D | RssReader.java | 44 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/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | ImageFetcher.java | 38 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/ |
D | NetworkUtilities.java | 52 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()
|