Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
DWedge.java63 float[] coords; in Wedge() local
74 coords = verts.clone(); in Wedge()
85 coords = verts.clone(); in Wedge()
90 mFVertexBuffer.put(coords[i * 3 + j] * 2.0f); in Wedge()
96 mTexBuffer.put(coords[i * 3 + j] * 2.0f + 0.5f); in Wedge()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java668 PointerCoords coords = new PointerCoords(); in testPointerCoordsDefaultConstructor() local
670 assertEquals(0f, coords.x, 0.0f); in testPointerCoordsDefaultConstructor()
671 assertEquals(0f, coords.y, 0.0f); in testPointerCoordsDefaultConstructor()
672 assertEquals(0f, coords.pressure, 0.0f); in testPointerCoordsDefaultConstructor()
673 assertEquals(0f, coords.size, 0.0f); in testPointerCoordsDefaultConstructor()
674 assertEquals(0f, coords.touchMajor, 0.0f); in testPointerCoordsDefaultConstructor()
675 assertEquals(0f, coords.touchMinor, 0.0f); in testPointerCoordsDefaultConstructor()
676 assertEquals(0f, coords.toolMajor, 0.0f); in testPointerCoordsDefaultConstructor()
677 assertEquals(0f, coords.toolMinor, 0.0f); in testPointerCoordsDefaultConstructor()
678 assertEquals(0f, coords.orientation, 0.0f); in testPointerCoordsDefaultConstructor()
[all …]
DTouchDelegateTest.java164 MotionEvent.PointerCoords[] coords = new MotionEvent.PointerCoords[pointerCount]; in dispatchMultiTouchMotionEventToActivity() local
170 coords[i] = new MotionEvent.PointerCoords(); in dispatchMultiTouchMotionEventToActivity()
171 coords[i].x = mActivity.x + i * 10; // small offset so that pointers do not overlap in dispatchMultiTouchMotionEventToActivity()
172 coords[i].y = y; in dispatchMultiTouchMotionEventToActivity()
176 properties, coords, 0, 0, 0, 0, in dispatchMultiTouchMotionEventToActivity()
DViewTest.java4089 MotionEvent.PointerCoords[] coords = new MotionEvent.PointerCoords[] { in testFilterTouchesWhenObscured() local
4093 1, props, coords, 0, 0, 0, 0, -1, 0, InputDevice.SOURCE_TOUCHSCREEN, in testFilterTouchesWhenObscured()
4096 1, props, coords, 0, 0, 0, 0, -1, 0, InputDevice.SOURCE_TOUCHSCREEN, in testFilterTouchesWhenObscured()
/cts/tests/openglperf2/assets/fragment/
Dblur33 vec2 coords = v_TexCoordinate.xy + ((float(i) - 5.0) * u_Scale);
34 color += texture2D(u_Texture, coords) * weights[i];
/cts/tests/tests/text/src/android/text/method/cts/
DBaseMovementMethodTest.java210 final MotionEvent.PointerCoords[] coords = new MotionEvent.PointerCoords[1]; in createScrollEvent() local
211 coords[0] = new MotionEvent.PointerCoords(); in createScrollEvent()
212 coords[0].setAxisValue(MotionEvent.AXIS_VSCROLL, vertical); in createScrollEvent()
213 coords[0].setAxisValue(MotionEvent.AXIS_HSCROLL, horizontal); in createScrollEvent()
216 pointerProperties, coords, meta, 0, 1.0f, 1.0f, 0, 0, in createScrollEvent()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java455 int[][] coords = new int[][] {{ww, hh}, {ww * 3, hh}, {ww * 3, hh * 3}, {ww, hh * 3}}; in checkRotatedFrameQuadrants() local
462 for (int i = 0; i < coords.length; i++) { in checkRotatedFrameQuadrants()
463 int[] c = coords[i]; in checkRotatedFrameQuadrants()