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.cpp355 size_t encodedSize = 0; in editEncodedSize() local
361 encodedSize += get_varint_size(tag); in editEncodedSize()
365 encodedSize++; in editEncodedSize()
369 encodedSize += 8; in editEncodedSize()
386 encodedSize += get_varint_size(childEncodedSize) + childEncodedSize; in editEncodedSize()
389 encodedSize += 4; in editEncodedSize()
398 return encodedSize; in editEncodedSize()
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java2368 int encodedSize = 0; in editEncodedSize() local
2373 encodedSize += EncodedBuffer.getRawVarint32Size(tag); in editEncodedSize()
2378 encodedSize++; in editEncodedSize()
2380 encodedSize++; in editEncodedSize()
2384 encodedSize += 8; in editEncodedSize()
2408 encodedSize += EncodedBuffer.getRawVarint32Size(childEncodedSize) in editEncodedSize()
2416 encodedSize += 4; in editEncodedSize()
2426 return encodedSize; in editEncodedSize()