Home
last modified time | relevance | path

Searched refs:encodedSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
DETC1Util.java169 int encodedSize = ETC1.getEncodedDataSize(width, height); in createTexture() local
170 … ByteBuffer dataBuffer = ByteBuffer.allocateDirect(encodedSize).order(ByteOrder.nativeOrder()); in createTexture()
171 for (int i = 0; i < encodedSize; ) { in createTexture()
172 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in createTexture()
217 int encodedSize = ETC1.getEncodedDataSize(width, height); in writeTexture() local
218 for (int i = 0; i < encodedSize; ) { in writeTexture()
219 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in writeTexture()
/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp359 size_t encodedSize = 0; in editEncodedSize() local
365 encodedSize += get_varint_size(tag); in editEncodedSize()
369 encodedSize++; in editEncodedSize()
373 encodedSize += 8; in editEncodedSize()
390 encodedSize += get_varint_size(childEncodedSize) + childEncodedSize; in editEncodedSize()
393 encodedSize += 4; in editEncodedSize()
402 return encodedSize; in editEncodedSize()
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java2373 int encodedSize = 0; in editEncodedSize() local
2378 encodedSize += EncodedBuffer.getRawVarint32Size(tag); in editEncodedSize()
2383 encodedSize++; in editEncodedSize()
2385 encodedSize++; in editEncodedSize()
2389 encodedSize += 8; in editEncodedSize()
2413 encodedSize += EncodedBuffer.getRawVarint32Size(childEncodedSize) in editEncodedSize()
2421 encodedSize += 4; in editEncodedSize()
2431 return encodedSize; in editEncodedSize()