Home
last modified time | relevance | path

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

12

/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 …]
DRendererOneColorBufferTest.java217 float g = (pixel >> 8) & 0xFF; in doOnDrawFrame() local
219 Log.i(TAG, "w " + mWidth + " h " + mHeight + " rgba" + r + " " + g + " " + b + " " + a); in doOnDrawFrame()
221 mColorOne[1] = g; in doOnDrawFrame()
/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/hardware/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/suite/cts/deviceTests/browserbench/assets/octane/
Dbox2d.js30 …c(){c.b2Settings.apply(this,arguments)}function g(){g.b2Mat22.apply(this,arguments);this.construct… function
44 …;Box2D.Common.b2Color=a;Box2D.Common.b2Settings=c;Box2D.Common.Math.b2Mat22=g;Box2D.Common.Math.b2…
52 …ion.b2WorldManifold,a=Box2D.Collision.ClipVertex,c=Box2D.Collision.Features,g=Box2D.Collision.IBro…
89 …rototype.ComparePairs=function(){return 0};D.__implements={};D.__implements[g]=true;H.b2DynamicTre…
183g){if(g===undefined)g=0;var b=Math.atan2(c.GetDirectionVector().y,c.GetDirectionVector().x);g=F.Mu… argument
184 …t(a.GetDirectionVector(),c.GetNormalVector())>0;a.SetNextEdge(c,g,e,f);c.SetPrevEdge(a,g,e,f);retu…
185g=new aa;g.shape=a;g.density=c;return this.CreateFixture(g)};k.prototype.DestroyFixture=function(a…
186g;if(this.m_world.IsLocked()!=true){this.m_xf.R.Set(c);this.m_xf.position.SetV(a);g=this.m_xf.R;va…
187 …sweep.a=c;b=this.m_world.m_contactManager.m_broadPhase;for(g=this.m_fixtureList;g;g=g.m_next)g.Syn…
191 …)}};k.prototype.Split=function(a){for(var c=this.GetLinearVelocity().Copy(),g=this.GetAngularVeloc…
[all …]
Dcrypto.js623 var r = nbi(), r2 = nbi(), g = z.convert(this), i = nbits(e)-1;
624 g.copyTo(r);
627 if((e&(1<<i)) > 0) z.mulTo(r2,g,r);
1115 var g = new Array(), n = 3, k1 = k-1, km = (1<<k)-1;
1116 g[1] = z.convert(this);
1119 z.sqrTo(g[1],g2);
1121 g[n] = nbi();
1122 z.mulTo(g2,g[n-2],g[n]);
1140 g[w].copyTo(r);
1146 z.mulTo(r2,g[w],r);
[all …]
Draytrace.js84 initialize : function(r, g, b) { argument
86 if(!g) g = 0.0;
90 this.green = g;
178 var g = Math.floor(this.green*255);
180 return (r * 77 + g * 150 + b * 29) >> 8;
185 var g = Math.floor(this.green*255);
188 return "rgb("+ r +","+ g +","+ b +")";
/cts/tests/tests/renderscript/src/android/renderscript/cts/
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);
DImageProcessingTest.java272 float g = f; in testLUT() local
273 if (g < 0.5f) { in testLUT()
274 g = 2.0f * g * g; in testLUT()
276 g = 1.0f - g; in testLUT()
277 g = 1.0f - (2.0f * g * g); in testLUT()
279 mLUT.setGreen(ct, (int)(g * 255.f + 0.5f)); in testLUT()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DMeanSquaredComparer.rs17 float difference = (idealFloats.r - givenFloats.r) + (idealFloats.g - givenFloats.g) +
DMSSIMComparer.rs15 return (pixel.r * RED_WEIGHT) + (pixel.g * GREEN_WEIGHT) + (pixel.b * BLUE_WEIGHT);
/cts/tests/tests/media/assets/
DfileSequence0.ts18 � P �5���^���3s���(�vٝ$G��f~j+@!�c��0!R#M0����Iޟ}<��$"�_+9�(5���)�Q'/y������"C��g�D͹…
37 uE�I����"�_Iz�#��a�>�kS�NͦOwF�$T=Uj�n��0i�[��b��vQN�DT(���_8>�����q��g�J�C�t&!,�L�\�Q�g��u�4…
44 ����\����0��/�x�SG�(��K���&��/��ߓ=x&��H��а�ʆQGs`����f���8�g!f9[�)�i�
48 4ʸE勁M�XW����>z���g~V����I+�#<#@U1��g}[~�@�/KCm$�J[����A���!�0�総�M4^qI�rNhV�+G�p�?�m(k…
73 …�g^�oG٠�2yJ�J��ZZ*��c������4�)�� Y:_<�2c�����HiX���m d��꺼c�>��U{�dbT-}�I1V���� FhK�����67…
122 ��$�Iغj4V5�s�D"� �C�7�[g>ʌƿhz��02C�1��?S�oBK�)@GEn\0��da�s�`�(Ig�],����r�0��_)-sȷ%{…
151 …�]���Z���N'�m�<;ٿ#�`��\՗�9�W�g��?����� �v�x������m`���1�����}$a��}�j^軬)h�%�g��\@"����7���
170 �y޿���� N��W^�uW��  J���J\���� �� � h���G!ykez7xLN+���v:]6�V����S�'5g��qn�C���8��\@'�…
175 …���. d�ߊ!�����Xt�u��0��9�đm�aZ�e��nÑ�oҼ� �d�+�G_GSMu�NX�^��n3�P���g��D-�0GN}d5@��\…
217 …� ����]�e�Yj�Z�d\u��wU���!0��J ��W�B�>A���*.�)�����ڴ��rtPb�"�=��&+g���o_q�G����1yhY�…
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/apps/CameraITS/tests/scene1/
Dtest_latching.py83 g_ratios = [g / g_avg for g in g_means]
84 g_hilo = [g>1.0 for g in g_ratios]
Dtest_auto_vs_manual.py88 for g,x in [(gains_a,xform_a),(gains_m1,xform_m1),(gains_m2,xform_m2)]:
90 assert(all([abs(gains[i] - g[i]) < 0.05 for i in range(4)]))
Dtest_capture_result.py137 assert(all([g > 0 for g in gains]))
/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/graphics/src/android/graphics/cts/
DYuvImageTest.java381 int g = Color.green(actual) - Color.green(exp); in distance() local
383 return r * r + g * g + b * b; in distance()
388 int g = Color.green(argb); in argb2yuv() local
390 yuv[0] = (byte) ((CYR * r + CYG * g + CYB * b) >> CSHIFT); in argb2yuv()
391 yuv[1] = (byte) (((CUR * r + CUG * g + CUB * b) >> CSHIFT) + 128); in argb2yuv()
392 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.
/cts/hostsidetests/appsecurity/certs/
Dcts-testkey2.x509.pem25 JditxFv6ObGyZzDosFPW2KtKNVW8dcaSByOwp7BWZW/9dQ+6g/4FLP090yfx6+UA
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java484 int g = mPixelBuf.get(1) & 0xff; in checkSurfaceFrame() local
486 if (VERBOSE) Log.d(TAG, "GOT: r=" + r + " g=" + g + " b=" + b); in checkSurfaceFrame()
488 if (approxEquals(0, r) && approxEquals(0, g) && approxEquals(0, b)) { in checkSurfaceFrame()
498 if (approxEquals(testRed, r) && approxEquals(testGreen, g) && in checkSurfaceFrame()
500 if (VERBOSE) Log.d(TAG, "Matched color " + i + ": r=" + r + " g=" + g + " b=" + b); in checkSurfaceFrame()
505 throw new RuntimeException("No match for color r=" + r + " g=" + g + " b=" + b); in checkSurfaceFrame()

12