Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dintrinsic_convolve3x3.rscript28 uint32_t y1 = min((int32_t)y+1, gHeight-1);
31 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1));
32 float4 p01 = convert_float4(rsGetElementAt_uchar4(gIn, x, y1));
33 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y1));
69 uint32_t y1 = min((int32_t)y+1, gHeight-1);
72 float3 p00 = convert_float3(rsGetElementAt_uchar3(gIn, x1, y1));
73 float3 p01 = convert_float3(rsGetElementAt_uchar3(gIn, x, y1));
74 float3 p02 = convert_float3(rsGetElementAt_uchar3(gIn, x2, y1));
110 uint32_t y1 = min((int32_t)y+1, gHeight-1);
113 float2 p00 = convert_float2(rsGetElementAt_uchar2(gIn, x1, y1));
[all …]
Dintrinsic_convolve5x5.rscript34 uint32_t y1 = max((int32_t)y-1, 0);
45 float4 p1 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5]
46 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6]
47 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7]
48 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8]
49 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y1)) * gCoeffs[9];
81 uint32_t y1 = max((int32_t)y-1, 0);
92 float3 p1 = convert_float3(rsGetElementAt_uchar3(gIn, x0, y1)) * gCoeffs[5]
93 + convert_float3(rsGetElementAt_uchar3(gIn, x1, y1)) * gCoeffs[6]
94 + convert_float3(rsGetElementAt_uchar3(gIn, x2, y1)) * gCoeffs[7]
[all …]
DIntrinsicHistogram.java75 int x1 = 0, y1 = 0, x2 = w, y2 = h; in testNorm() local
78 y1 = 11; in testNorm()
83 for (int y = y1; y < y2; y++) { in testNorm()
103 hist.forEach(mAin, makeClipper(x1, y1, x2, y2)); in testNorm()
203 int x1 = 0, y1 = 0, x2 = w, y2 = h; in testDot() local
206 y1 = 11; in testDot()
211 for (int y = y1; y < y2; y++) { in testDot()
230 hist.forEach_Dot(mAin, makeClipper(x1, y1, x2, y2)); in testDot()
DIntrinsicColorMatrix.java58 int x1 = 0, y1 = 0, x2 = w, y2 = h; in subtest() local
61 y1 = 11; in subtest()
69 mSi.forEach(mAllocSrc, mAllocDst, makeClipper(x1, y1, x2, y2)); in subtest()
73 mSr.invoke_reference(mat, add, mAllocSrc, mAllocRef, x1, y1, x2, y2); in subtest()
Dintrinsic_colormatrix.rscript21 int x1, int y1, int x2, int y2) {
29 for (uint32_t y = y1; y < y2; y++) {
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DVirtualStylusTest.java166 final int x1 = 60, y1 = 60; in sendHoverEvents() local
170 sendMotionEvent(VirtualStylusMotionEvent.ACTION_MOVE, x0, y1, pressure, toolType); in sendHoverEvents()
171 sendMotionEvent(VirtualStylusMotionEvent.ACTION_MOVE, x1, y1, pressure, toolType); in sendHoverEvents()
172 sendMotionEvent(VirtualStylusMotionEvent.ACTION_UP, x1, y1, pressure, toolType); in sendHoverEvents()
180 MotionEvent.ACTION_HOVER_MOVE, x0, y1, toolType), in sendHoverEvents()
182 MotionEvent.ACTION_HOVER_MOVE, x1, y1, toolType), in sendHoverEvents()
184 MotionEvent.ACTION_HOVER_EXIT, x1, y1, toolType))); in sendHoverEvents()
242 final int x1 = 50, y1 = 50; in verifyStylusTouchWithTilt() local
248 sendMotionEvent(VirtualStylusMotionEvent.ACTION_MOVE, x0, y1, pressure, toolType, in verifyStylusTouchWithTilt()
250 sendMotionEvent(VirtualStylusMotionEvent.ACTION_MOVE, x1, y1, pressure, toolType, in verifyStylusTouchWithTilt()
[all …]
DVirtualTouchscreenTest.java118 final float x1 = 60f, y1 = 60f; in sendHoverEvents() local
121 sendHoverEvent(VirtualTouchEvent.ACTION_MOVE, x0, y1); in sendHoverEvents()
122 sendHoverEvent(VirtualTouchEvent.ACTION_MOVE, x1, y1); in sendHoverEvents()
123 sendHoverEvent(VirtualTouchEvent.ACTION_UP, x1, y1); in sendHoverEvents()
128 createMotionEvent(MotionEvent.ACTION_HOVER_MOVE, x0, y1), in sendHoverEvents()
129 createMotionEvent(MotionEvent.ACTION_HOVER_MOVE, x1, y1), in sendHoverEvents()
130 createMotionEvent(MotionEvent.ACTION_HOVER_EXIT, x1, y1))); in sendHoverEvents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveformView.java102 float y1 = (localData[i] * mScaleY) + mOffsetY; in onDraw() local
103 ymin = Math.min(ymin, y1); in onDraw()
104 ymax = Math.max(ymax, y1); in onDraw()
111 float y1 = (localData[i] * mScaleY) + mOffsetY; in onDraw() local
112 canvas.drawLine(x0, y0, x1, y1, mWavePaint); in onDraw()
114 y0 = y1; in onDraw()
/cts/apps/CameraITS/utils/
Dimage_processing_utils.py1430 def area_of_triangle(x1, y1, x2, y2, x3, y3): argument
1444 area = abs((x1 * (y2 - y3) + x2 * (y3 - y1) + x3 * (y1 - y2)) / 2.0)
1448 def point_in_triangle(x1, y1, x2, y2, x3, y3, xp, yp, abs_tol): argument
1465 a = area_of_triangle(x1, y1, x2, y2, x3, y3)
1467 a2 = area_of_triangle(x1, y1, xp, yp, x3, y3)
1468 a3 = area_of_triangle(x1, y1, x2, y2, xp, yp)
Dopencv_processing_utils.py916 for (x1, y1) in cropped_faces_centers:
917 centers_dist = math.hypot(x-x1, y-y1)
921 abs(y-y1) < FACE_CENTER_MATCH_TOL_Y):
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java1218 final float y1 = 1000; in testAnimatingMagnification() local
1231 controller.setCenter(x1, y1, true); in testAnimatingMagnification()
/cts/tests/tests/security/res/raw/
Dcve_2018_13925.ts3393 ��}�8��[T�=�u�Y���F�[���H�0��}��7&V�^S&�rDj��C�7��cVE�{��'���kY��U.��y1���q�{�n6퇷�.[G�1���…
3755 …�*�)�MD�Ž�eJ�Ӷh�֝���H�/ubZv��/ߺ�?$�>^���NmiTJq$�DH ^���ס��p��&!�G�1��R���Ne��B��ogi~�lr�y1
5861 …R=VP����<�j�ʦS F�U��%�]J�ur=��)��t���F�G�1��U���wwV�>]��4��CU��&y1�JV��jȬm�N��m0.�#lu…
Dcve_2019_2244.ts3394 ��}�8��[T�=�u�Y���F�[���H�0��}��7&V�^S&�rDj��C�7��cVE�{��'���kY��U.��y1���q�{�n6퇷�.[G�1���…
3756 …�*�)�MD�Ž�eJ�Ӷh�֝���H�/ubZv��/ߺ�?$�>^���NmiTJq$�DH ^���ס��p��&!�G�1��R���Ne��B��ogi~�lr�y1
5864 …R=VP����<�j�ʦS F�U��%�]J�ur=��)��t���F�G�1��U���wwV�>]��4��CU��&y1�JV��jȬm�N��m0.�#lu…
Dcve_2019_2245.ts3733 …�*�)�MD�Ž�eJ�Ӷh�֝���H�/ubZv��/ߺ�?$�>^���NmiTJq$�DH ^���ס��p��&!�G�1��R���Ne��B��ogi~�lr�y1
6450 �9���qڧ�q,��#|�y1 ɨ��~Jã/��#^��hi*�C]?��� �SV)AmRm�t"�d� �kU��a���D�g� �%#bĘL�U n؋k�&�*��ꄪ�]G…