Searched refs:byteSize (Results 1 - 1 of 1) sorted by relevance
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 30 * @param byteSize Recommended parameter declaring the length of the input stream. If you 34 public static int getOrientation(final InputStream inputStream, final long byteSize) { argument 54 Note: If you do not pass in byteSize parameter, a single large allocation will occur. 57 has(jpeg, byteSize, offset + length - 1) 71 if (has(jpeg, byteSize, 1)) { 81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { 103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { 198 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { argument 199 if (byteSize >= 0) { 200 return index < byteSize; [all...] |
Completed in 154 milliseconds