Home
last modified time | relevance | path

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

12

/frameworks/native/libs/input/tests/
DInputEvent_test.cpp37 PointerCoords coords; in TEST_F() local
38 coords.clear(); in TEST_F()
40 ASSERT_EQ(0ULL, coords.bits); in TEST_F()
45 PointerCoords coords; in TEST_F() local
46 coords.clear(); in TEST_F()
49 ASSERT_EQ(0, coords.getAxisValue(0)) in TEST_F()
51 ASSERT_EQ(0, coords.getAxisValue(1)) in TEST_F()
55 ASSERT_EQ(OK, coords.setAxisValue(1, 5)); in TEST_F()
56 ASSERT_EQ(5, coords.values[0]); in TEST_F()
57 ASSERT_EQ(0x4000000000000000ULL, coords.bits); in TEST_F()
[all …]
DStructLayout_test.cpp27 PointerCoords coords; member
31 CHECK_OFFSET(Foo, coords, 8); in TestPointerCoordsAlignment()
/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.java442 MotionEvent.PointerCoords coords, int id, MotionEvent event) { in logCoords() argument
499 .append(" (").append(coords.x, 3).append(", ").append(coords.y, 3) in logCoords()
500 .append(") Pressure=").append(coords.pressure, 3) in logCoords()
501 .append(" Size=").append(coords.size, 3) in logCoords()
502 .append(" TouchMajor=").append(coords.touchMajor, 3) in logCoords()
503 .append(" TouchMinor=").append(coords.touchMinor, 3) in logCoords()
504 .append(" ToolMajor=").append(coords.toolMajor, 3) in logCoords()
505 .append(" ToolMinor=").append(coords.toolMinor, 3) in logCoords()
506 .append(" Orientation=").append((float)(coords.orientation * 180 / Math.PI), 1) in logCoords()
509 coords.getAxisValue(MotionEvent.AXIS_TILT) * 180 / Math.PI), 1) in logCoords()
[all …]
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in19 void API_ENTRY(glMultiTexCoord1bvOES)(GLenum texture, const GLbyte * coords) {
20 CALL_GL_API(glMultiTexCoord1bvOES, texture, coords);
25 void API_ENTRY(glMultiTexCoord2bvOES)(GLenum texture, const GLbyte * coords) {
26 CALL_GL_API(glMultiTexCoord2bvOES, texture, coords);
31 void API_ENTRY(glMultiTexCoord3bvOES)(GLenum texture, const GLbyte * coords) {
32 CALL_GL_API(glMultiTexCoord3bvOES, texture, coords);
37 void API_ENTRY(glMultiTexCoord4bvOES)(GLenum texture, const GLbyte * coords) {
38 CALL_GL_API(glMultiTexCoord4bvOES, texture, coords);
43 void API_ENTRY(glTexCoord1bvOES)(const GLbyte * coords) {
44 CALL_GL_API(glTexCoord1bvOES, coords);
[all …]
/frameworks/native/opengl/tools/glgen/specs/gles11/
Dchecks.spec35 glDrawTexfvOES check coords 5
36 glDrawTexivOES check coords 5
37 glDrawTexsvOES check coords 5
38 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/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/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.cpp524 GLshort *coords = (GLshort *) 0; in android_glDrawTexsvOES___3SI() local
547 coords = coords_base + offset; in android_glDrawTexsvOES___3SI()
550 (GLshort *)coords in android_glDrawTexsvOES___3SI()
573 GLshort *coords = (GLshort *) 0; in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2() local
575 coords = (GLshort *)getPointer(_env, coords_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
582 if (coords == NULL) { in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
584 coords = (GLshort *) (_coordsBase + _bufferOffset); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
587 (GLshort *)coords in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
592 _env->ReleaseShortArrayElements(_array, (jshort*)coords, JNI_ABORT); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
608 GLint *coords = (GLint *) 0; in android_glDrawTexivOES___3II() local
[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.cpp390 bool ShaderProgram::PushCoords(ProgramVar attr, float* coords) { in PushCoords() argument
394 const uint8_t* data = reinterpret_cast<const uint8_t*>(coords); in PushCoords()
403 bool ShaderProgram::PushSourceCoords(float* coords) { in PushSourceCoords() argument
405 return PushCoords(tex_coord_attr, coords); in PushSourceCoords()
408 bool ShaderProgram::PushTargetCoords(float* coords) { in PushTargetCoords() argument
410 return PushCoords(pos_coord_attr, coords); in PushTargetCoords()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java426 public void setSourceCoords(float[] coords) { in setSourceCoords() argument
427 if (coords.length != 8) { in setSourceCoords()
429 + "got " + coords.length + " coordinates!"); in setSourceCoords()
431 mSourceCoords = Arrays.copyOf(coords, 8); in setSourceCoords()
474 public void setTargetCoords(float[] coords) { in setTargetCoords() argument
475 if (coords.length != 8) { in setTargetCoords()
477 + "got " + coords.length + " coordinates!"); in setTargetCoords()
481 mTargetCoords[i] = coords[i] * 2f - 1f; in setTargetCoords()
/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/accessibility/java/com/android/server/accessibility/
DScreenMagnifier.java403 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount); in handleMotionEventStateDelegating() local
406 event.getPointerCoords(i, coords[i]); in handleMotionEventStateDelegating()
407 coords[i].x = (coords[i].x - scaledOffsetX) / scale; in handleMotionEventStateDelegating()
408 coords[i].y = (coords[i].y - scaledOffsetY) / scale; in handleMotionEventStateDelegating()
413 coords, 0, 0, 1.0f, 1.0f, event.getDeviceId(), 0, event.getSource(), in handleMotionEventStateDelegating()
805 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount); in obtainEventWithOffsetTimeAndDownTime() local
808 event.getPointerCoords(i, coords[i]); in obtainEventWithOffsetTimeAndDownTime()
814 event.getAction(), pointerCount, properties, coords, in obtainEventWithOffsetTimeAndDownTime()
DTouchExplorer.java1035 PointerCoords[] coords = PointerCoords.createArray(pointerCount); in offsetEvent() local
1038 event.getPointerCoords(i, coords[i]); in offsetEvent()
1040 coords[i].x += offsetX; in offsetEvent()
1041 coords[i].y += offsetY; in offsetEvent()
1046 props, coords, event.getMetaState(), event.getButtonState(), in offsetEvent()
1175 PointerCoords[] coords = new PointerCoords[1]; in onDoubleTap() local
1176 coords[0] = new PointerCoords(); in onDoubleTap()
1177 coords[0].x = clickLocation.x; in onDoubleTap()
1178 coords[0].y = clickLocation.y; in onDoubleTap()
1181 coords, 0, 0, 1.0f, 1.0f, secondTapUp.getDeviceId(), 0, in onDoubleTap()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java782 double[] coords = get(CaptureResult.JPEG_GPS_COORDINATES); in getGpsLocation() local
785 if (areValuesAllNull(processingMethod, coords, timeStamp)) { in getGpsLocation()
796 if (coords != null) { in getGpsLocation()
797 l.setLatitude(coords[0]); in getGpsLocation()
798 l.setLongitude(coords[1]); in getGpsLocation()
799 l.setAltitude(coords[2]); in getGpsLocation()
812 double[] coords = { l.getLatitude(), l.getLongitude(), l.getAltitude() }; in setGpsLocation() local
817 set(CaptureRequest.JPEG_GPS_COORDINATES, coords); in setGpsLocation()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java499 float[] coords = new float[6]; in native_approximate() local
506 store(tmp, coords, 1, isFirstPoint); in native_approximate()
509 store(tmp, coords, 2, isFirstPoint); in native_approximate()
512 store(tmp, coords, 3, isFirstPoint); in native_approximate()
524 return coords; in native_approximate()
/frameworks/native/opengl/libs/
Dtrace.in163 TRACE_GL_VOID(glDrawTexfvOES, (const GLfloat * coords), (coords), 1, "const GLfloat *", coords)
165 TRACE_GL_VOID(glDrawTexivOES, (const GLint * coords), (coords), 1, "const GLint *", coords)
167 TRACE_GL_VOID(glDrawTexsvOES, (const GLshort * coords), (coords), 1, "const GLshort *", coords)
169 TRACE_GL_VOID(glDrawTexxvOES, (const GLfixed * coords), (coords), 1, "const GLfixed *", coords)
434 …bvOES, (GLenum texture, const GLbyte * coords), (texture, coords), 2, "GLenum", texture, "const GL…
436 …bvOES, (GLenum texture, const GLbyte * coords), (texture, coords), 2, "GLenum", texture, "const GL…
438 …bvOES, (GLenum texture, const GLbyte * coords), (texture, coords), 2, "GLenum", texture, "const GL…
440 …bvOES, (GLenum texture, const GLbyte * coords), (texture, coords), 2, "GLenum", texture, "const GL…
599 TRACE_GL_VOID(glTexCoord1bvOES, (const GLbyte * coords), (coords), 1, "const GLbyte *", coords)
601 TRACE_GL_VOID(glTexCoord2bvOES, (const GLbyte * coords), (coords), 1, "const GLbyte *", coords)
[all …]

12