/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | Exif.java | 35 * @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 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...] |
/frameworks/base/cmds/statsd/tests/ |
H A D | StatsLogProcessor_test.cpp | 56 MOCK_METHOD0(byteSize, size_t()); 74 EXPECT_CALL(mockMetricsManager, byteSize()).Times(1); 91 EXPECT_CALL(mockMetricsManager, byteSize()) 117 EXPECT_CALL(mockMetricsManager, byteSize())
|
/frameworks/base/libs/hwui/hwui/ |
H A D | AnimatedImageDrawable.h | 109 size_t byteSize() const { function in class:android::AnimatedImageDrawable
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | DecodeTask.java | 153 final long byteSize; 155 byteSize = fd.getStatSize(); 157 byteSize = -1; 172 orientation = Exif.getOrientation(in, byteSize);
|
/frameworks/base/cmds/statsd/src/metrics/ |
H A D | MetricsManager.h | 113 virtual size_t byteSize();
|
H A D | MetricsManager.cpp | 396 size_t MetricsManager::byteSize() { function in class:android::os::statsd::MetricsManager 399 totalSize += metricProducer->byteSize();
|
H A D | MetricProducer.h | 136 size_t byteSize() const { function in class:android::os::statsd::MetricProducer
|
/frameworks/base/core/jni/android/graphics/ |
H A D | AnimatedImageDrawable.cpp | 239 return drawable->byteSize();
|
/frameworks/base/cmds/statsd/src/ |
H A D | StatsLogProcessor.cpp | 294 return it->second->byteSize(); 469 // We suspect that the byteSize() computation is expensive, so we set a rate limit. 470 size_t totalBytes = metricsManager.byteSize();
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 270 size_t byteSize() const { function in class:android::IdmapEntries 395 data += entries.byteSize() / sizeof(uint16_t); 396 size -= entries.byteSize();
|