Searched refs:FLOAT_SIZE (Results 1 – 3 of 3) sorted by relevance
45 private static final int FLOAT_SIZE = 4; field in BackgroundRenderer88 ByteBuffer bbVertices = ByteBuffer.allocateDirect(QUAD_COORDS.length * FLOAT_SIZE); in createOnGlThread()95 ByteBuffer.allocateDirect(numVertices * TEXCOORDS_PER_VERTEX * FLOAT_SIZE); in createOnGlThread()102 ByteBuffer.allocateDirect(numVertices * TEXCOORDS_PER_VERTEX * FLOAT_SIZE); in createOnGlThread()
38 private static final int FLOAT_SIZE = 4; field in Grid93 mFloatVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3) in Grid()95 mFloatTexCoordBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 2) in Grid()100 mCoordinateSize = FLOAT_SIZE; in Grid()