Searched defs:in (Results 1 - 16 of 16) sorted by relevance

/development/samples/training/network-usage/src/com/example/android/networkusage/
H A DStackOverflowXmlParser.java5 * in compliance with the License. You may obtain a copy of the License at
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
30 * where each list element represents a single entry (post) in the XML feed.
37 public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException { argument
41 parser.setInput(in, null);
45 in.close();
68 // This class represents a single entry (post) in the XML feed.
108 // Processes title tags in the feed.
116 // Processes link tags in the feed.
132 // Processes summary tags in th
[all...]
/development/apps/Development/src/com/android/development/
H A DLogViewer.java5 ** you may not use this file except in compliance with the License.
10 ** Unless required by applicable law or agreed to in writing, software
78 final DataInputStream in; field in class:LogViewer.LogReader
86 this.in = new DataInputStream(this.socket.getInputStream());
95 while (in.available() > 0) {
98 int length = in.readInt();
100 in.readFully(bytes);
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
H A DImageDownloader.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
59 private static final int DELAY_BEFORE_PURGE = 30 * 1000; // in milliseconds
91 * binding is immediate if the image is found in the cache and will be done asynchronously
134 // State sanity: url is guaranteed to never be null in DownloadedDrawable and cache keys.
163 * Returns true if the current download has been canceled or if there was no download in
165 * Returns false if the download in progress deals with the same url. The download is not
166 * stopped in that case.
208 // Bitmap found in hard cache
221 // Bitmap found in sof
338 copy(InputStream in, OutputStream out) argument
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DPresentationActivity.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
20 // class is in a sub-package.
61 * on that display. We show a different photograph in each presentation
67 * "Simulate secondary displays" feature in Development Settings to create a few
68 * simulated secondary displays. Each display will appear in the list along with a
109 * describe what is to be displayed in the screen.
234 * an item in the list of displays is checked or unchecked.
443 * Information about the content we want to show in a presentation.
452 public PresentationContents createFromParcel(Parcel in) {
469 PresentationContents(Parcel in) argument
[all...]
/development/samples/RSSReader/src/com/example/android/rssreader/
H A DRssReader.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
51 * rss data in the background and post the results to a ListView in the UI.
52 * It also shows how to display custom data in a ListView
60 * <li>Override of getView() in the adapter provides the display view
64 * RssItem in the browser.
103 // Keys used for data in the onSaveInstanceState() Map.
114 * here, not in a constructor.
132 // Get pointers to the UI elements in th
481 parseRSS(InputStream in, RSSListAdapter adapter) argument
[all...]
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
H A DVoicemailProviderHelpers.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
322 private void copyStreamData(InputStream in, OutputStream out) throws IOException { argument
325 while ((numBytes = in.read(data)) > 0) {
/development/tools/yuv420sp2rgb/
H A Dyuv420sp2rgb.c54 int size, /* buffer size in bytes */
199 void *in, *out; local
240 in = mmap(0, width * height * 3 / 2, PROT_READ, MAP_PRIVATE, ifd, 0);
241 FAILIF(in == MAP_FAILED, "could not mmap input file: %s (%d)\n",
260 color_convert_common(in, in + width * height,
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
H A DDiskLruCache.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
52 * Taken from the JB source code, can be found in:
61 * 0} and {@code Integer.MAX_VALUE} bytes in length.
63 * <p>The cache stores its data in a directory on the filesystem. This
70 * remove entries in the background until the limit is satisfied. The limit is
135 * Each of the subsequent lines in the file is a record of the state of a
215 public static String readAsciiLine(InputStream in) throws IOException { argument
220 int c = in.read();
251 * Recursively delete everything in {
723 inputStreamToString(InputStream in) argument
[all...]
/development/tools/emulator/system/gps/
H A Dgps_qemu.c5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
21 * it will be loaded by the code in hardware/libhardware/hardware.c
190 char in[ NMEA_MAX_SIZE+1 ]; member in struct:__anon609
412 // Possibly parse it from the NMEA sentence in the future.
428 D("Received: '%.*s'", r->pos, r->in);
434 nmea_tokenizer_init(tzer, r->in, r->in + r->pos);
484 D("in RMC, fixStatus=%c", tok_fixStatus.p[0]);
551 if (r->pos >= (int) sizeof(r->in)
[all...]
/development/ndk/platforms/android-3/include/linux/
H A Dcoda.h232 struct coda_in_hdr in; member in struct:coda_root_in
502 struct coda_in_hdr in; member in struct:coda_statfs_in
570 void __user *in; member in struct:ViceIoctl
/development/samples/training/basic/ActivityLifecycle/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/multiscreen/newsreader/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/content/ ...
/development/samples/training/bitmapfun/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/app/ ...
/development/samples/training/AnimationsDemo/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/basic/FragmentBasics/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/location-aware/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...

Completed in 595 milliseconds