Searched refs:CHUNK_SIZE (Results 1 - 1 of 1) sorted by relevance

/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DAttachmentLoader.java49 static private final int CHUNK_SIZE = 16*1024; field in class:AttachmentLoader
112 byte[] bytes = new byte[CHUNK_SIZE];
121 int read = inputStream.read(bytes, 0, CHUNK_SIZE);
136 // Callback only if we've read at least 1% more and have read more than CHUNK_SIZE
138 if ((pct > lastCallbackPct) && (totalRead > (lastCallbackTotalRead + CHUNK_SIZE))) {

Completed in 450 milliseconds