Home
last modified time | relevance | path

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

123

/cts/tests/tests/opengl/src/android/opengl/cts/
DColorBufferTest.java46 float g = 0.0f; in test_RGBA_1001() local
49 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1001()
51 float[] expectedColor = {r, g, b, a}; in test_RGBA_1001()
64 float g = 1.0f; in test_RGBA_1101() local
67 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1101()
68 float[] expectedColor = {r, g, b, a}; in test_RGBA_1101()
82 float g = 1.0f; in test_RGBA_1111() local
85 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1111()
87 float[] expectedColor = {r, g, b, a}; in test_RGBA_1111()
101 float g = 1.0f; in test_RGBA_0101() local
[all …]
DNativeColorBufferTest.java41 float g = 0.0f; in test_RGBA_1001() local
44 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1001()
46 float[] expectedColor = {r, g, b, a}; in test_RGBA_1001()
59 float g = 1.0f; in test_RGBA_1101() local
62 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1101()
63 float[] expectedColor = {r, g, b, a}; in test_RGBA_1101()
77 float g = 1.0f; in test_RGBA_1111() local
80 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1111()
82 float[] expectedColor = {r, g, b, a}; in test_RGBA_1111()
96 float g = 1.0f; in test_RGBA_0101() local
[all …]
/cts/tests/tests/systemui/src/android/systemui/cts/
DColorUtils.java26 int g = (argb >> 8) & 0xFF; in brightness() local
29 int V = Math.max(b, Math.max(r, g)); in brightness()
36 int g = (argb >> 8) & 0xFF; in hue() local
39 int V = Math.max(b, Math.max(r, g)); in hue()
40 int temp = Math.min(b, Math.min(r, g)); in hue()
49 final float cg = (V - g) / vtemp; in hue()
54 } else if (g == V) { in hue()
/cts/apps/CtsVerifier/include/colorchecker/
Dvec3.h37 Vec3<T> temp(mRed + param.r(), mGreen + param.g(), mBlue + param.b());
42 Vec3<T> temp(mRed - param.r(), mGreen - param.g(), mBlue - param.b());
54 mGreen * static_cast<U>(param.g()),
72 assert((param.r() != 0.f) && (param.g() != 0.f) && (param.b() != 0.f));
74 static_cast<float>(mGreen) / static_cast<float>(param.g()),
84 static_cast<float>(mGreen - param.g()) * in squareDistance()
85 static_cast<float>(mGreen - param.g()) + in squareDistance()
99 inline T g() const { return mGreen; } in g() function
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DImageProcessingTest.java311 int pack(float a, float r, float g, float b) { in pack() argument
314 int ig = clamp((int) (255 * g)); in pack()
323 int pack(int a, int r, int g, int b) { in pack() argument
326 rgba[1] = (byte) clamp(g); in pack()
404 float g = (dstG * srcA + (1 - dstA) * srcG);
408 return pack(a, r, g, b);
420 float g = (dstG * srcA);
423 return pack(a, r, g, b);
437 int g = Math.min(s_dstG + s_srcG, 255);
440 return pack(a, r, g, b);
[all …]
Dintrinsic_lut.rs27 tmp.g = green[in.g];
Drs_pack_color_to_8888.rs5 *out = rsPackColorTo8888(in->r, in->g, in->b);
9 *out = rsPackColorTo8888(in->r, in->g, in->b, in->a);
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
Draw_converter.rs217 float g = 1.f;
226 g = gains.x;
230 g = gains.y;
234 g = gains.z;
238 g = gains.w;
243 g = gains.y;
247 g = gains.x;
251 g = gains.w;
255 g = gains.z;
260 g = gains.y;
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_fast_d1new.rs100 sharp_RGBA.g =
101 ApplyLUT_Float(tmp.g, g_camera_response.lut_remove_crf_float);
358 float4 this_value = {weight * sharp_RGBA.r, weight * sharp_RGBA.g,
389 float4 this_value = {weight * sharp_RGBA.r, weight * sharp_RGBA.g,
519 fuzzy_RGBA.g += factor * result.g;
572 fuzzy_RGBA.g += factor * result.g;
621 sharp_RGBA.g += factor * (fuzzy_RGBA.g - sharp_RGBA.g);
624 fuzzy_RGBA.g = 0;
668 sharp_RGBA.g += factor * (fuzzy_RGBA.g - sharp_RGBA.g);
671 fuzzy_RGBA.g = 0;
[all …]
/cts/apps/CameraITS/tests/scene1/
Dtest_3a.py40 for g in gains:
41 assert not np.isnan(g)
Dtest_latching.py82 g_ratios = [g / g_avg for g in g_means]
83 g_hilo = [g>1.0 for g in g_ratios]
Dtest_ae_af.py58 for g in gains:
59 assert not np.isnan(g)
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DSamplePointWideGamutVerifier.java51 float g = Half.toFloat(bitmap.getShort(index + 2)); in verify() local
56 if (!floatCompare(c.green(), g, mEps)) localSuccess = false; in verify()
62 + ", got " + Color.valueOf(r, g, b, 1.0f, SCRGB).toString()); in verify()
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm28 ��_,y�Wa2�5���]�@1G>-. ���<�%9�'��YZc_��,/������j$����2p<��@g�E?-��t���z�,2z 9�F�]��<�#)���…
30g)�)��<����:?����RFul��`37������<�3���~��>�H���"�3N@@�c�/ ��<}!/�5,�D�0�A�1��k���S�k�~5…
32 …R��eZ^�ְ<l�i�XVR�/��T5L���{�fA���<�|(�i��y�i�}�� ^��'���P�<�,g���xy�K�Ìn�7�@�Kc �…
35 …�̊>����<� �^~��+����ǁ����'`��!��[�@<�/:>�?���B���k=Ro����F��a��<�g�*7�h�\����F�ï�͓�&…
36 E�h�=�P<��������z�cF�^��F�@��=[��<U����ߥW7ϋ�l�](g@�7�<7�<�.�����jJ�4x��c�w�vď���…
38 <y[�+���������t9�<�(���J}:�4v���$�W}�a5��)P<Y0�D.E^=�[�'�e�-#�g�O�������0<�]�<x_�ڦ�)G�…
40 …'�l��xI�����%��n�"*b`� <��i�xZ��g�x���>��Gu^o�$�5�z�<�-,���hmy��<X��5��ʄI��>���<��g�…
42g��}_��<���퇞�~:�@�Ϳ]��MI��a�zI'0<�2q��J�: � ����D�����" �0<� m�F�~�*�X���ͻ}�'�X�0h��`…
47 …C�?��Ef' <��cy[ ~Z�P�ʽ�]�2��W{���<T��.�<�5���5w� ���}����40<Ig��������"�^���$�|�…
50 2�f� ��4�ǐ��<��/ xO?J}�!�Z��Mzt�L���g�|x`<���0إ��|ҫ&�΅��Ư����[
[all …]
/cts/tests/tests/media/assets/
DfileSequence1.ts12 PY��cAC���W�[4g���?W+ז3�����u��DM�R0|���3��,�u�y݂�^\ r%���u7r�N0�G�驩
36 |�-np����a��I�@��g�Jޙ��孻S�������6���k�a�Bfs�G����O�9�B�"�o<�R&�+�x��u�`QI��V�rF&�;��{;�…
49 1/'g����\���ל�mF号�������;�Jq�h���\k�#���Zm��X���{>���"bTh���s���
58 �:�Pq��,�iV`0�f������G������u6�w1�5�E��R���s.�MZ��t2D�x#�(�$���~o6��H�uE����g=��jnh���…
69 …�{�����#��~����\@ ��@7�P� G�Q8�B �D!��X�$EDJ%Z�L��{|t"C�q�WZ��aO�g��D��1Z��n(�E�T;�tߙ…
72 …oK�ݲ�k�=�@x:V��~P �˟tb��\@!��27�PZ q@PL( �!p��&�*����Z�*�&��T�{�g�e��9�NT@] ԥ��*�:� …
80 …�3LO�Fx����#��#��7#�B���pxB��@"����j ��w�� �!�TKj��n� Q @ �@��Ѿ���<�g]�T��"������>5�;�e…
121 MP "B`�y�� ���g<��:�� $g&$�\sd� $�3��+�4h@Q)BA�+�����17���q��8�g��4���=��ؐ�T]��G!k�]vF�…
129 �x�C?g���[�k�{�1� �S��Zb��F+=��O�}JAb��$���2�5m�����: Q��L�R���[dCz�m"heƣ�ΰTR����&am )�(�8܃�…
138 �A�9NM��g��(�X#��-ؤ����n��M(G��� 9�z�)?���Q,�%Z�(R�љvzX���!�DR�hΏE�3'��"x��הoy*u
[all …]
Dsegment000000.ts14 �M��{�)��^ˬLa\���H��lmxA��BG�x�cE�ϸ��r ���+U~��p�Q�����z���u��1XW�P+���gg��[��у{�T�…
86 �KY���W��D� F���1$'YM�s�N�<��9g��3�l��[3 I��6 ���W���_:�+�H�k���{W�#c:�8f}v��\���1����…
97 …����X�A��k�f�d���k�.�x?0 M��uzO_��;2��������+��h!˛ɣb�D�� s�z���L�����g�\͂�X�0��:����;�� �…
143 ���\&C��7�U� �1�Y@�z}K� �xN���)�`S�X��ώ��ŁQ:K��E��s�_�0g���O]Y�i�Z+��/��l��|�G�?�����…
160 �)���˙������L<����͵�Za��1p@�ڿ��W�Z1J���/R1d�&g���a �m�
162 …��g�Q�����,AVȦϸ�/��Ε�(;YN#������ q�Į�~�48H�ғ�XV�u7�a���.h0���}���e����VU�G��8Ap�:�…
227 … ��0 �U�04ٱ�@������2t����< _8v�mF47�ѫk���Ty���R(}���m��G��è@�9�%g,;3�=^�0����B���…
293 `�";�:&٥�ҝ�1���A�?�[����8N(�I.�g���xV.?���)0�������˜�GA���2�W�
300 …�;���÷���M�j o��3�O�/ƽ��K�j_�p�3^��/��o�7����+�>����Ӈp���X�����5u�g���!@B�ǿ�{l?<N>Jê*%…
312 …[6?�5���[�ѧ<N?����~_��F��|k����?�����NO���J'; L���̶ͧ�}��J���\�?����LM����駄��g�O��
Dsegment000001.ts39 .ŧ�G��Hj�� "����}��@�z�ooO�O����o��ؖ�?����3Ja���-�f8��6l � ���[|��e†���:g#(����G{�}��…
58 ���\�g������3�8L��cܟߵ%��VE��:�ױ�N��@?~���_�H����,b��Qޙo�?���4��C�����D�f�C�~J��n���#w��U� ��…
77 …B�^<�o���$ �Bo�*b���v+{&8W@A���{�H��3���)���H�oT́G���_��V��|����7g<�����X���a�B�՘��3�^…
154 �,��|I J��`�.�Q|�ط�(꺯z u]W�Q�sb�g!#-�W&��?GA�=�z������8��!�?�?��� ����A�`�Mł�;
177 …��]xṆ�co���`��!'��G����?e`�?1/y�He����@�i�a����ljp�`��`�d� T��6A3&�0�>��E��@R����g
184 …j�lv{� jJN�LTDmV� ���Ii���l&J���(�O1�{e4�� �.ѩu�j�ԯEo�6'���c%��G�/g��zV�8�D �UW��ʚ�AU…
193 :tG��/�g���D3�p����?�
210 …$?�~���8W<b�F���u�|��~�xٳ����xGA����A��!�A4���� ����A���Kł� 1g��G�� ��D#y��T��S…
243 …40�����lԔ�u��b�� *�g��M�ރ��3Y,��/%�A��g�<?eL}{��QEҼe�c/��̻QE'e�]��g��3�d����Š�|�d@G�…
271 6l��Y�lm��� ��R����"�g���� �l�����վ���H�·��͝(�a��m E���$��p�"�����!���NDы�k������…
[all …]
/cts/suite/audio_quality/executable/
DAndroid.bp31 "-g",
35 "-g",
/cts/apps/CameraITS/tests/scene3/
Dtest_3a_consistency.py62 for g in gains:
63 assert not np.isnan(g)
/cts/suite/audio_quality/test/
DAndroid.bp34 "-g",
42 "-g",
/cts/tests/tests/content/src/android/content/pm/cts/
DFeatureGroupInfoTest.java122 for (FeatureGroupInfo g : group) { in sortFeatureInfos()
123 if (g.features != null) { in sortFeatureInfos()
124 Arrays.sort(g.features, sFeatureInfoComparator); in sortFeatureInfos()
/cts/tests/tests/view/src/android/view/cts/surfacevalidator/
DPixelCounter.rs24 && pixel.g < THRESHOLD
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java135 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument
137 mGreenSize = g; in ConfigChooser()
199 int g = findConfigAttrib(egl, display, config, in chooseConfig() local
206 if (r == mRedSize && g == mGreenSize && b == mBlueSize && a == mAlphaSize) in chooseConfig()
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java375 int g = Color.green(actual) - Color.green(exp); in distance() local
377 return r * r + g * g + b * b; in distance()
382 int g = Color.green(argb); in argb2yuv() local
384 yuv[0] = (byte) ((CYR * r + CYG * g + CYB * b) >> CSHIFT); in argb2yuv()
385 yuv[1] = (byte) (((CUR * r + CUG * g + CUB * b) >> CSHIFT) + 128); in argb2yuv()
386 yuv[2] = (byte) (((CVR * r + CVG * g + CVB * b) >> CSHIFT) + 128); in argb2yuv()
/cts/suite/audio_quality/
DBUILD.txt1 C++: No special library required in host side, but gcc/g++ and std c++ library should be present.

123