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

/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java35 * @param byteSize Recommended parameter declaring the length of the input stream. If you
39 public static int getOrientation(final InputStream inputStream, final long byteSize) { argument
59 Note: If you do not pass in byteSize parameter, a single large allocation will occur.
62 has(jpeg, byteSize, offset + length - 1)
76 if (has(jpeg, byteSize, 1)) {
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
108 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) {
203 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { argument
204 if (byteSize >= 0) {
205 return index < byteSize;
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java30 * @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...]
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java153 final long byteSize;
155 byteSize = fd.getStatSize();
157 byteSize = -1;
172 orientation = Exif.getOrientation(in, byteSize);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp271 size_t byteSize() const { function in class:android::IdmapEntries
396 data += entries.byteSize() / sizeof(uint16_t);
397 size -= entries.byteSize();

Completed in 140 milliseconds