OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:trianglecoords
(Results
1 - 16
of
16
) sorted by null
/cts/tests/tests/opengl/src/android/opengl/cts/
RendererTwoShaderTest.java
53
float
triangleCoords
[] = { -0.5f, -0.25f, 0,
56
ByteBuffer byteBuffer = ByteBuffer.allocateDirect(
triangleCoords
.length * 4);
59
floatBuffer.put(
triangleCoords
);
RendererOneShaderTest.java
77
float
triangleCoords
[] = { -0.5f, -0.25f, 0,
80
ByteBuffer byteBuffer = ByteBuffer.allocateDirect(
triangleCoords
.length * 4);
83
floatBuffer.put(
triangleCoords
);
RendererThreeShaderTest.java
80
float
triangleCoords
[] = {-0.5f, -0.25f, 0,
83
ByteBuffer byteBuffer = ByteBuffer.allocateDirect(
triangleCoords
.length * 4);
86
floatBuffer.put(
triangleCoords
);
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
Triangle.java
33
static float
triangleCoords
[] = {
49
triangleCoords
.length * 4);
56
vertexBuffer.put(
triangleCoords
);
79
triangleCoords
.length / COORDS_PER_VERTEX);
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
Triangle.java
56
static float
triangleCoords
[] = {
62
private final int vertexCount =
triangleCoords
.length / COORDS_PER_VERTEX;
74
triangleCoords
.length * 4);
81
vertexBuffer.put(
triangleCoords
);
/cts/tests/vr/src/android/vr/cts/
RendererBasicTest.java
112
float
triangleCoords
[] = { -0.5f, -0.25f, 0,
115
ByteBuffer byteBuffer = ByteBuffer.allocateDirect(
triangleCoords
.length * 4);
118
floatBuffer.put(
triangleCoords
);
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
Gles2ColoredTriangleList.java
78
* @param
triangleCoords
flat array of 3D coordinates of triangle vertices in counterclockwise
82
public Gles2ColoredTriangleList(Program program, float[]
triangleCoords
, float[] color) {
83
if (
triangleCoords
.length % (VERTICE_PER_TRIANGLE * COORDS_PER_VERTEX) != 0) {
93
ByteBuffer bb = ByteBuffer.allocateDirect(
triangleCoords
.length * BYTES_PER_FLOAT);
102
mVertexBuffer.put(
triangleCoords
);
107
mNumCoords =
triangleCoords
.length / COORDS_PER_VERTEX;
OpenGLWatchFaceService.java
259
float[]
triangleCoords
= new float[]{
265
return new Gles2ColoredTriangleList(program,
triangleCoords
, color);
278
float[]
triangleCoords
= getMajorTickTriangleCoords(i);
279
System.arraycopy(
triangleCoords
, 0, trianglesCoords, i * 9,
triangleCoords
.length);
307
float[]
triangleCoords
= getMinorTickTriangleCoords(i);
308
System.arraycopy(
triangleCoords
, 0, trianglesCoords, index,
triangleCoords
.length);
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
Gles2ColoredTriangleList.java
78
* @param
triangleCoords
flat array of 3D coordinates of triangle vertices in counterclockwise
82
public Gles2ColoredTriangleList(Program program, float[]
triangleCoords
, float[] color) {
83
if (
triangleCoords
.length % (VERTICE_PER_TRIANGLE * COORDS_PER_VERTEX) != 0) {
93
ByteBuffer bb = ByteBuffer.allocateDirect(
triangleCoords
.length * BYTES_PER_FLOAT);
102
mVertexBuffer.put(
triangleCoords
);
107
mNumCoords =
triangleCoords
.length / COORDS_PER_VERTEX;
OpenGLWatchFaceService.java
259
float[]
triangleCoords
= new float[]{
265
return new Gles2ColoredTriangleList(program,
triangleCoords
, color);
278
float[]
triangleCoords
= getMajorTickTriangleCoords(i);
279
System.arraycopy(
triangleCoords
, 0, trianglesCoords, i * 9,
triangleCoords
.length);
307
float[]
triangleCoords
= getMinorTickTriangleCoords(i);
308
System.arraycopy(
triangleCoords
, 0, trianglesCoords, index,
triangleCoords
.length);
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
Gles2ColoredTriangleList.java
78
* @param
triangleCoords
flat array of 3D coordinates of triangle vertices in counterclockwise
82
public Gles2ColoredTriangleList(Program program, float[]
triangleCoords
, float[] color) {
83
if (
triangleCoords
.length % (VERTICE_PER_TRIANGLE * COORDS_PER_VERTEX) != 0) {
93
ByteBuffer bb = ByteBuffer.allocateDirect(
triangleCoords
.length * BYTES_PER_FLOAT);
102
mVertexBuffer.put(
triangleCoords
);
107
mNumCoords =
triangleCoords
.length / COORDS_PER_VERTEX;
OpenGLWatchFaceService.java
259
float[]
triangleCoords
= new float[]{
265
return new Gles2ColoredTriangleList(program,
triangleCoords
, color);
278
float[]
triangleCoords
= getMajorTickTriangleCoords(i);
279
System.arraycopy(
triangleCoords
, 0, trianglesCoords, i * 9,
triangleCoords
.length);
307
float[]
triangleCoords
= getMinorTickTriangleCoords(i);
308
System.arraycopy(
triangleCoords
, 0, trianglesCoords, index,
triangleCoords
.length);
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
Triangle.java
58
static float
triangleCoords
[] = {
65
private final int vertexCount =
triangleCoords
.length / COORDS_PER_VERTEX;
79
triangleCoords
.length * 4);
86
vertexBuffer.put(
triangleCoords
);
/frameworks/base/docs/html/training/graphics/opengl/
shapes.jd
59
static float
triangleCoords
[] = { // in counterclockwise order:
72
triangleCoords
.length * 4);
79
vertexBuffer.put(
triangleCoords
);
draw.jd
180
private final int vertexCount =
triangleCoords
.length / COORDS_PER_VERTEX;
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
GenImage.java
130
static float
triangleCoords
[] = { // in counterclockwise order:
212
vertexBuffer = createFloatBuffer(
triangleCoords
);
248
GLES20.glDrawArrays(GLES20.GL_TRIANGLES, 0,
triangleCoords
.length / 3);
Completed in 201 milliseconds