Home
last modified time | relevance | path

Searched refs:FLOAT_SIZE (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestView.java86 final static int FLOAT_SIZE = 4; field in TestView.Grid
92 final static int VERTEX_SIZE = 3 * FLOAT_SIZE;
180 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE); in set()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java58 private final static int FLOAT_SIZE = 4; field in ImageShader
174 mValues = ByteBuffer.allocateDirect(values.length * FLOAT_SIZE) in initBuffer()
402 attr.set(false, FLOAT_SIZE * components, components, GLES20.GL_FLOAT, data); in setAttributeValues()
646 attr.set(false, FLOAT_SIZE * 2, 2, GLES20.GL_FLOAT, mSourceCoords); in updateSourceCoordAttribute()
658 attr.set(false, FLOAT_SIZE * 2, 2, GLES20.GL_FLOAT, mTargetCoords); in updateTargetCoordAttribute()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DDrawRectFilter.java110 final int FLOAT_SIZE = 4; in renderBox() local
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java38 private static final int FLOAT_SIZE = Float.SIZE / Byte.SIZE; field in GLES20Canvas
42 private static final int VERTEX_STRIDE = COORDS_PER_VERTEX * FLOAT_SIZE;
298 int size = values.length * FLOAT_SIZE; in createBuffer()
943 return uploadBuffer(buf, FLOAT_SIZE); in uploadBuffer()