/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
Grid.java | 46 final int FLOAT_SIZE = 4; 48 mVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3) 50 mTexCoordBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 2)
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MatrixPaletteRenderer.java | 60 final static int FLOAT_SIZE = 4; 69 final static int VERTEX_SIZE = 8 * FLOAT_SIZE; 72 final static int VERTEX_PALETTE_INDEX_OFFSET = 7 * FLOAT_SIZE; 167 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE); 212 gl11.glTexCoordPointer(2, GL10.GL_FLOAT, VERTEX_SIZE, VERTEX_TEXTURE_BUFFER_INDEX_OFFSET * FLOAT_SIZE); 217 gl11Ext.glWeightPointerOES(2, GL10.GL_FLOAT, VERTEX_SIZE, VERTEX_WEIGHT_BUFFER_INDEX_OFFSET * FLOAT_SIZE);
|
CubeMapActivity.java | 232 final static int FLOAT_SIZE = 4; 239 final static int VERTEX_SIZE = 6 * FLOAT_SIZE; 327 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE); 371 gl11.glNormalPointer(GL10.GL_FLOAT, VERTEX_SIZE, VERTEX_NORMAL_BUFFER_INDEX_OFFSET * FLOAT_SIZE);
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
Sphere.java | 37 public static final int FLOAT_SIZE = 4; 65 mVertices = ByteBuffer.allocateDirect(nVertices * 5 * FLOAT_SIZE) 136 return 5*FLOAT_SIZE;
|
PlanetsRenderer.java | 193 3 * Sphere.FLOAT_SIZE); 400 * Sphere.FLOAT_SIZE, vertices, GLES20.GL_STATIC_DRAW);
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
TestView.java | 86 final static int FLOAT_SIZE = 4; 92 final static int VERTEX_SIZE = 3 * FLOAT_SIZE; 180 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE);
|
/external/replicaisland/src/com/replica/replicaisland/ |
Grid.java | 38 private static final int FLOAT_SIZE = 4; 93 mFloatVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3) 95 mFloatTexCoordBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 2) 100 mCoordinateSize = FLOAT_SIZE;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
DrawRectFilter.java | 113 final int FLOAT_SIZE = 4;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_sample.c | 202 LLVMValueRef int_size, float_size; local 270 float_size = lp_build_int_to_float(float_size_bld, int_size); 279 src[i] = float_size; 281 float_size = lp_build_concat(bld->gallivm, src, float_size_bld->type, num_quads); 284 float_size = lp_build_broadcast_scalar(coord_bld, float_size); 286 rho_vec = lp_build_mul(coord_bld, rho_vec, float_size); 325 rho_vec = lp_build_mul(float_size_bld, rho_vec, float_size); [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_sample.c | 202 LLVMValueRef int_size, float_size; local 270 float_size = lp_build_int_to_float(float_size_bld, int_size); 279 src[i] = float_size; 281 float_size = lp_build_concat(bld->gallivm, src, float_size_bld->type, num_quads); 284 float_size = lp_build_broadcast_scalar(coord_bld, float_size); 286 rho_vec = lp_build_mul(coord_bld, rho_vec, float_size); 325 rho_vec = lp_build_mul(float_size_bld, rho_vec, float_size); [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ImageShader.java | 58 private final static int FLOAT_SIZE = 4; 174 mValues = ByteBuffer.allocateDirect(values.length * FLOAT_SIZE) 402 attr.set(false, FLOAT_SIZE * components, components, GLES20.GL_FLOAT, data); 646 attr.set(false, FLOAT_SIZE * 2, 2, GLES20.GL_FLOAT, mSourceCoords); 658 attr.set(false, FLOAT_SIZE * 2, 2, GLES20.GL_FLOAT, mTargetCoords);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 38 private static final int FLOAT_SIZE = Float.SIZE / Byte.SIZE; 42 private static final int VERTEX_STRIDE = COORDS_PER_VERTEX * FLOAT_SIZE; 298 int size = values.length * FLOAT_SIZE; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 38 private static final int FLOAT_SIZE = Float.SIZE / Byte.SIZE; 42 private static final int VERTEX_STRIDE = COORDS_PER_VERTEX * FLOAT_SIZE; 298 int size = values.length * FLOAT_SIZE; [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 38 private static final int FLOAT_SIZE = Float.SIZE / Byte.SIZE; 42 private static final int VERTEX_STRIDE = COORDS_PER_VERTEX * FLOAT_SIZE; 298 int size = values.length * FLOAT_SIZE; [all...] |