Searched refs:dataBuffer (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | CompressedTextureLoader.java | 194 ByteBuffer dataBuffer; in createFromUncompressedETC1() local 195 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); in createFromUncompressedETC1() 196 bitmap.copyPixelsToBuffer(dataBuffer); in createFromUncompressedETC1() 197 dataBuffer.position(0); in createFromUncompressedETC1() 200 ETC1Util.ETC1Texture compressed = compressTexture(dataBuffer, in createFromUncompressedETC1() 213 ByteBuffer dataBuffer; in read() local 214 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); in read() 223 dataBuffer.put(ioBuffer, 0, chunkSize); in read() 226 dataBuffer.position(0); in read() 227 return dataBuffer; in read() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 174 byte[] dataBuffer = new byte[1024]; in obtainPath() 176 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath() 177 fOutput.write(dataBuffer, 0, readLength); in obtainPath()
|
D | BitmapRegionDecoderTest.java | 378 byte[] dataBuffer = new byte[1024]; in obtainPath() 380 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath() 381 fOutput.write(dataBuffer, 0, readLength); in obtainPath()
|
D | BitmapFactoryTest.java | 623 byte[] dataBuffer = new byte[1024]; in obtainPath() 626 fOutput.write(dataBuffer, 0, (int) offset); in obtainPath() 628 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath() 629 fOutput.write(dataBuffer, 0, readLength); in obtainPath()
|