Searched refs:coords (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java55 float[] coords,
60 java.nio.FloatBuffer coords
72 int[] coords,
77 java.nio.IntBuffer coords
89 short[] coords,
94 java.nio.ShortBuffer coords
106 int[] coords,
111 java.nio.IntBuffer coords
54 glDrawTexfvOES( float[] coords, int offset ) argument
71 glDrawTexivOES( int[] coords, int offset ) argument
88 glDrawTexsvOES( short[] coords, int offset ) argument
105 glDrawTexxvOES( int[] coords, int offset ) argument
/frameworks/base/libs/androidfw/tests/
H A DInputEvent_test.cpp38 PointerCoords coords; local
39 coords.clear();
41 ASSERT_EQ(0ULL, coords.bits);
46 PointerCoords coords; local
47 coords.clear();
50 ASSERT_EQ(0, coords.getAxisValue(0))
52 ASSERT_EQ(0, coords.getAxisValue(1))
56 ASSERT_EQ(OK, coords.setAxisValue(1, 5));
57 ASSERT_EQ(0x00000002ULL, coords.bits);
58 ASSERT_EQ(5, coords
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java416 MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) {
471 .append(" (").append(coords.x, 3).append(", ").append(coords.y, 3)
472 .append(") Pressure=").append(coords.pressure, 3)
473 .append(" Size=").append(coords.size, 3)
474 .append(" TouchMajor=").append(coords.touchMajor, 3)
475 .append(" TouchMinor=").append(coords.touchMinor, 3)
476 .append(" ToolMajor=").append(coords.toolMajor, 3)
477 .append(" ToolMinor=").append(coords.toolMinor, 3)
478 .append(" Orientation=").append((float)(coords
415 logCoords(String type, int action, int index, MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) argument
[all...]
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DTriangleRenderer.java133 float[] coords = {
142 mFVertexBuffer.put(coords[i*3+j] * 2.0f);
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A Dchecks.spec30 glDrawTexfvOES check coords 5
31 glDrawTexivOES check coords 5
32 glDrawTexsvOES check coords 5
33 glDrawTexxvOES check coords 5
H A 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/base/opengl/java/android/opengl/
H A DGLES11Ext.java196 // C function void glDrawTexsvOES ( const GLshort *coords )
199 short[] coords,
203 // C function void glDrawTexsvOES ( const GLshort *coords )
206 java.nio.ShortBuffer coords
209 // C function void glDrawTexivOES ( const GLint *coords )
212 int[] coords,
216 // C function void glDrawTexivOES ( const GLint *coords )
219 java.nio.IntBuffer coords
222 // C function void glDrawTexxvOES ( const GLfixed *coords )
225 int[] coords,
198 glDrawTexsvOES( short[] coords, int offset ) argument
211 glDrawTexivOES( int[] coords, int offset ) argument
224 glDrawTexxvOES( int[] coords, int offset ) argument
247 glDrawTexfvOES( float[] coords, int offset ) argument
[all...]
H A DGLErrorWrapper.java879 public void glDrawTexfvOES(float[] coords, int offset) { argument
881 mgl11Ext.glDrawTexfvOES(coords, offset);
885 public void glDrawTexfvOES(FloatBuffer coords) { argument
887 mgl11Ext.glDrawTexfvOES(coords);
897 public void glDrawTexivOES(int[] coords, int offset) { argument
899 mgl11Ext.glDrawTexivOES(coords, offset);
903 public void glDrawTexivOES(IntBuffer coords) { argument
905 mgl11Ext.glDrawTexivOES(coords);
916 public void glDrawTexsvOES(short[] coords, int offset) { argument
918 mgl11Ext.glDrawTexsvOES(coords, offse
922 glDrawTexsvOES(ShortBuffer coords) argument
934 glDrawTexxvOES(int[] coords, int offset) argument
940 glDrawTexxvOES(IntBuffer coords) argument
[all...]
H A DGLLogWrapper.java2639 public void glDrawTexfvOES(float[] coords, int offset) { argument
2641 arg("coords", 5, coords, offset);
2644 mgl11Ext.glDrawTexfvOES(coords, offset);
2648 public void glDrawTexfvOES(FloatBuffer coords) { argument
2650 arg("coords", 5, coords);
2652 mgl11Ext.glDrawTexfvOES(coords);
2668 public void glDrawTexivOES(int[] coords, int offset) { argument
2670 arg("coords",
2677 glDrawTexivOES(IntBuffer coords) argument
2698 glDrawTexsvOES(short[] coords, int offset) argument
2707 glDrawTexsvOES(ShortBuffer coords) argument
2727 glDrawTexxvOES(int[] coords, int offset) argument
2736 glDrawTexxvOES(IntBuffer coords) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dtexture.cpp1555 void glDrawTexsvOES(const GLshort* coords) {
1557 drawTexiOES(coords[0], coords[1], coords[2], coords[3], coords[4], c);
1559 void glDrawTexivOES(const GLint* coords) {
1561 drawTexiOES(coords[0], coords[1], coords[
[all...]
H A Dprimitives.cpp409 vec4_t& coords = v->texture[i]; local
412 texcoordArray[i].fetch(c, coords.v, tp);
415 coords.Q = 0x10000;
418 c->arrays.tex_transform[i](&tr, &coords, &coords);
422 const GGLfixed q = coords.Q;
425 coords.S = gglMulx(coords.S, qinv, 28);
426 coords.T = gglMulx(coords
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h451 bool PushCoords(ProgramVar attr, float* coords);
454 bool PushSourceCoords(float* coords);
457 bool PushTargetCoords(float* coords);
H A Dshader_program.cpp397 bool ShaderProgram::PushCoords(ProgramVar attr, float* coords) { argument
401 const uint8_t* data = reinterpret_cast<const uint8_t*>(coords);
410 bool ShaderProgram::PushSourceCoords(float* coords) { argument
412 return PushCoords(tex_coord_attr, coords);
415 bool ShaderProgram::PushTargetCoords(float* coords) { argument
417 return PushCoords(pos_coord_attr, coords);
531 // Source coords
537 // Target coords
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11Ext.cpp192 /* void glDrawTexsvOES ( const GLshort *coords ) */
201 GLshort *coords = (GLshort *) 0; local
206 _exceptionMessage = "coords == null";
224 coords = coords_base + offset;
227 (GLshort *)coords
240 /* void glDrawTexsvOES ( const GLshort *coords ) */
250 GLshort *coords = (GLshort *) 0; local
252 coords = (GLshort *)getPointer(_env, coords_buf, &_array, &_remaining, &_bufferOffset);
259 if (coords == NULL) {
261 coords
285 GLint *coords = (GLint *) 0; local
334 GLint *coords = (GLint *) 0; local
369 GLfixed *coords = (GLfixed *) 0; local
418 GLfixed *coords = (GLfixed *) 0; local
466 GLfloat *coords = (GLfloat *) 0; local
515 GLfloat *coords = (GLfloat *) 0; local
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp6785 /* void glDrawTexfvOES ( const GLfloat *coords ) */
6794 GLfloat *coords = (GLfloat *) 0; local
6799 _exceptionMessage = "coords == null";
6817 coords = coords_base + offset;
6820 (GLfloat *)coords
6833 /* void glDrawTexfvOES ( const GLfloat *coords ) */
6843 GLfloat *coords = (GLfloat *) 0; local
6845 coords = (GLfloat *)getPointer(_env, coords_buf, &_array, &_remaining, &_bufferOffset);
6852 if (coords == NULL) {
6854 coords
6891 GLint *coords = (GLint *) 0; local
6940 GLint *coords = (GLint *) 0; local
6988 GLshort *coords = (GLshort *) 0; local
7037 GLshort *coords = (GLshort *) 0; local
7085 GLfixed *coords = (GLfixed *) 0; local
7134 GLfixed *coords = (GLfixed *) 0; local
[all...]
/frameworks/base/include/androidfw/
H A DInputTransport.h92 PointerCoords coords; member in struct:android::InputMessage::Body::Motion::Pointer
364 pointers[i].copyFrom(msg->body.motion.pointers[i].coords);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java1738 // C function void glDrawTexfvOES ( const GLfloat *coords )
1741 float[] coords,
1745 // C function void glDrawTexfvOES ( const GLfloat *coords )
1748 java.nio.FloatBuffer coords
1761 // C function void glDrawTexivOES ( const GLint *coords )
1764 int[] coords,
1768 // C function void glDrawTexivOES ( const GLint *coords )
1771 java.nio.IntBuffer coords
1784 // C function void glDrawTexsvOES ( const GLshort *coords )
1787 short[] coords,
1740 glDrawTexfvOES( float[] coords, int offset ) argument
1763 glDrawTexivOES( int[] coords, int offset ) argument
1786 glDrawTexsvOES( short[] coords, int offset ) argument
1809 glDrawTexxvOES( int[] coords, int offset ) argument
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DTouchExplorer.java1077 PointerCoords[] coords = PointerCoords.createArray(pointerCount);
1080 event.getPointerCoords(i, coords[i]);
1082 coords[i].x -= mLongPressingPointerDeltaX;
1083 coords[i].y -= mLongPressingPointerDeltaY;
1088 props, coords, event.getMetaState(), event.getButtonState(),
1273 PointerCoords[] coords = new PointerCoords[1];
1274 coords[0] = new PointerCoords();
1275 coords[0].x = clickLocationX;
1276 coords[0].y = clickLocationY;
1279 coords,
[all...]
H A DScreenMagnifier.java292 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount);
295 event.getPointerCoords(i, coords[i]);
296 coords[i].x = (coords[i].x - scaledOffsetX) / scale;
297 coords[i].y = (coords[i].y - scaledOffsetY) / scale;
302 coords, 0, 0, 1.0f, 1.0f, event.getDeviceId(), 0, event.getSource(),
694 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount);
697 event.getPointerCoords(i, coords[i]);
703 event.getAction(), pointerCount, properties, coords,
[all...]
/frameworks/native/opengl/include/GLES/
H A 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/
H A DInputTransport.cpp333 msg.body.motion.pointers[i].coords.copyFrom(pointerCoords[i]);
651 PointerCoords& msgCoords = msg->body.motion.pointers[i].coords;
893 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords);
919 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h389 void GLTrace_glDrawTexsvOES(const GLshort *coords);
390 void GLTrace_glDrawTexivOES(const GLint *coords);
391 void GLTrace_glDrawTexxvOES(const GLfixed *coords);
393 void GLTrace_glDrawTexfvOES(const GLfloat *coords);
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1437 static void assertPointerCoords(const PointerCoords& coords, argument
1441 ASSERT_NEAR(x, coords.getAxisValue(AMOTION_EVENT_AXIS_X), 1);
1442 ASSERT_NEAR(y, coords.getAxisValue(AMOTION_EVENT_AXIS_Y), 1);
1443 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON);
1444 ASSERT_NEAR(size, coords.getAxisValue(AMOTION_EVENT_AXIS_SIZE), EPSILON);
1445 ASSERT_NEAR(touchMajor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), 1);
1446 ASSERT_NEAR(touchMinor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), 1);
1447 ASSERT_NEAR(toolMajor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), 1);
1448 ASSERT_NEAR(toolMinor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR), 1);
1449 ASSERT_NEAR(orientation, coords
[all...]
/frameworks/base/services/input/
H A DInputReader.cpp4166 // Adjust coords for surface orientation.
4195 // Write output coords.
5222 const PointerCoords& coords = mPointerGesture.currentGestureCoords[index]; local
5226 coords.getAxisValue(AMOTION_EVENT_AXIS_X),
5227 coords.getAxisValue(AMOTION_EVENT_AXIS_Y),
5228 coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE));
5234 const PointerCoords& coords = mPointerGesture.lastGestureCoords[index]; local
5238 coords.getAxisValue(AMOTION_EVENT_AXIS_X),
5239 coords.getAxisValue(AMOTION_EVENT_AXIS_Y),
5240 coords
5462 dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, const PointerProperties* properties, const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime) argument
[all...]
H A DInputReader.h1165 // computed hit box, specified in touch screen coords based on known display size
1510 // Pointer coords and ids for the current and previous pointer gesture.
1650 const PointerProperties* properties, const PointerCoords* coords,
1654 // Updates pointer coords and properties for pointers with specified ids that have moved.

Completed in 430 milliseconds

12