Home
last modified time | relevance | path

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

/cts/tests/tests/rsblas/src/android/renderscript/cts/
Dverify.rscript24 #define printCell(txt, a, xy) \
33 rsDebug(txt, rsGetElementAt_uchar4(a, xy.x, xy.y)); \
36 rsDebug(txt, rsGetElementAt_uchar3(a, xy.x, xy.y)); \
39 rsDebug(txt, rsGetElementAt_uchar2(a, xy.x, xy.y)); \
42 rsDebug(txt, rsGetElementAt_uchar(a, xy.x, xy.y)); \
48 rsDebug(txt, rsGetElementAt_float4(a, xy.x, xy.y)); \
51 rsDebug(txt, rsGetElementAt_float3(a, xy.x, xy.y)); \
54 rsDebug(txt, rsGetElementAt_float2(a, xy.x, xy.y)); \
57 rsDebug(txt, rsGetElementAt_float(a, xy.x, xy.y)); \
63 rsDebug(txt, rsGetElementAt_double4(a, xy.x, xy.y)); \
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dverify.rscript206 #define printCell(txt, a, xy) \
215 rsDebug(txt, rsGetElementAt_uchar4(a, xy.x, xy.y)); \
218 rsDebug(txt, rsGetElementAt_uchar3(a, xy.x, xy.y)); \
221 rsDebug(txt, rsGetElementAt_uchar2(a, xy.x, xy.y)); \
224 rsDebug(txt, rsGetElementAt_uchar(a, xy.x, xy.y)); \
230 rsDebug(txt, rsGetElementAt_float4(a, xy.x, xy.y)); \
233 rsDebug(txt, rsGetElementAt_float3(a, xy.x, xy.y)); \
236 rsDebug(txt, rsGetElementAt_float2(a, xy.x, xy.y)); \
239 rsDebug(txt, rsGetElementAt_float(a, xy.x, xy.y)); \
245 rsDebug(txt, rsGetElementAt_double4(a, xy.x, xy.y)); \
[all …]
Dintrinsic_colormatrix.rscript42 pin.xy = rsGetElementAt_float2(in, x, y);
60 u.xy = rsGetElementAt_uchar2(in, x, y);
81 rsSetElementAt_float2(out, pin.xy, x, y);
99 rsSetElementAt_uchar2(out, u.xy, x, y);
/cts/tests/tests/graphics/assets/shaders/
Dcompute_write.comp7 imageStore(image, ivec2(gl_GlobalInvocationID.xy),
9 gl_LocalInvocationID.xy / 8.0,
10 gl_GlobalInvocationID.xy / 64.0
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java339 int[] xy = new int[2]; in injectStylusDownEvent() local
340 view.getLocationOnScreen(xy); in injectStylusDownEvent()
341 x += xy[0]; in injectStylusDownEvent()
342 y += xy[1]; in injectStylusDownEvent()
379 int[] xy = new int[2]; in injectStylusEvent() local
380 view.getLocationOnScreen(xy); in injectStylusEvent()
381 x += xy[0]; in injectStylusEvent()
382 y += xy[1]; in injectStylusEvent()
399 final int[] xy = new int[2]; in injectFingerEventOnViewCenter() local
400 view.getLocationOnScreen(xy); in injectFingerEventOnViewCenter()
[all …]
DNavigationBarInfo.java112 final int[] xy = new int[2]; in getInstance()
113 view.getLocationOnScreen(xy); in getInstance()
114 final int x = xy[0]; in getInstance()
115 final int y = xy[1]; in getInstance()
/cts/tests/tests/rscpp/src/android/cts/rscpp/
Dverify.rscript219 #define printCell(txt, a, xy) \
228 rsDebug(txt, rsGetElementAt_uchar4(a, xy.x, xy.y)); \
231 rsDebug(txt, rsGetElementAt_uchar3(a, xy.x, xy.y)); \
234 rsDebug(txt, rsGetElementAt_uchar2(a, xy.x, xy.y)); \
237 rsDebug(txt, rsGetElementAt_uchar(a, xy.x, xy.y)); \
243 rsDebug(txt, rsGetElementAt_float4(a, xy.x, xy.y)); \
246 rsDebug(txt, rsGetElementAt_float3(a, xy.x, xy.y)); \
249 rsDebug(txt, rsGetElementAt_float2(a, xy.x, xy.y)); \
252 rsDebug(txt, rsGetElementAt_float(a, xy.x, xy.y)); \
297 rsDebug("verify failure at xy", errorLoc);
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellUtils.java98 final int[] xy = new int[2]; in tap() local
99 view.getLocationOnScreen(xy); in tap()
102 final int x = (int) (xy[0] + (viewWidth / 2.0f)); in tap()
103 final int y = (int) (xy[1] + (viewHeight / 2.0f)); in tap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHifiUltrasoundTestActivity.java40 import com.androidplot.xy.PointLabelFormatter;
41 import com.androidplot.xy.LineAndPointFormatter;
42 import com.androidplot.xy.SimpleXYSeries;
43 import com.androidplot.xy.XYPlot;
44 import com.androidplot.xy.XYSeries;
45 import com.androidplot.xy.XYStepMode;
DHifiUltrasoundSpeakerTestActivity.java40 import com.androidplot.xy.PointLabelFormatter;
41 import com.androidplot.xy.LineAndPointFormatter;
42 import com.androidplot.xy.SimpleXYSeries;
43 import com.androidplot.xy.XYPlot;
44 import com.androidplot.xy.XYSeries;
45 import com.androidplot.xy.XYStepMode;
/cts/tests/tests/view/src/android/view/cts/
DViewUnbufferedTest.java175 final int[] xy = new int[2]; in getViewLocationOnScreen() local
176 view.getLocationOnScreen(xy); in getViewLocationOnScreen()
177 return xy; in getViewLocationOnScreen()
181 final int[] xy = getViewLocationOnScreen(view); in getViewCenterOnScreen() local
185 return new Point(xy[0] + viewWidth / 2, xy[1] + viewHeight / 2); in getViewCenterOnScreen()
DTooltipTest.java235 final int[] xy = new int[2]; in obtainMotionEvent() local
236 target.getLocationOnScreen(xy); in obtainMotionEvent()
238 xy[0] + target.getWidth() / 2 + offsetX, xy[1] + target.getHeight() / 2 + offsetY, in obtainMotionEvent()
DViewTest.java515 final int[] xy = new int[2]; in testMouseEventCallsGetPointerIcon() local
516 view.getLocationOnScreen(xy); in testMouseEventCallsGetPointerIcon()
517 int x = xy[0] + view.getWidth() / 2; in testMouseEventCallsGetPointerIcon()
518 int y = xy[1] + view.getHeight() / 2; in testMouseEventCallsGetPointerIcon()
2487 int[] xy = new int[2]; in testSetAllowClickWhenDisabled() local
2488 mockView.getLocationOnScreen(xy); in testSetAllowClickWhenDisabled()
2492 final float x = xy[0] + viewWidth / 2.0f; in testSetAllowClickWhenDisabled()
2493 final float y = xy[1] + viewHeight / 2.0f; in testSetAllowClickWhenDisabled()
3268 int[] xy = new int[2]; in testDispatchTouchEvent() local
3269 mockView1.getLocationOnScreen(xy); in testDispatchTouchEvent()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java160 float xy = x * y; in quaternionMatrixOpenGL() local
168 matrix[4] = 2f * (xy - wz); in quaternionMatrixOpenGL()
172 matrix[1] = 2f * (xy + wz); in quaternionMatrixOpenGL()
/cts/tests/tests/widget/src/android/widget/cts/
DMediaControllerTest.java239 final int[] xy = new int[2]; in testOnTrackballEvent() local
240 videoView.getLocationOnScreen(xy); in testOnTrackballEvent()
245 final float x = xy[0] + viewWidth / 2.0f; in testOnTrackballEvent()
246 final float y = xy[1] + viewHeight / 2.0f; in testOnTrackballEvent()
DPopupWindowTest.java1630 int[] xy = new int[2]; in testSetTouchInterceptor() local
1631 mPopupWindow.getContentView().getLocationOnScreen(xy); in testSetTouchInterceptor()
1634 final float x = xy[0] + (viewWidth / 2.0f); in testSetTouchInterceptor()
1635 float y = xy[1] + (viewHeight / 2.0f); in testSetTouchInterceptor()
DTextViewTest.java9666 final int[] xy = new int[2]; in createMouseHoverEvent() local
9667 view.getLocationOnScreen(xy); in createMouseHoverEvent()
9670 float x = xy[0] + viewWidth / 2.0f; in createMouseHoverEvent()
9671 float y = xy[1] + viewHeight / 2.0f; in createMouseHoverEvent()
/cts/tests/tests/car/src/android/car/cts/
DCarDisplayInputLockTest.java297 int[] xy = new int[2]; in obtainMotionEvent() local
298 target.getLocationOnScreen(xy); in obtainMotionEvent()
300 xy[0] + target.getWidth() / 2, xy[1] + target.getHeight() / 2, in obtainMotionEvent()
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/
Dshadertoy_shader.cpp88 gl_Position = vec4(pos.xy, 0.0, 1.0); in CreateShader()
109 mainImage(shader_color, gl_FragCoord.xy); in CreateShader()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DFullScreenMagnificationGestureHandlerTest.java228 int[] xy = new int[2]; in setUp() local
229 view.getLocationOnScreen(xy); in setUp()
230 mNavigationBarTapLocation = new PointF(xy[0] + view.getWidth() / 2, navBarCenterY); in setUp()
231 mTapLocation = new PointF(xy[0] + view.getWidth() / 2, xy[1] + view.getHeight() / 2); in setUp()
/cts/tests/openglperf2/jni/graphics/
DMatrix.cpp297 float xy = x * y; in newRotate() local
304 d[4] = xy * nc - zs; in newRotate()
306 d[1] = xy * nc + zs; in newRotate()
/cts/tests/openglperf2/assets/fragment/
Dblur33 vec2 coords = v_TexCoordinate.xy + ((float(i) - 5.0) * u_Scale);
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java267 final int[] xy = new int[2]; in getViewLocationOnScreen() local
268 view.getLocationOnScreen(xy); in getViewLocationOnScreen()
269 return xy; in getViewLocationOnScreen()
273 final int[] xy = getViewLocationOnScreen(view); in getViewCenterOnScreen() local
277 return new Point(xy[0] + viewWidth / 2, xy[1] + viewHeight / 2); in getViewCenterOnScreen()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DRawConverter.java1164 double[] xy = calculateCIExyCoordinates(neutralGuess[0], neutralGuess[1], in findDngInterpolationFactor() local
1167 double colorTemperature = calculateColorTemperature(xy[0], xy[1]); in findDngInterpolationFactor()
1191 Log.d(TAG, "xy coordinate: " + Arrays.toString(xy)); in findDngInterpolationFactor()
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm32 …^�ְ<l�i�XVR�/��T5L���{�fA���<�|(�i��y�i�}�� ^��'���P�<�,g���xy�K�Ìn�7�@�Kc ��Qp<�