Home
last modified time | relevance | path

Searched refs:BYTES_PER_FLOAT (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
DConeRenderable.java70 … mPositionBuffer = ByteBuffer.allocateDirect(coneData.getVertexData().length * BYTES_PER_FLOAT) in initialise()
72 mColorBuffer = ByteBuffer.allocateDirect(colours.length * BYTES_PER_FLOAT) in initialise()
74 … mNormalsBuffer = ByteBuffer.allocateDirect(coneData.getNormalsData().length * BYTES_PER_FLOAT) in initialise()
DRingRenderable.java96 … mPositionBuffer = ByteBuffer.allocateDirect(ringData.getVertexData().length * BYTES_PER_FLOAT) in initialise()
98 mColorBuffer = ByteBuffer.allocateDirect(colours.length * BYTES_PER_FLOAT) in initialise()
100 … mNormalsBuffer = ByteBuffer.allocateDirect(ringData.getNormalsData().length * BYTES_PER_FLOAT) in initialise()
DRectangleRenderable.java57 mPositionBuffer = ByteBuffer.allocateDirect(mRectanglePositionData.length * BYTES_PER_FLOAT) in initialiseRectangle()
71 mColorBuffer = ByteBuffer.allocateDirect(colours.length * BYTES_PER_FLOAT) in initialiseRectangle()
DCameraPreviewRenderable.java78 … mPositionBuffer = ByteBuffer.allocateDirect(cameraPreviewPositionData.length * BYTES_PER_FLOAT) in initialiseCameraPreview()
81 mTextureBuffer = ByteBuffer.allocateDirect(CAMERA_TEXTURE_DATA.length * BYTES_PER_FLOAT) in initialiseCameraPreview()
DRenderable.java31 protected static final int BYTES_PER_FLOAT = 4; field in Renderable