HomeSort by relevance Sort by last modified time
    Searched full:inputstream (Results 226 - 250 of 2089) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /sdk/testapps/javaProjectTest/javaProject2/libs/
basicJar_not_in_classpath.jar 
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
Structure.java 79 * @param inputStream
90 public Structure(BlenderInputStream inputStream, String[] names, String[] types, BlenderContext blenderContext) throws BlenderFileException {
91 int nameIndex = inputStream.readShort();
94 int fieldsAmount = inputStream.readShort();
101 int typeIndex = inputStream.readShort();
102 nameIndex = inputStream.readShort();
111 * @param inputStream
117 public void fill(BlenderInputStream inputStream) throws BlenderFileException {
118 int position = inputStream.getPosition();
119 inputStream.setPosition(position - 8 - inputStream.getPointerSize())
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
ImageUtils.java 38 import java.io.InputStream;
129 * Wrapper around {@link BitmapFactory#decodeStream(InputStream, Rect,
147 InputStream is = null;
159 Log.w(TAG, "ImageUtils#decodeStream(InputStream, Rect, Options): "
174 Log.e(TAG, "ImageUtils#decodeStream(InputStream, Rect, Options) threw an OOME", oome);
177 Log.e(TAG, "ImageUtils#decodeStream(InputStream, Rect, Options) threw an IOE", ioe);
193 * @param factory Used to create the InputStream.
218 * Utility class for when an InputStream needs to be read multiple times. For example, one pass
224 * Create a new InputStream. The caller of this method must be able to read the input
228 InputStream createInputStream() throws FileNotFoundException
    [all...]
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
VCardVerifier.java 38 import java.io.InputStream;
83 private InputStream mInputStream;
137 final InputStream inputStream =
139 if (inputStream == null) {
142 setInputStream(inputStream);
145 private void setInputStream(InputStream inputStream) {
149 AndroidTestCase.fail("InputStream is already set");
151 mInputStream = inputStream;
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
MovieTest.java 23 import java.io.InputStream;
78 InputStream source = null;
100 private byte[] inputStreamToBytes(InputStream in) throws IOException {
115 InputStream is = getActivity().getResources().openRawResource(MOVIE);
126 InputStream is = getActivity().getResources()
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
font_input_stream.h 45 // an InputStream within. In C++, we directly do the wrapping without
49 class FontInputStream : public InputStream {
53 explicit FontInputStream(InputStream* is);
58 FontInputStream(InputStream* is, size_t length);
89 InputStream* stream_;
  /external/sfntly/cpp/src/sfntly/data/
font_input_stream.h 45 // an InputStream within. In C++, we directly do the wrapping without
49 class FontInputStream : public InputStream {
53 explicit FontInputStream(InputStream* is);
58 FontInputStream(InputStream* is, size_t length);
89 InputStream* stream_;
  /frameworks/base/core/java/android/webkit/
PluginData.java 19 import java.io.InputStream;
40 private InputStream mStream;
73 InputStream stream,
86 * @return An InputStream instance with the plugin content.
93 public InputStream getInputStream() {
  /frameworks/base/core/java/com/android/internal/http/multipart/
PartSource.java 34 import java.io.InputStream;
62 * Gets a new InputStream for reading this source. This method can be
66 * @return a new InputStream
68 * @throws IOException if an error occurs when creating the InputStream
70 InputStream createInputStream() throws IOException;
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidDataInputStreamTest.java 24 import java.io.InputStream;
108 public static String read(InputStream a) throws IOException {
119 public static String read(InputStream a, int x) throws IOException {
128 public static String skipRead(InputStream a) throws IOException {
140 public static String markRead(InputStream a, int x, int y) throws IOException {
  /libcore/luni/src/test/java/libcore/java/util/zip/
DeflaterInputStreamTest.java 22 import java.io.InputStream;
32 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data));
53 java.io.InputStream in = new InflaterInputStream(new ByteArrayInputStream(bytes));
66 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data));
89 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data));
  /packages/apps/Exchange/src/com/android/exchange/utility/
WbxmlResponseLogger.java 34 import java.io.InputStream;
59 protected static byte[] getContentAsByteArray(InputStream is, int batchSize)
75 // Wrap the HttpEntity so the response InputStream can be requested and processed
92 final InputStream is;
95 final InputStream unwrappedIs = response.getEntity().getContent();
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
MemoryBinaryBody.java 25 import java.io.InputStream;
50 * Use the given InputStream to build the TemporyFileBinaryBody
52 * @param is the InputStream to use as source
55 public MemoryBinaryBody(InputStream is) throws IOException {
82 public InputStream getInputStream() throws IOException {
TempFileBinaryBody.java 23 import java.io.InputStream;
49 * Use the given InputStream to build the TemporyFileBinaryBody
51 * @param is the InputStream to use as source
54 public TempFileBinaryBody(InputStream is) throws IOException {
81 public InputStream getInputStream() throws IOException {
Message.java 23 import java.io.InputStream;
64 public Message(InputStream is) throws IOException {
173 * @see org.apache.james.mime4j.ContentHandler#body(org.apache.james.mime4j.BodyDescriptor, java.io.InputStream)
175 public void body(BodyDescriptor bd, InputStream is) throws IOException {
222 * @see org.apache.james.mime4j.ContentHandler#epilogue(java.io.InputStream)
224 public void epilogue(InputStream is) throws IOException {
235 * @see org.apache.james.mime4j.ContentHandler#preamble(java.io.InputStream)
237 public void preamble(InputStream is) throws IOException {
250 * @see org.apache.james.mime4j.ContentHandler#raw(java.io.InputStream)
252 public void raw(InputStream is) throws IOException {
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
Compress.java 25 import java.io.InputStream;
40 public static InputStream getUncompressedStream(final InputStream in) throws IOException {
64 final InputStream input = inFilename.equals(STDIN_OR_STDOUT) ? System.in
92 final InputStream input = inFilename.equals(STDIN_OR_STDOUT) ? System.in
  /external/apache-http/src/org/apache/http/impl/io/
ContentLengthInputStream.java 35 import java.io.InputStream;
48 * through the {@link InputStream#mark} and {@link InputStream#reset} calls to
62 * support {@link InputStream#mark} and {@link InputStream#reset}. That choice
71 public class ContentLengthInputStream extends InputStream {
136 * @see java.io.InputStream#read()
151 * Does standard {@link InputStream#read(byte[], int, int)} behavior, but
185 * @see java.io.InputStream#read(byte[])
197 * @see InputStream#skip(long
    [all...]
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.java 22 import java.io.InputStream;
72 InputStream in = response.getBodyStream();
107 InputStream in = connection.getInputStream();
126 InputStream in = connection.getInputStream();
154 InputStream in = connection.getInputStream();
167 InputStream in = connection.getInputStream();
186 InputStream in = urlConnection.getInputStream();
197 InputStream in2 = urlConnection2.getInputStream();
221 InputStream responseBody = new ByteArrayInputStream("ABC".getBytes("UTF-8"));
225 InputStream in = server.getUrl("/").openConnection().getInputStream()
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
ExifParser.java 22 import java.io.InputStream;
30 * InputStream, the caller can request which IFD's to read via
31 * {@link #parse(InputStream, int)} with given options.
201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef)
203 if (inputStream == null) {
204 throw new IOException("Null argument inputStream to ExifParser");
210 mContainExifData = seekTiffData(inputStream);
211 mTiffStream = new CountedDataInputStream(inputStream);
234 * Parses the the given InputStream with the given option
    [all...]
  /packages/apps/Camera2/src/com/android/camera/exif/
ExifParser.java 22 import java.io.InputStream;
30 * InputStream, the caller can request which IFD's to read via
31 * {@link #parse(InputStream, int)} with given options.
201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef)
203 if (inputStream == null) {
204 throw new IOException("Null argument inputStream to ExifParser");
210 mContainExifData = seekTiffData(inputStream);
211 mTiffStream = new CountedDataInputStream(inputStream);
234 * Parses the the given InputStream with the given option
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
ExifParser.java 22 import java.io.InputStream;
30 * InputStream, the caller can request which IFD's to read via
31 * {@link #parse(InputStream, int)} with given options.
201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef)
203 if (inputStream == null) {
204 throw new IOException("Null argument inputStream to ExifParser");
210 mContainExifData = seekTiffData(inputStream);
211 mTiffStream = new CountedDataInputStream(inputStream);
234 * Parses the the given InputStream with the given option
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
ExifParser.java 22 import java.io.InputStream;
30 * InputStream, the caller can request which IFD's to read via
31 * {@link #parse(InputStream, int)} with given options.
201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef)
203 if (inputStream == null) {
204 throw new IOException("Null argument inputStream to ExifParser");
210 mContainExifData = seekTiffData(inputStream);
211 mTiffStream = new CountedDataInputStream(inputStream);
234 * Parses the the given InputStream with the given option
    [all...]
  /packages/apps/Mms/src/com/android/mms/exif/
ExifParser.java 22 import java.io.InputStream;
30 * InputStream, the caller can request which IFD's to read via
31 * {@link #parse(InputStream, int)} with given options.
201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef)
203 if (inputStream == null) {
204 throw new IOException("Null argument inputStream to ExifParser");
210 mContainExifData = seekTiffData(inputStream);
211 mTiffStream = new CountedDataInputStream(inputStream);
234 * Parses the the given InputStream with the given option
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DrawableTest.java 29 import java.io.InputStream;
137 InputStream source = null;
161 FileInputStream inputStream = null;
181 inputStream = new FileInputStream(imageFile);
182 assertNotNull(Drawable.createFromStream(inputStream, "Sample"));
191 if (null != inputStream) {
192 inputStream.close();
205 FileInputStream inputStream = null;
209 assertNull(Drawable.createFromResourceStream(null, null, inputStream, "test.bmp"));
226 inputStream = new FileInputStream(imageFile)
    [all...]
  /frameworks/base/docs/html/training/basics/network-ops/
connecting.jd 22 <li><a href="#stream">Convert the InputStream to a String</a></li>
148 // an InputStream. Finally, the InputStream is converted into a string, which is
190 java.io.InputStream}.</li>
192 <li>The {@link java.io.InputStream} is passed to the <code>readIt()</code>
205 After you call {@code connect()}, you can get an {@link java.io.InputStream} of the data
213 the data as an {@link java.io.InputStream}.</p>
217 // the web page content as a InputStream, which it returns as
220 InputStream is = null;
238 // Convert the InputStream into a strin
    [all...]

Completed in 2123 milliseconds

1 2 3 4 5 6 7 8 91011>>