/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_convolve3x3.rscript | 28 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 …]
|
D | intrinsic_convolve5x5.rscript | 34 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 …]
|
D | IntrinsicHistogram.java | 75 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()
|
D | IntrinsicColorMatrix.java | 58 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()
|
D | intrinsic_colormatrix.rscript | 21 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/ |
D | VirtualStylusTest.java | 166 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 …]
|
D | VirtualTouchscreenTest.java | 118 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/ |
D | WaveformView.java | 102 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/ |
D | image_processing_utils.py | 1430 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)
|
D | opencv_processing_utils.py | 916 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/ |
D | AccessibilityMagnificationTest.java | 1218 final float y1 = 1000; in testAnimatingMagnification() local 1231 controller.setCenter(x1, y1, true); in testAnimatingMagnification()
|
/cts/tests/tests/security/res/raw/ |
D | cve_2018_13925.ts | 3393 ��}�8��[T�=�u�Y���F�[���H�0��}��7&V�^S&�rDj��C�7��cVE�{��'���kY��U.��y1���q�{�n6퇷�.[G1���… 3755 …�*�)�MD��eJ�Ӷh�֝���H�/ubZv��/ߺ�?$�>^���NmiTJq$�DH ^���ס��p��&!�G1��R���Ne��B��ogi~�lr�y1 5861 …R=VP����<�j�ʦS F�U��%�]J�ur=��)��t���F�G1��U���wwV�>]��4��CU��&y1�JV��jȬm�N��m0.�#lu…
|
D | cve_2019_2244.ts | 3394 ��}�8��[T�=�u�Y���F�[���H�0��}��7&V�^S&�rDj��C�7��cVE�{��'���kY��U.��y1���q�{�n6퇷�.[G1���… 3756 …�*�)�MD��eJ�Ӷh�֝���H�/ubZv��/ߺ�?$�>^���NmiTJq$�DH ^���ס��p��&!�G1��R���Ne��B��ogi~�lr�y1 5864 …R=VP����<�j�ʦS F�U��%�]J�ur=��)��t���F�G1��U���wwV�>]��4��CU��&y1�JV��jȬm�N��m0.�#lu…
|
D | cve_2019_2245.ts | 3733 …�*�)�MD��eJ�Ӷh�֝���H�/ubZv��/ߺ�?$�>^���NmiTJq$�DH ^���ס��p��&!�G1��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…
|