Searched refs:BYTES_PER_SHORT (Results 1 – 2 of 2) sorted by relevance
60 mByteBuffer = ByteBuffer.allocateDirect(numberOfShorts * Constant.BYTES_PER_SHORT); in PipeByteBuffer()74 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in read()98 int byteBufferFront = front * Constant.BYTES_PER_SHORT; // start reading from here in read()122 byteBufferFront += Constant.BYTES_PER_SHORT; in byteBufferToArray()148 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in availableToRead()166 mByteBuffer.putInt(mMaxValues * Constant.BYTES_PER_SHORT, 0); in flush()
43 public static final int BYTES_PER_SHORT = 2; field in Constant