Home
last modified time | relevance | path

Searched refs:coords (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/libs/androidfw/tests/
DInputEvent_test.cpp38 PointerCoords coords; in TEST_F() local
39 coords.clear(); in TEST_F()
41 ASSERT_EQ(0ULL, coords.bits); in TEST_F()
46 PointerCoords coords; in TEST_F() local
47 coords.clear(); in TEST_F()
50 ASSERT_EQ(0, coords.getAxisValue(0)) in TEST_F()
52 ASSERT_EQ(0, coords.getAxisValue(1)) in TEST_F()
56 ASSERT_EQ(OK, coords.setAxisValue(1, 5)); in TEST_F()
57 ASSERT_EQ(0x00000002ULL, coords.bits); in TEST_F()
58 ASSERT_EQ(5, coords.values[0]); in TEST_F()
[all …]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL11Ext.java55 float[] coords, in glDrawTexfvOES() argument
60 java.nio.FloatBuffer coords in glDrawTexfvOES() argument
72 int[] coords, in glDrawTexivOES() argument
77 java.nio.IntBuffer coords in glDrawTexivOES() argument
89 short[] coords, in glDrawTexsvOES() argument
94 java.nio.ShortBuffer coords in glDrawTexsvOES() argument
106 int[] coords, in glDrawTexxvOES() argument
111 java.nio.IntBuffer coords in glDrawTexxvOES() argument
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.1ext3 void glDrawTexfvOES ( const GLfloat *coords )
5 void glDrawTexivOES ( const GLint *coords )
7 void glDrawTexsvOES ( const GLshort *coords )
9 void glDrawTexxvOES ( const GLfixed *coords )
Dglspec-checks28 glDrawTexfvOES check coords 5
29 glDrawTexivOES check coords 5
30 glDrawTexsvOES check coords 5
31 glDrawTexxvOES check coords 5
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java416 MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) { in logCoords() argument
471 .append(" (").append(coords.x, 3).append(", ").append(coords.y, 3) in logCoords()
472 .append(") Pressure=").append(coords.pressure, 3) in logCoords()
473 .append(" Size=").append(coords.size, 3) in logCoords()
474 .append(" TouchMajor=").append(coords.touchMajor, 3) in logCoords()
475 .append(" TouchMinor=").append(coords.touchMinor, 3) in logCoords()
476 .append(" ToolMajor=").append(coords.toolMajor, 3) in logCoords()
477 .append(" ToolMinor=").append(coords.toolMinor, 3) in logCoords()
478 .append(" Orientation=").append((float)(coords.orientation * 180 / Math.PI), 1) in logCoords()
481 coords.getAxisValue(MotionEvent.AXIS_TILT) * 180 / Math.PI), 1) in logCoords()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLES11Ext.java199 short[] coords, in glDrawTexsvOES() argument
206 java.nio.ShortBuffer coords in glDrawTexsvOES() argument
212 int[] coords, in glDrawTexivOES() argument
219 java.nio.IntBuffer coords in glDrawTexivOES() argument
225 int[] coords, in glDrawTexxvOES() argument
232 java.nio.IntBuffer coords in glDrawTexxvOES() argument
248 float[] coords, in glDrawTexfvOES() argument
255 java.nio.FloatBuffer coords in glDrawTexfvOES() argument
DGLErrorWrapper.java879 public void glDrawTexfvOES(float[] coords, int offset) { in glDrawTexfvOES() argument
881 mgl11Ext.glDrawTexfvOES(coords, offset); in glDrawTexfvOES()
885 public void glDrawTexfvOES(FloatBuffer coords) { in glDrawTexfvOES() argument
887 mgl11Ext.glDrawTexfvOES(coords); in glDrawTexfvOES()
897 public void glDrawTexivOES(int[] coords, int offset) { in glDrawTexivOES() argument
899 mgl11Ext.glDrawTexivOES(coords, offset); in glDrawTexivOES()
903 public void glDrawTexivOES(IntBuffer coords) { in glDrawTexivOES() argument
905 mgl11Ext.glDrawTexivOES(coords); in glDrawTexivOES()
916 public void glDrawTexsvOES(short[] coords, int offset) { in glDrawTexsvOES() argument
918 mgl11Ext.glDrawTexsvOES(coords, offset); in glDrawTexsvOES()
[all …]
DGLLogWrapper.java2639 public void glDrawTexfvOES(float[] coords, int offset) { in glDrawTexfvOES() argument
2641 arg("coords", 5, coords, offset); in glDrawTexfvOES()
2644 mgl11Ext.glDrawTexfvOES(coords, offset); in glDrawTexfvOES()
2648 public void glDrawTexfvOES(FloatBuffer coords) { in glDrawTexfvOES() argument
2650 arg("coords", 5, coords); in glDrawTexfvOES()
2652 mgl11Ext.glDrawTexfvOES(coords); in glDrawTexfvOES()
2668 public void glDrawTexivOES(int[] coords, int offset) { in glDrawTexivOES() argument
2670 arg("coords", 5, coords, offset); in glDrawTexivOES()
2673 mgl11Ext.glDrawTexivOES(coords, offset); in glDrawTexivOES()
2677 public void glDrawTexivOES(IntBuffer coords) { in glDrawTexivOES() argument
[all …]
/frameworks/native/opengl/tools/glgen/specs/gles11/
Dchecks.spec30 glDrawTexfvOES check coords 5
31 glDrawTexivOES check coords 5
32 glDrawTexsvOES check coords 5
33 glDrawTexxvOES check coords 5
DGLES11Ext.spec7 void glDrawTexsvOES ( const GLshort *coords )
8 void glDrawTexivOES ( const GLint *coords )
9 void glDrawTexxvOES ( const GLfixed *coords )
11 void glDrawTexfvOES ( const GLfloat *coords )
/frameworks/native/opengl/libagl/
Dtexture.cpp1555 void glDrawTexsvOES(const GLshort* coords) { in glDrawTexsvOES() argument
1557 drawTexiOES(coords[0], coords[1], coords[2], coords[3], coords[4], c); in glDrawTexsvOES()
1559 void glDrawTexivOES(const GLint* coords) { in glDrawTexivOES() argument
1561 drawTexiOES(coords[0], coords[1], coords[2], coords[3], coords[4], c); in glDrawTexivOES()
1572 void glDrawTexfvOES(const GLfloat* coords) { in glDrawTexfvOES() argument
1575 gglFloatToFixed(coords[0]), in glDrawTexfvOES()
1576 gglFloatToFixed(coords[1]), in glDrawTexfvOES()
1577 gglFloatToFixed(coords[2]), in glDrawTexfvOES()
1578 gglFloatToFixed(coords[3]), in glDrawTexfvOES()
1579 gglFloatToFixed(coords[4]), in glDrawTexfvOES()
[all …]
Dprimitives.cpp409 vec4_t& coords = v->texture[i]; in fetch_texcoord_impl() local
412 texcoordArray[i].fetch(c, coords.v, tp); in fetch_texcoord_impl()
415 coords.Q = 0x10000; in fetch_texcoord_impl()
418 c->arrays.tex_transform[i](&tr, &coords, &coords); in fetch_texcoord_impl()
422 const GGLfixed q = coords.Q; in fetch_texcoord_impl()
425 coords.S = gglMulx(coords.S, qinv, 28); in fetch_texcoord_impl()
426 coords.T = gglMulx(coords.T, qinv, 28); in fetch_texcoord_impl()
/frameworks/base/core/jni/
Dandroid_opengl_GLES11Ext.cpp202 GLshort *coords = (GLshort *) 0; in android_glDrawTexsvOES___3SI() local
219 coords = coords_base + offset; in android_glDrawTexsvOES___3SI()
222 (GLshort *)coords in android_glDrawTexsvOES___3SI()
238 GLshort *coords = (GLshort *) 0; in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2() local
240 coords = (GLshort *)getPointer(_env, coords_buf, &_array, &_remaining); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
246 (GLshort *)coords in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
251 releasePointer(_env, _array, coords, JNI_FALSE); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
261 GLint *coords = (GLint *) 0; in android_glDrawTexivOES___3II() local
278 coords = coords_base + offset; in android_glDrawTexivOES___3II()
281 (GLint *)coords in android_glDrawTexivOES___3II()
[all …]
Dcom_google_android_gles_jni_GLImpl.cpp5847 GLfloat *coords = (GLfloat *) 0; in android_glDrawTexfvOES___3FI() local
5864 coords = coords_base + offset; in android_glDrawTexfvOES___3FI()
5867 (GLfloat *)coords in android_glDrawTexfvOES___3FI()
5883 GLfloat *coords = (GLfloat *) 0; in android_glDrawTexfvOES__Ljava_nio_FloatBuffer_2() local
5885 coords = (GLfloat *)getPointer(_env, coords_buf, &_array, &_remaining); in android_glDrawTexfvOES__Ljava_nio_FloatBuffer_2()
5891 (GLfloat *)coords in android_glDrawTexfvOES__Ljava_nio_FloatBuffer_2()
5896 releasePointer(_env, _array, coords, JNI_FALSE); in android_glDrawTexfvOES__Ljava_nio_FloatBuffer_2()
5919 GLint *coords = (GLint *) 0; in android_glDrawTexivOES___3II() local
5936 coords = coords_base + offset; in android_glDrawTexivOES___3II()
5939 (GLint *)coords in android_glDrawTexivOES___3II()
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.h451 bool PushCoords(ProgramVar attr, float* coords);
454 bool PushSourceCoords(float* coords);
457 bool PushTargetCoords(float* coords);
Dshader_program.cpp397 bool ShaderProgram::PushCoords(ProgramVar attr, float* coords) { in PushCoords() argument
401 const uint8_t* data = reinterpret_cast<const uint8_t*>(coords); in PushCoords()
410 bool ShaderProgram::PushSourceCoords(float* coords) { in PushSourceCoords() argument
412 return PushCoords(tex_coord_attr, coords); in PushSourceCoords()
415 bool ShaderProgram::PushTargetCoords(float* coords) { in PushTargetCoords() argument
417 return PushCoords(pos_coord_attr, coords); in PushTargetCoords()
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DTriangleRenderer.java133 float[] coords = { in Triangle() local
142 mFVertexBuffer.put(coords[i*3+j] * 2.0f); in Triangle()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java1741 float[] coords, in glDrawTexfvOES() argument
1748 java.nio.FloatBuffer coords in glDrawTexfvOES() argument
1764 int[] coords, in glDrawTexivOES() argument
1771 java.nio.IntBuffer coords in glDrawTexivOES() argument
1787 short[] coords, in glDrawTexsvOES() argument
1794 java.nio.ShortBuffer coords in glDrawTexsvOES() argument
1810 int[] coords, in glDrawTexxvOES() argument
1817 java.nio.IntBuffer coords in glDrawTexxvOES() argument
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java934 PointerCoords[] coords = PointerCoords.createArray(pointerCount); in sendMotionEvent() local
937 event.getPointerCoords(i, coords[i]); in sendMotionEvent()
939 coords[i].x -= mLongPressingPointerDeltaX; in sendMotionEvent()
940 coords[i].y -= mLongPressingPointerDeltaY; in sendMotionEvent()
945 props, coords, event.getMetaState(), event.getButtonState(), in sendMotionEvent()
1120 PointerCoords[] coords = new PointerCoords[1]; in onDoubleTap() local
1121 coords[0] = new PointerCoords(); in onDoubleTap()
1122 coords[0].x = clickLocationX; in onDoubleTap()
1123 coords[0].y = clickLocationY; in onDoubleTap()
1126 coords, 0, 0, 1.0f, 1.0f, secondTapUp.getDeviceId(), 0, in onDoubleTap()
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in19 void API_ENTRY(glDrawTexsvOES)(const GLshort *coords) {
20 CALL_GL_API(glDrawTexsvOES, coords);
22 void API_ENTRY(glDrawTexivOES)(const GLint *coords) {
23 CALL_GL_API(glDrawTexivOES, coords);
25 void API_ENTRY(glDrawTexxvOES)(const GLfixed *coords) {
26 CALL_GL_API(glDrawTexxvOES, coords);
31 void API_ENTRY(glDrawTexfvOES)(const GLfloat *coords) {
32 CALL_GL_API(glDrawTexfvOES, coords);
/frameworks/base/include/androidfw/
DInputTransport.h92 PointerCoords coords; member
364 pointers[i].copyFrom(msg->body.motion.pointers[i].coords); in initializeFrom()
/frameworks/native/opengl/libs/
Ddebug.in48 TRACE_GL_VOID(glDrawTexfvOES, (const GLfloat *coords), (coords), 1, "const GLfloat *", coords)
50 TRACE_GL_VOID(glDrawTexivOES, (const GLint *coords), (coords), 1, "const GLint *", coords)
52 TRACE_GL_VOID(glDrawTexsvOES, (const GLshort *coords), (coords), 1, "const GLshort *", coords)
54 TRACE_GL_VOID(glDrawTexxvOES, (const GLfixed *coords), (coords), 1, "const GLfixed *", coords)
Dtrace.in98 TRACE_GL_VOID(glDrawTexfvOES, (const GLfloat *coords), (coords), 1, "const GLfloat *", coords)
100 TRACE_GL_VOID(glDrawTexivOES, (const GLint *coords), (coords), 1, "const GLint *", coords)
102 TRACE_GL_VOID(glDrawTexsvOES, (const GLshort *coords), (coords), 1, "const GLshort *", coords)
104 TRACE_GL_VOID(glDrawTexxvOES, (const GLfixed *coords), (coords), 1, "const GLfixed *", coords)
/frameworks/native/opengl/include/GLES/
Dglext.h566 GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords);
567 GL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords);
568 GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords);
570 GL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords);
575 typedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESPROC) (const GLshort *coords);
576 typedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESPROC) (const GLint *coords);
577 typedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords);
579 typedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESPROC) (const GLfloat *coords);
/frameworks/base/libs/androidfw/
DInputTransport.cpp333 msg.body.motion.pointers[i].coords.copyFrom(pointerCoords[i]); in publishMotionEvent()
651 PointerCoords& msgCoords = msg->body.motion.pointers[i].coords; in rewriteMessage()
893 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords); in initializeMotionEvent()
919 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords); in addSample()

12