Searched refs:getByteCount (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 413 int originalSize = start.getByteCount(); in testDecodeReuseBasic() 421 assertEquals(originalSize, pass.getByteCount()); in testDecodeReuseBasic() 555 int originalSize = original.getByteCount(); in testDecodeReuseScaling() 564 assertEquals(originalSize, reduced.getByteCount() * 16); in testDecodeReuseScaling() 574 int originalSize = original.getByteCount(); in testDecodeReuseDoubleScaling() 586 assertEquals(originalSize, doubleScaled.getByteCount()); in testDecodeReuseDoubleScaling()
|
D | BitmapColorSpaceTest.java | 404 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifyGetPixel() 437 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifyGetPixels() 502 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifySetPixel() 548 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifySetPixels()
|
D | BitmapTest.java | 1075 assertEquals(mBitmap.getByteCount(), alloc); in testGetAllocationByteCount() 1079 assertEquals(mBitmap.getByteCount(), alloc); in testGetAllocationByteCount() 1084 assertEquals(mBitmap.getByteCount(), 100); in testGetAllocationByteCount() 1214 assertEquals(mBitmap.getByteCount() * 8, alloc); in testReconfigure() 1448 assertEquals(mBitmap.getByteCount() * 2, alloc); in testSetConfig() 1473 assertEquals(mBitmap.getByteCount() * 2, alloc); in testSetHeight() 1745 assertEquals(mBitmap.getByteCount() * 2, alloc); in testSetWidth()
|
/cts/tests/tests/midi/src/android/midi/cts/ |
D | MidiEchoTest.java | 132 public synchronized int getByteCount() { in getByteCount() method in MidiEchoTest.MyLoggingReceiver 169 while ((getByteCount() < count) in waitForBytes()
|