Home
last modified time | relevance | path

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

1234

/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/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.java55 final int[] xy = new int[2]; in tap() local
56 view.getLocationOnScreen(xy); in tap()
59 final int x = (int) (xy[0] + (viewWidth / 2.0f)); in tap()
60 final int y = (int) (xy[1] + (viewHeight / 2.0f)); in tap()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextViewActions.java98 final int[] xy = new int[2]; in calculateCoordinates() local
99 textView.getLocationOnScreen(xy); in calculateCoordinates()
104 + xy[0], in calculateCoordinates()
106 + xy[1]}; in calculateCoordinates()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarInfo.java109 final int[] xy = new int[2]; in getInstance()
110 view.getLocationOnScreen(xy); in getInstance()
111 final int x = xy[0]; in getInstance()
112 final int y = xy[1]; in getInstance()
/cts/tests/tests/view/src/android/view/cts/
DViewUnbufferedTest.java165 final int[] xy = new int[2]; in getViewLocationOnScreen() local
166 view.getLocationOnScreen(xy); in getViewLocationOnScreen()
167 return xy; in getViewLocationOnScreen()
171 final int[] xy = getViewLocationOnScreen(view); in getViewCenterOnScreen() local
175 return new Point(xy[0] + viewWidth / 2, xy[1] + viewHeight / 2); in getViewCenterOnScreen()
DTooltipTest.java211 final int[] xy = new int[2]; in obtainMotionEvent() local
212 target.getLocationOnScreen(xy); in obtainMotionEvent()
214 xy[0] + target.getWidth() / 2 + offsetX, xy[1] + target.getHeight() / 2 + offsetY, in obtainMotionEvent()
DViewTest.java491 final int[] xy = new int[2]; in testMouseEventCallsGetPointerIcon() local
492 view.getLocationOnScreen(xy); in testMouseEventCallsGetPointerIcon()
495 float x = xy[0] + viewWidth / 2.0f; in testMouseEventCallsGetPointerIcon()
496 float y = xy[1] + viewHeight / 2.0f; in testMouseEventCallsGetPointerIcon()
2361 int[] xy = new int[2]; in testSetAllowClickWhenDisabled() local
2362 mockView.getLocationOnScreen(xy); in testSetAllowClickWhenDisabled()
2366 final float x = xy[0] + viewWidth / 2.0f; in testSetAllowClickWhenDisabled()
2367 final float y = xy[1] + viewHeight / 2.0f; in testSetAllowClickWhenDisabled()
3137 int[] xy = new int[2]; in testDispatchTouchEvent() local
3138 mockView1.getLocationOnScreen(xy); in testDispatchTouchEvent()
[all …]
/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/widget/src/android/widget/cts/
DMediaControllerTest.java189 final int[] xy = new int[2]; in testOnTrackballEvent() local
190 videoView.getLocationOnScreen(xy); in testOnTrackballEvent()
195 final float x = xy[0] + viewWidth / 2.0f; in testOnTrackballEvent()
196 final float y = xy[1] + viewHeight / 2.0f; in testOnTrackballEvent()
DPopupMenuTest.java477 final int[] xy = new int[2]; in injectMouseEvent() local
478 view.getLocationOnScreen(xy); in injectMouseEvent()
479 final int x = xy[0] + view.getWidth() / 2; in injectMouseEvent()
480 final int y = xy[1] + view.getHeight() / 2; in injectMouseEvent()
DPopupWindowTest.java1606 int[] xy = new int[2]; in testSetTouchInterceptor() local
1607 mPopupWindow.getContentView().getLocationOnScreen(xy); in testSetTouchInterceptor()
1610 final float x = xy[0] + (viewWidth / 2.0f); in testSetTouchInterceptor()
1611 float y = xy[1] + (viewHeight / 2.0f); in testSetTouchInterceptor()
/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/accessibilityservice/src/android/accessibilityservice/cts/
DFullScreenMagnificationGestureHandlerTest.java145 int[] xy = new int[2]; in setUp() local
146 view.getLocationOnScreen(xy); in setUp()
147 mTapLocation = new PointF(xy[0] + view.getWidth() / 2, xy[1] + view.getHeight() / 2); in setUp()
/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/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/camera/src/android/hardware/camera2/cts/rs/
DRawConverter.java627 double[] xy = calculateCIExyCoordinates(neutralGuess[0], neutralGuess[1], in findDngInterpolationFactor() local
630 double colorTemperature = calculateColorTemperature(xy[0], xy[1]); in findDngInterpolationFactor()
654 Log.d(TAG, "xy coordinate: " + Arrays.toString(xy)); in findDngInterpolationFactor()
/cts/tests/tests/media/assets/hls_variant/165340/
D21.ts599 …���������������������������I}�`�'owPy� ٶ\u���HD�� %O�x��h�j$o�6�4?Fz�o��xy�xg5g�o��iG�j��f٧…
D06.ts275 …f�ǣHAH���� .�W��/�ճMLҀ3�ݝHV����E��{ܟ��N(%�M�U�? 4V��fG�� ˆ���xy��w����4��LrˀO�����M…
/cts/tests/tests/media/assets/hls_variant/387360/
D04.ts211 …����^���l�����6����h(�I1r���^,kf�}�^ڗ?�ʯ�4��n���sg��F$�d�X����lNj��-<xy��N���j�7�u)@�������…
753 …,X�(�n��uA>��~Zh4ұ����o�7�A3�x�5>����,C�<3t��@�I���wo���d�KT1����:���xy���D^�� ���yKܞf�IA}…
/cts/tests/tests/media/assets/hls_variant/765178/
D10.ts240 …w�u��S��� �CL�+���>͛��9�q���G1���a>E4�>�M����/��t�ęoC|]�*�0�xy�G�_Xfe�z�l �ѭb?��…
2502 …����R��3���j_�J�m%Y`Ff|N�2[-�c�Q۝hwk@Ѐ�*��q���Rr-$����A�N�Μ��qK��xy��5?�t�7'��p��Ӛⲛ�}��…

1234