Searched refs:BYTES_PER_SHORT (Results 1 – 2 of 2) sorted by relevance
59 mByteBuffer = ByteBuffer.allocateDirect(numberOfShorts * Constant.BYTES_PER_SHORT); in PipeByteBuffer()73 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in read()97 int byteBufferFront = front * Constant.BYTES_PER_SHORT; // start reading from here in read()121 byteBufferFront += Constant.BYTES_PER_SHORT; in byteBufferToArray()147 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in availableToRead()165 mByteBuffer.putInt(mMaxValues * Constant.BYTES_PER_SHORT, 0); in flush()
37 public static final int BYTES_PER_SHORT = 2; field in Constant