Searched defs:inputStream (Results 1 - 25 of 28) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifReader.java38 * Parses the inputStream and and returns the EXIF data in an
44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, argument
46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
H A DExifParser.java201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) argument
203 if (inputStream == null) {
204 throw new IOException("Null argument inputStream to ExifParser");
210 mContainExifData = seekTiffData(inputStream);
211 mTiffStream = new CountedDataInputStream(inputStream);
239 protected static ExifParser parse(InputStream inputStream, int options, ExifInterface iRef) argument
241 return new ExifParser(inputStream, options, iRef);
252 protected static ExifParser parse(InputStream inputStream, ExifInterface iRef) argument
254 return new ExifParser(inputStream, OPTION_IFD_0 | OPTION_IFD_1
752 private boolean seekTiffData(InputStream inputStream) throw argument
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifReader.java38 * Parses the inputStream and and returns the EXIF data in an
44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, argument
46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
H A DExifParser.java201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) argument
203 if (inputStream == null) {
204 throw new IOException("Null argument inputStream to ExifParser");
210 mContainExifData = seekTiffData(inputStream);
211 mTiffStream = new CountedDataInputStream(inputStream);
239 protected static ExifParser parse(InputStream inputStream, int options, ExifInterface iRef) argument
241 return new ExifParser(inputStream, options, iRef);
252 protected static ExifParser parse(InputStream inputStream, ExifInterface iRef) argument
254 return new ExifParser(inputStream, OPTION_IFD_0 | OPTION_IFD_1
752 private boolean seekTiffData(InputStream inputStream) throw argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
H A DClassLoaderObjectInputStream.java44 * @param inputStream the InputStream to work on
49 ClassLoader classLoader, InputStream inputStream)
51 super(inputStream);
48 ClassLoaderObjectInputStream( ClassLoader classLoader, InputStream inputStream) argument
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifReader.java39 * Parses the inputStream and and returns the EXIF data in an
45 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, argument
47 ExifParser parser = ExifParser.parse(inputStream, mInterface);
H A DExifParser.java202 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) argument
204 if (inputStream == null) {
205 throw new IOException("Null argument inputStream to ExifParser");
211 mContainExifData = seekTiffData(inputStream);
212 mTiffStream = new CountedDataInputStream(inputStream);
240 protected static ExifParser parse(InputStream inputStream, int options, ExifInterface iRef) argument
242 return new ExifParser(inputStream, options, iRef);
253 protected static ExifParser parse(InputStream inputStream, ExifInterface iRef) argument
255 return new ExifParser(inputStream, OPTION_IFD_0 | OPTION_IFD_1
754 private boolean seekTiffData(InputStream inputStream) throw argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DGifImageResource.java39 public static GifImageResource createGifImageResource(String key, InputStream inputStream) { argument
42 frameSequence = FrameSequence.decodeStream(inputStream);
45 inputStream.close();
H A DPoolableImageCache.java127 * @param inputStream InputStream load. Cannot be null.
135 public Bitmap decodeSampledBitmapFromInputStream(@NonNull final InputStream inputStream, argument
144 Assert.notNull(inputStream);
148 b = BitmapFactory.decodeStream(inputStream, null, optionsTmp);
155 b = BitmapFactory.decodeStream(inputStream, null, optionsTmp);
159 LogUtil.w(LogUtil.BUGLE_IMAGE_TAG, "Oom decoding inputStream");
202 LogUtil.w(LogUtil.BUGLE_IMAGE_TAG, "Oom decoding inputStream");
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
H A DPartialInputStream.java29 public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException { argument
30 super(inputStream);
31 inputStream.skip(offset);
H A DPositionInputStream.java28 private final InputStream inputStream; field in class:PositionInputStream
32 public PositionInputStream(InputStream inputStream) { argument
33 this.inputStream = inputStream;
41 return inputStream.available();
45 int b = inputStream.read();
52 inputStream.close();
56 inputStream.reset();
61 return inputStream.markSupported();
65 inputStream
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppSendFileInfo.java81 FileInputStream inputStream, int status) {
85 mInputStream = inputStream;
80 BluetoothOppSendFileInfo(String fileName, String type, long length, FileInputStream inputStream, int status) argument
/packages/apps/Camera2/src/com/android/camera/util/
H A DXmpUtil.java185 * Updates a jpeg file from inputStream with XMPMeta to outputStream.
187 public static boolean writeXMPMeta(InputStream inputStream, OutputStream outputStream, argument
189 List<Section> sections = parse(inputStream, false);
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DBinaryDictOffdeviceUtils.java195 private static void readStreamExhaustively(final InputStream inputStream, argument
200 readBytesLastCycle = inputStream.read(outBuffer, readBytes,
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DBitmapPool.java219 * @param inputStream InputStream load. Cannot be null.
226 public Bitmap decodeSampledBitmapFromInputStream(@NonNull final InputStream inputStream, argument
229 Assert.notNull(inputStream);
235 b = BitmapFactory.decodeStream(inputStream, null, optionsTmp);
240 b = BitmapFactory.decodeStream(inputStream, null, optionsTmp);
249 LogUtil.w(LogUtil.BUGLE_TAG, "Oom decoding inputStream");
/packages/apps/Messaging/src/com/android/messaging/util/
H A DUriUtil.java182 public static Uri persistContentToScratchSpace(final InputStream inputStream) { argument
185 return copyContent(context, inputStream, scratchSpaceUri);
195 InputStream inputStream = null;
199 inputStream = context.getContentResolver().openInputStream(sourceUri);
204 inputStream = new BufferedInputStream(ucon.getInputStream());
206 return persistContentToScratchSpace(inputStream);
211 if (inputStream != null) {
213 inputStream.close();
215 LogUtil.e(LogUtil.BUGLE_TAG, "error trying to close the inputStream", e);
228 final InputStream inputStream, fina
227 persistContent( final InputStream inputStream, final File outputDir, final String contentType) argument
280 copyContent( final Context context, final InputStream inputStream, final Uri targetUri) argument
[all...]
H A DImageUtils.java265 * @param inputStream The stream to the image file. Closed on completion
268 public static int getOrientation(final InputStream inputStream) { argument
270 if (inputStream != null) {
273 exifInterface.readExif(inputStream);
283 if (inputStream != null) {
284 inputStream.close();
305 InputStream inputStream = contentResolver.openInputStream(contentUri);
306 return ImageUtils.isGif(inputStream);
316 * @param inputStream The stream to the image file. Closed on completion
319 public static boolean isGif(InputStream inputStream) { argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleCharStream.java40 protected java.io.Reader inputStream; field in class:SimpleCharStream
127 if ((i = inputStream.read(buffer, maxNextCharInd,
130 inputStream.close();
260 inputStream = dstream;
283 inputStream = dstream;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DSimpleCharStream.java40 protected java.io.Reader inputStream; field in class:SimpleCharStream
127 if ((i = inputStream.read(buffer, maxNextCharInd,
130 inputStream.close();
260 inputStream = dstream;
283 inputStream = dstream;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DSimpleCharStream.java40 protected java.io.Reader inputStream; field in class:SimpleCharStream
127 if ((i = inputStream.read(buffer, maxNextCharInd,
130 inputStream.close();
260 inputStream = dstream;
283 inputStream = dstream;
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractDownloadProviderFunctionalTest.java258 protected String readStream(InputStream inputStream) throws IOException { argument
259 BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleCharStream.java40 protected java.io.Reader inputStream; field in class:SimpleCharStream
127 if ((i = inputStream.read(buffer, maxNextCharInd,
130 inputStream.close();
260 inputStream = dstream;
283 inputStream = dstream;
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/
H A DSimpleCharStream.java40 protected java.io.Reader inputStream; field in class:SimpleCharStream
127 if ((i = inputStream.read(buffer, maxNextCharInd,
130 inputStream.close();
260 inputStream = dstream;
283 inputStream = dstream;
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/
H A DSimpleCharStream.java40 protected java.io.Reader inputStream; field in class:SimpleCharStream
127 if ((i = inputStream.read(buffer, maxNextCharInd,
130 inputStream.close();
260 inputStream = dstream;
283 inputStream = dstream;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DUpdateHandler.java613 * @param inputStream an input stream pointing to the downloaded data. May not be null.
620 final InputStream inputStream, final DownloadRecord downloadRecord)
640 copyFile(inputStream, outputStream);
642 inputStream.close();
619 handleWordList(final Context context, final InputStream inputStream, final DownloadRecord downloadRecord) argument

Completed in 998 milliseconds

12