Searched refs:byteSize (Results 1 - 11 of 11) 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/base/cmds/statsd/tests/
H A DStatsLogProcessor_test.cpp56 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 DAnimatedImageDrawable.h109 size_t byteSize() const { function in class:android::AnimatedImageDrawable
/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/cmds/statsd/src/metrics/
H A DMetricsManager.h113 virtual size_t byteSize();
H A DMetricsManager.cpp396 size_t MetricsManager::byteSize() { function in class:android::os::statsd::MetricsManager
399 totalSize += metricProducer->byteSize();
H A DMetricProducer.h136 size_t byteSize() const { function in class:android::os::statsd::MetricProducer
/frameworks/base/core/jni/android/graphics/
H A DAnimatedImageDrawable.cpp239 return drawable->byteSize();
/frameworks/base/cmds/statsd/src/
H A DStatsLogProcessor.cpp294 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 DResourceTypes.cpp270 size_t byteSize() const { function in class:android::IdmapEntries
395 data += entries.byteSize() / sizeof(uint16_t);
396 size -= entries.byteSize();

Completed in 201 milliseconds