Home | History | Annotate | Download | only in browser

Lines Matching refs:inputstream

33 import java.io.InputStream;
87 InputStream inputstream = null;
95 inputstream = openStream();
96 if (inputstream != null) {
97 if (!inputstream.markSupported()) {
98 inputstream = new BufferedInputStream(inputstream, BUFFER_SIZE);
100 inputstream.mark(BUFFER_SIZE);
106 new BufferedInputStream(inputstream), null, options);
124 inputstream.reset();
128 inputstream.close();
129 inputstream = openStream();
131 Bitmap scaledWallpaper = BitmapFactory.decodeStream(inputstream,
146 if (inputstream != null) {
148 inputstream.close();
183 * @return An open InputStream for the data at the URL
187 private InputStream openStream() throws IOException, MalformedURLException {
188 InputStream inputStream = null;
191 inputStream = new ByteArrayInputStream(dataUri.getData());
194 inputStream = url.openStream();
196 return inputStream;