Home
last modified time | relevance | path

Searched refs:IO_BUFFER_SIZE (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageFetcher.java47 private static final int IO_BUFFER_SIZE = 8 * 1024; field in ImageFetcher
275 in = new BufferedInputStream(urlConnection.getInputStream(), IO_BUFFER_SIZE); in downloadUrlToStream()
276 out = new BufferedOutputStream(outputStream, IO_BUFFER_SIZE); in downloadUrlToStream()
DDiskLruCache.java112 private static final int IO_BUFFER_SIZE = 8 * 1024; field in DiskLruCache
323 IO_BUFFER_SIZE); in open()
340 InputStream in = new BufferedInputStream(new FileInputStream(journalFile), IO_BUFFER_SIZE); in readJournal()
431 Writer writer = new BufferedWriter(new FileWriter(journalFileTmp), IO_BUFFER_SIZE); in rebuildJournal()
452 journalWriter = new BufferedWriter(new FileWriter(journalFile, true), IO_BUFFER_SIZE); in rebuildJournal()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java236 private static final int IO_BUFFER_SIZE = 4 * 1024; field in ImageDownloader.BitmapDownloaderTask
273 outputStream = new BufferedOutputStream(dataStream, IO_BUFFER_SIZE); in doInBackground()
339 byte[] b = new byte[IO_BUFFER_SIZE]; in copy()