Home
last modified time | relevance | path

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

12

/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java32 private final int Y = 1024; field in RSColorMatrixTest
34 …native boolean colorMatrixTest(String path, int X, int Y, byte[] input, byte[] output, float[] coe… in colorMatrixTest() argument
36 int[] baseAlloc = new int[X * Y * 4]; in testRSColorMatrix0()
38 byte[] byteAlloc = new byte[X * Y * 4]; in testRSColorMatrix0()
39 for (int i = 0; i < X * Y * 4; i++) { in testRSColorMatrix0()
56 build.setY(Y); in testRSColorMatrix0()
66 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSColorMatrix0()
67 …colorMatrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coef… in testRSColorMatrix0() local
76 int[] baseAlloc = new int[X * Y * 4]; in testRSColorMatrix1()
78 byte[] byteAlloc = new byte[X * Y * 4]; in testRSColorMatrix1()
[all …]
DRSBlurTest.java32 private final int Y = 1024; field in RSBlurTest
34 …native boolean blurTest(String path, int X, int Y, byte[] input, byte[] output, boolean singleChan… in blurTest() argument
36 int[] baseAlloc = new int[X * Y]; in testRSBlurOneChannel()
38 byte[] byteAlloc = new byte[X * Y]; in testRSBlurOneChannel()
39 for (int i = 0; i < X * Y; i++) { in testRSBlurOneChannel()
45 build.setY(Y); in testRSBlurOneChannel()
54 byte[] nativeByteAlloc = new byte[X * Y]; in testRSBlurOneChannel()
55 … blurTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, true); in testRSBlurOneChannel() local
65 int[] baseAlloc = new int[X * Y * 4]; in testRSBlurFourChannels()
67 byte[] byteAlloc = new byte[X * Y * 4]; in testRSBlurFourChannels()
[all …]
DRSConvolveTest.java32 private final int Y = 1024; field in RSConvolveTest
34 …native boolean convolveTest(String path, int X, int Y, byte[] input, byte[] output, float[] coeffs… in convolveTest() argument
36 int[] baseAlloc = new int[X * Y]; in testConvolve3x3()
49 byte[] byteAlloc = new byte[X * Y]; in testConvolve3x3()
50 for (int i = 0; i < X * Y; i++) { in testConvolve3x3()
56 build.setY(Y); in testConvolve3x3()
65 byte[] nativeByteAlloc = new byte[X * Y]; in testConvolve3x3()
66 …convolveTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs,… in testConvolve3x3() local
75 int[] baseAlloc = new int[X * Y]; in testConvolve5x5()
106 byte[] byteAlloc = new byte[X * Y]; in testConvolve5x5()
[all …]
DRSLUTTest.java32 private final int Y = 1024; field in RSLUTTest
34 native boolean lutTest(String path, int X, int Y, byte[] input, byte[] output); in lutTest() argument
36 int[] baseAlloc = new int[X * Y * 4]; in testRSLUT()
38 byte[] byteAlloc = new byte[X * Y * 4]; in testRSLUT()
39 for (int i = 0; i < X * Y * 4; i++) { in testRSLUT()
45 build.setY(Y); in testRSLUT()
58 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSLUT()
59 … lutTest(this.getContext().getCacheDir().toString().toString(), X, Y, byteAlloc, nativeByteAlloc); in testRSLUT() local
DRSBlendTest.java32 private static final int Y = 256; field in RSBlendTest
34 … native boolean blendTest(String path, int X, int Y, byte[] input, byte[] output, int optionFlag); in blendTest() argument
37 int[] baseAlloc = new int[X * Y * 4]; in testRSBlend()
39 byte[] byteAlloc = new byte[X * Y * 4]; in testRSBlend()
40 for (int i = 0; i < X * Y * 4; i++) { in testRSBlend()
44 int[] baseAlloc2 = new int[X * Y * 4]; in testRSBlend()
46 byte[] byteAlloc2 = new byte[X * Y * 4]; in testRSBlend()
47 for (int i = 0; i < X * Y * 4; i++) { in testRSBlend()
53 build.setY(Y); in testRSBlend()
111 … blendTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, byteAlloc2, iter); in testRSBlend() local
DRS3DLUTTest.java32 private final int Y = 1024; field in RS3DLUTTest
36 …native boolean lutTest(String path, int X, int Y, int lutSize, byte[] input, byte[] input2, byte[]… in lutTest() argument
38 int[] baseAlloc = new int[X * Y * 4]; in testRSLUT()
42 byte[] byteAlloc = new byte[X * Y * 4]; in testRSLUT()
44 for (int i = 0; i < X * Y * 4; i++) { in testRSLUT()
53 build.setY(Y); in testRSLUT()
69 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSLUT()
70 …lutTest(this.getContext().getCacheDir().toString(), X, Y, lutSize, byteAlloc, byteColorCube, nativ… in testRSLUT() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java23 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
193 rotation[Y] = location2[Y] - location1[Y]; in calculateRingRotation()
236 float[] rotationInverse = {0 - rotation[X], 0 - rotation[Y]}; in calculateRectangleHitbox()
237 float[] rotationNinety = {rotation[Y], 0 - rotation[X]}; in calculateRectangleHitbox()
238 float[] rotationNinetyInverse = {0 - rotation[Y], rotation[X]}; in calculateRectangleHitbox()
242 midFront[Y] = centre[Y] + (lengthScaleFactor * rotation[Y]); in calculateRectangleHitbox()
245 midRear[Y] = centre[Y] + (lengthScaleFactor * rotationInverse[Y]); in calculateRectangleHitbox()
250 frontLeft[Y] = midFront[Y] + (widthScaleFactor * rotationNinetyInverse[Y]); in calculateRectangleHitbox()
254 frontRight[Y] = midFront[Y] + (widthScaleFactor * rotationNinety[Y]); in calculateRectangleHitbox()
258 rearLeft[Y] = midRear[Y] + (widthScaleFactor * rotationNinetyInverse[Y]); in calculateRectangleHitbox()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DAntennaDirectionTest.java28 private static final float Y = 11.2f; field in AntennaDirectionTest
33 AntennaDirection antennaDirection = new AntennaDirection(X, Y, Z); in testConstructorsAndGetters()
36 assertThat(antennaDirection.getY()).isEqualTo(Y); in testConstructorsAndGetters()
42 AntennaDirection antennaDirection = new AntennaDirection(X, Y, Z); in testEquals()
43 AntennaDirection equalsAntennaDirection = new AntennaDirection(X, Y, Z); in testEquals()
49 AntennaDirection antennaDirection = new AntennaDirection(X, Y, Z); in testNotEquals()
56 AntennaDirection antennaDirection = new AntennaDirection(X, Y, Z); in testParcel()
68 AntennaDirection antennaDirection = new AntennaDirection(X, Y, Z); in testGetX()
74 AntennaDirection antennaDirection = new AntennaDirection(X, Y, Z); in testGetY()
75 assertThat(antennaDirection.getY()).isEqualTo(Y); in testGetY()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSingleSourceForEachTest.java28 private static final int Y = 768; field in SingleSourceForEachTest
45 i32TypeBuilder.setX(X).setY(Y); in setUp()
51 testInputArray = new int[X * Y]; in setUp()
52 testInputArray2 = new int[X * Y]; in setUp()
53 testOutputArray = new int[X * Y]; in setUp()
54 baselineOutputArray = new int[X * Y]; in setUp()
82 checkArray(baselineOutputArray, testOutputArray, Y, X, X); in testSingleInputKernelLaunch()
92 checkArray(baselineOutputArray, testOutputArray, Y, X, X); in testMultiInputKernelLaunch()
104 sc.setY(0, Y / 2); in testKernelLaunchWithOptions()
106 s.invoke_testLaunchOptions(testInputAlloc, testOutputAlloc, X, Y); in testKernelLaunchWithOptions()
[all …]
DTestCtxDim.java30 int Y = 5; in test() local
31 script.set_gDimY(Y); in test()
32 typeBuilder.setY(Y); in test()
Dyuv.rscript28 short Y = ((short)y) - 16;
33 p.x = (Y * 298 + V * 409 + 128) >> 8;
34 p.y = (Y * 298 - U * 100 - V * 208 + 128) >> 8;
35 p.z = (Y * 298 + U * 516 + 128) >> 8;
/cts/tests/tests/rscpp/librscpptest/
Drs_jni.cpp84 jint Y, in Java_android_cts_rscpp_RSBlurTest_blurTest() argument
103 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y); in Java_android_cts_rscpp_RSBlurTest_blurTest()
104 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y); in Java_android_cts_rscpp_RSBlurTest_blurTest()
107 inputAlloc->copy2DRangeFrom(0, 0, X, Y, input); in Java_android_cts_rscpp_RSBlurTest_blurTest()
112 outputAlloc->copy2DRangeTo(0, 0, X, Y, output); in Java_android_cts_rscpp_RSBlurTest_blurTest()
123 jint X, jint Y, jbyteArray inputByteArray, in Java_android_cts_rscpp_RSConvolveTest_convolveTest() argument
139 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y); in Java_android_cts_rscpp_RSConvolveTest_convolveTest()
140 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y); in Java_android_cts_rscpp_RSConvolveTest_convolveTest()
142 inputAlloc->copy2DRangeFrom(0, 0, X, Y, input); in Java_android_cts_rscpp_RSConvolveTest_convolveTest()
157 outputAlloc->copy2DRangeTo(0, 0, X, Y, output); in Java_android_cts_rscpp_RSConvolveTest_convolveTest()
[all …]
/cts/hostsidetests/securitybulletin/res/
Dcve_2017_0859.mp44 …ܿ�4d@n���S�߶��?����{��̃�$Kp�����o��W�Ť�n��;*����nc���Y�Rb�_�$9���r� Y���+�j�[�xv�����C�Y�
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java30 public static final int Y = PoseData.INDEX_TRANSLATION_Y; field in MathsUtils
52 float[] inDefaultOrientation = new float[]{location[X], location[Z], -location[Y]}; in convertToOpenGlCoordinates()
66 inCurrentOrientation = new float[]{coordinates[Y], -coordinates[X], in rotateCoordinates()
70 inCurrentOrientation = new float[]{coordinates[X], coordinates[Y], in rotateCoordinates()
74 inCurrentOrientation = new float[]{-coordinates[Y], coordinates[X], in rotateCoordinates()
230 float yDifference = point2[Y] - point1[Y]; in distanceCalculationOnXYPlane()
244 float yDifference = point2[Y] - point1[Y]; in distanceCalculationInXYZSpace()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DModelMatrixCalculator.java20 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
91 … Matrix.translateM(extrinsicsBasedMatrix, 0, requiredTranslations[X], requiredTranslations[Y], in calculateModelMatrix()
113 newModelMatrix[MATRIX_4X4_TRANSLATION_Y] += translationInOpenGlCoordinates[Y]; in calculateModelMatrix()
133 mDevice2IMUMatrix[MATRIX_4X4_TRANSLATION_Y] = translation[Y]; in setDevice2IMUMatrix()
143 mColorCamera2IMUMatrix[MATRIX_4X4_TRANSLATION_Y] = translation[Y]; in setColorCamera2IMUMatrix()
DConeModelMatrixCalculator.java22 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
63 relativeVector[X], relativeVector[Y], relativeVector[Z], in updateModelMatrix()
65 mUpVector[X], mUpVector[Y], mUpVector[Z]); in updateModelMatrix()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
DLight.java19 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
64 Matrix.translateM(getModelMatrix(), 0, position[X], position[Y], position[Z]); in Light()
79 Matrix.translateM(getModelMatrix(), 0, translation[X], translation[Y], translation[Z]); in updateLightPosition()
DRingRenderable.java25 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
65 rotation[X], rotation[Y], rotation[Z], in RingRenderable()
66 upVector[X], upVector[Y], upVector[Z]); in RingRenderable()
73 Matrix.translateM(translationTransformation, 0, position[X], position[Y], position[Z]); in RingRenderable()
141 lightPosInEyeSpace[X], lightPosInEyeSpace[Y], lightPosInEyeSpace[Z]); in draw()
DRenderable.java22 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
88 translations[X], translations[Y], translations[Z]); in setRotationAngle()
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm11 ~�*�{P���C!�+ڊ�����<�%�^�,?�*Ȣ���'�0%��~��)���Y�<�>�.�_�_ Y]���f���8p�]�h�P<�"��\��[� �4��…
20 …������� r���W����ܘ�7P<R�$��q�y �`��0�D�/}ɏR&���P<���P���Ү��Y�Ã�@�r����<w!i8�[…
23 …%;nx�J�Z�y`�㧫O`��r��F��Qp<��-�K?F�>��J3�5����� �2���<Y��(�p?Í����t^Y,�%��o�hf{l�@<Y���р�
25 …�P<�-18�+^�|��i.�x�Cј�T��1흑�<�)Z8��^�y�E��H��L��E2e�@zeP<R�$B� ,T���Yv��pk�������Ң�<� ��…
35 …��#���>�‹篊�M��vo�� �=/�<S �e�����q ����%��q���Cw3� <�>9TL�,3*�l�/�Y��&3:�����P@<�$����…
38 …�$�W}�a5��)P<Y0�D.E^=�[�'�e�-#�g�O�������0<�]�<x_�ڦ�)G�\��y�@��G��(�@<Y->xf��ARv�j�� �…
40 …��%�P��g���q��� <�"x��Å�AI\*�)�Xו�:���_��`<�����)'��̪i�m�;�"_�M�Y��<�������� z J��&e…
46 ���j~<aU~�4O��F7��4f�Y�F @<���5[:<oW�UU��Y��=���G{�T\��<Y%��"�[�dTUS����˳�>����vd�<Fd��!…
52 �x�4Y����0 
Dcve_2019_2245.ts37Y�Cy�>�Q��J��↟tͲ�w�������2�<�(7�����X*蒆��B����BH���1R�[(��Q�n� ��y�иQ����Q�P�F��!W���H��m��…
67 �'��F2�Eu9����T�BGU:M{���t$�M���j$&��6U_ u�,��#LE�K���N����!�陥]Y�G�1�Ȧ2Ӿ�f��ԇ�WA&H]SgUa<D�W�…
81 �A�h�f���7��h`�Y���D)�.Q �"��SG�1i���5U}!T́0�3��U]�|R{J��!0�[�y�]|���-ށeaԡ�BHe��]`�3���KF6 �%…
91 �����Q1���%UD��^��a�CJ0qS�͚�J!"mc&HL��0-�R�Y�Q�h���^��9V��U�^���c("UW��a�|�p��ЎȺ�66����#�}�e…
119 …�u��e�- ʡ�ބ�2&�N;]�2G��Q%x�~�� �q���"�Y6��:�fݖ~=���=t%��#�LU��,�Ԡ�}6��mP�a�SE�B��g4�…
128 …�� CXd�1����D2V�z6���C`t�9�IS�t�&�d�� h˕D�|��BA�PeoB[�:t�v6�蚋4����wD�Y��G�1ʒJsk��I��tKE …
131 …����i@u�B��-]�ph{����{л�Ncd�.VBm�||��G�1*�f� 2BG����Z(�c^�Q�j_6�� �Y�'�T&#�.Uw2�h�@G�F���…
135 4O�.�������T���jڒž��X���J`�8� A�K�2�\p �`�D�%_���.MQd�&m�e5�e�a�}�G�1ٵ��T$ɗ!d�%�Y�>�…
137 } oH� ���i7a�����A�{�&��?&otPd����=�OBZXd5&��t�M�>V��Y�`\�[]��6�~�6l$��@[�x�m$)�����0��bl��…
Dcve_2018_13925.ts38Y�Cy�>�Q��J��↟tͲ�w�������2�<�(7�����X*蒆��B����BH���1R�[(��Q�n� ��y�иQ����Q�P�F��!W���H��m��…
68 �'��F2�Eu9����T�BGU:M{���t$�M���j$&��6U_ u�,��#LE�K���N����!�陥]Y�G�1�Ȧ2Ӿ�f��ԇ�WA&H]SgUa<D�W�…
82 �A�h�f���7��h`�Y���D)�.Q �"��SG�1i���5U}!T́0�3��U]�|R{J��!0�[�y�]|���-ށeaԡ�BHe��]`�3���KF6 �%…
92 �����Q1���%UD��^��a�CJ0qS�͚�J!"mc&HL��0-�R�Y�Q�h���^��9V��U�^���c("UW��a�|�p��ЎȺ�66����#�}�e…
120 …�u��e�- ʡ�ބ�2&�N;]�2G��Q%x�~�� �q���"�Y6��:�fݖ~=���=t%��#�LU��,�Ԡ�}6��mP�a�SE�B��g4�…
129 …�� CXd�1����D2V�z6���C`t�9�IS�t�&�d�� h˕D�|��BA�PeoB[�:t�v6�蚋4����wD�Y��G�1ʒJsk��I��tKE …
132 …����i@u�B��-]�ph{����{л�Ncd�.VBm�||��G�1*�f� 2BG����Z(�c^�Q�j_6�� �Y�'�T&#�.Uw2�h�@G�F���…
136 4O�.�������T���jڒž��X���J`�8� A�K�2�\p �`�D�%_���.MQd�&m�e5�e�a�}�G�1ٵ��T$ɗ!d�%�Y�>�…
138 } oH� ���i7a�����A�{�&��?&otPd����=�OBZXd5&��t�M�>V��Y�`\�[]��6�~�6l$��@[�x�m$)�����0��bl��…
Dcve_2019_2244.ts37Y�Cy�>�Q��J��↟tͲ�w�������2�<�(7�����X*蒆��B����BH���1R�[(��Q�n� ��y�иQ����Q�P�F��!W���H��m��…
67 �'��F2�Eu9����T�BGU:M{���t$�M���j$&��6U_ u�,��#LE�K���N����!�陥]Y�G�1�Ȧ2Ӿ�f��ԇ�WA&H]SgUa<D�W�…
81 �A�h�f���7��h`�Y���D)�.Q �"��SG�1i���5U}!T́0�3��U]�|R{J��!0�[�y�]|���-ށeaԡ�BHe��]`�3���KF6 �%…
91 �����Q1���%UD��^��a�CJ0qS�͚�J!"mc&HL��0-�R�Y�Q�h���^��9V��U�^���c("UW��a�|�p��ЎȺ�66����#�}�e…
119 …�u��e�- ʡ�ބ�2&�N;]�2G��Q%x�~�� �q���"�Y6��:�fݖ~=���=t%��#�LU��,�Ԡ�}6��mP�a�SE�B��g4�…
128 …�� CXd�1����D2V�z6���C`t�9�IS�t�&�d�� h˕D�|��BA�PeoB[�:t�v6�蚋4����wD�Y��G�1ʒJsk��I��tKE …
131 …����i@u�B��-]�ph{����{л�Ncd�.VBm�||��G�1*�f� 2BG����Z(�c^�Q�j_6�� �Y�'�T&#�.Uw2�h�@G�F���…
135 4O�.�������T���jڒž��X���J`�8� A�K�2�\p �`�D�%_���.MQd�&m�e5�e�a�}�G�1ٵ��T$ɗ!d�%�Y�>�…
137 } oH� ���i7a�����A�{�&��?&otPd����=�OBZXd5&��t�M�>V��Y�`\�[]��6�~�6l$��@[�x�m$)�����0��bl��…
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java27 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
113 upVector[X], upVector[Y], upVector[Z]); in resetViewMatrix()
117 upVector[X], upVector[Y], upVector[Z]); in resetViewMatrix()
266 upVector[Y] = 1.0f; in getUpVector()
271 upVector[Y] = 0.0f; in getUpVector()
276 upVector[Y] = -1.0f; in getUpVector()
281 upVector[Y] = 0.0f; in getUpVector()
/cts/tests/tests/hardware/res/raw/
Dsony_dualshock4_toucheventtests.json66 // TODO(b/329585708): Add AXIS_RELATIVE_(X|Y) values back to these tests.

12