Home
last modified time | relevance | path

Searched refs:x1 (Results 1 – 25 of 94) sorted by relevance

1234

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dintrinsic_convolve3x3.rscript26 uint32_t x1 = min((int32_t)x+1, gWidth-1);
31 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1));
34 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y));
37 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y2));
67 uint32_t x1 = min((int32_t)x+1, gWidth-1);
72 float3 p00 = convert_float3(rsGetElementAt_uchar3(gIn, x1, y1));
75 float3 p10 = convert_float3(rsGetElementAt_uchar3(gIn, x1, y));
78 float3 p20 = convert_float3(rsGetElementAt_uchar3(gIn, x1, y2));
108 uint32_t x1 = min((int32_t)x+1, gWidth-1);
113 float2 p00 = convert_float2(rsGetElementAt_uchar2(gIn, x1, y1));
[all …]
Dintrinsic_convolve5x5.rscript28 uint32_t x1 = max((int32_t)x-1, 0);
40 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1]
46 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6]
52 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[11]
58 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y3)) * gCoeffs[16]
64 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y4)) * gCoeffs[21]
75 uint32_t x1 = max((int32_t)x-1, 0);
87 + convert_float3(rsGetElementAt_uchar3(gIn, x1, y0)) * gCoeffs[1]
93 + convert_float3(rsGetElementAt_uchar3(gIn, x1, y1)) * gCoeffs[6]
99 + convert_float3(rsGetElementAt_uchar3(gIn, x1, y2)) * gCoeffs[11]
[all …]
DIntrinsicHistogram.java75 int x1 = 0, y1 = 0, x2 = w, y2 = h; in testNorm() local
77 x1 = 11; in testNorm()
84 for (int x = x1; x < x2; x++) { 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
205 x1 = 11; in testDot()
212 for (int x = x1; x < x2; x++) { 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
60 x1 = 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveformView.java94 float x1 = i * xScale; in onDraw() local
95 if ((int) x0 != (int) x1) { in onDraw()
98 x0 = x1; in onDraw()
110 float x1 = i * xScale; in onDraw() local
112 canvas.drawLine(x0, y0, x1, y1, mWavePaint); in onDraw()
113 x0 = x1; in onDraw()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DVirtualStylusTest.java166 final int x1 = 60, y1 = 60; in sendHoverEvents() local
171 sendMotionEvent(VirtualStylusMotionEvent.ACTION_MOVE, x1, y1, pressure, toolType); in sendHoverEvents()
172 sendMotionEvent(VirtualStylusMotionEvent.ACTION_UP, x1, y1, pressure, 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
250 sendMotionEvent(VirtualStylusMotionEvent.ACTION_MOVE, x1, y1, pressure, toolType, in verifyStylusTouchWithTilt()
252 sendMotionEvent(VirtualStylusMotionEvent.ACTION_UP, x1, y1, pressure, toolType, in verifyStylusTouchWithTilt()
263 x1, y1, toolType, expectedTiltRadians, expectedOrientationRadians), in verifyStylusTouchWithTilt()
265 x1, y1, toolType, expectedTiltRadians, expectedOrientationRadians))); in verifyStylusTouchWithTilt()
DVirtualTouchscreenTest.java118 final float x1 = 60f, y1 = 60f; in sendHoverEvents() local
122 sendHoverEvent(VirtualTouchEvent.ACTION_MOVE, x1, y1); in sendHoverEvents()
123 sendHoverEvent(VirtualTouchEvent.ACTION_UP, x1, y1); in sendHoverEvents()
129 createMotionEvent(MotionEvent.ACTION_HOVER_MOVE, x1, y1), in sendHoverEvents()
130 createMotionEvent(MotionEvent.ACTION_HOVER_EXIT, x1, y1))); in sendHoverEvents()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/check_cast/d/T_check_cast_2.smalis/
DT_check_cast_2.smali44 const v11, 0x1
75 add-int/lit16 v1, v1, 0x1
93 add-int/lit16 v1, v1, 0x1
109 add-int/lit16 v1, v1, 0x1
125 add-int/lit16 v1, v1, 0x1
141 add-int/lit16 v1, v1, 0x1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/d/T_aput_object_3.smalis/
DT_aput_object_3.smali36 const v0, 0x1
83 add-int/lit8 v1, v1, 0x1
97 add-int/lit8 v1, v1, 0x1
111 add-int/lit8 v1, v1, 0x1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_boolean/d/T_sget_boolean_9.smalis/
DStubInitError.smali30 const/4 v1, 0x1
34 const v1, 0x1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_short/d/T_sget_short_9.smalis/
DStubInitError.smali30 const/4 v1, 0x1
34 const v1, 0x1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_char/d/T_sget_char_9.smalis/
DStubInitError.smali30 const/4 v1, 0x1
34 const v1, 0x1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_byte/d/T_sget_byte_9.smalis/
DStubInitError.smali30 const/4 v1, 0x1
34 const v1, 0x1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sparse_switch/d/
DT_sparse_switch_2.smali36 const p1, -0x1
54 -0x1 -> :sswitch_7
DT_sparse_switch_7.smali36 const p1, -0x1
54 -0x1 -> :sswitch_7
DT_sparse_switch_3.smali36 const p1, -0x1
54 -0x1 -> :sswitch_7
DT_sparse_switch_13.smali38 const p1, -0x1
55 -0x1 -> :sswitch_8
DT_sparse_switch_6.smali36 const p1, -0x1
54 -0x1 -> :sswitch_7
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/packed_switch/d/
DT_packed_switch_4.smali37 const/4 p0, -0x1
52 .packed-switch -0x1
DT_packed_switch_7.smali37 const/4 v2, -0x1
52 .packed-switch -0x1
DT_packed_switch_8.smali37 const v2, -0x1
54 .packed-switch -0x1
DT_packed_switch_12.smali39 const/4 v2, -0x1
57 .packed-switch -0x1
DT_packed_switch_6.smali37 const/4 v2, -0x1
52 .packed-switch -0x1
DT_packed_switch_5.smali37 const/4 p0, -0x1
52 .packed-switch -0x1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_exception/d/
DT_move_exception_2.smali35 const v1, 0x1
48 const v4, 0x1

1234