Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 36) 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/lib/colorchecker/
Dwhitebalancetest.cpp45 xyzCheckerColor.g(), xyzCheckerColor.b()); in processData()
65 ALOGV("Scale: %f, %f, %f", meanScale.r(), meanScale.g(), meanScale.b()); in processData()
71 whitePoint.g(), whitePoint.b()); in processData()
83 whitePoint.r() / (whitePoint.r() + whitePoint.g() + whitePoint.b()), in findCorrelatedColorTemp()
84 whitePoint.g() / (whitePoint.r() + whitePoint.g() + whitePoint.b())); in findCorrelatedColorTemp()
97 float linearGreen = convertToLinear(rgb.g()); in initializeFromRGB()
Dexposurecompensationtest.cpp62 log(static_cast<float>(mReferenceColors[j].g())) in processData()
72 exposureGreen, mCheckerColors[i][j].g(), in processData()
79 drawPoint(200 - exposureGreen, mCheckerColors[i][j].g(), green); in processData()
Dimagetesthandler.cpp65 mDebugOutput[(row*mDebugWidth + column) * 4+1] = color.g(); in drawPoint()
79 const int g = color.g(); in drawLine() local
Dcolorcheckertest.cpp497 ALOGV("Color at (%d, %d) is (%d, %d, %d)", j, i,color->r(), color->g(), color->b()); in findCheckerBoards()
566 mImage->getPixelValue(*pointCenter).g(), in verifyPointPair()
568 … (%f, %f) is (%d, %d, %d)", pointCenter->x(), pointCenter->y(),color->r(), color->g(), color->b()); in verifyPointPair()
589 …s (%d, %d, %d)", i, j, mCandidateColors[i][j]->r(), mCandidateColors[i][j]->g(), mCandidateColors[… in verifyColorGrid()
667 mCandidateColors[i][j]->g(), in verifyColorGrid()
967 mReferenceColors[i][j]->g(), in fillRefColorGrid()
971 mMatchColors[i][j]->g(), in fillRefColorGrid()
/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/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/
DImageProcessingTest.java274 float g = f; in testLUT() local
275 if (g < 0.5f) { in testLUT()
276 g = 2.0f * g * g; in testLUT()
278 g = 1.0f - g; in testLUT()
279 g = 1.0f - (2.0f * g * g); in testLUT()
281 mLUT.setGreen(ct, (int)(g * 255.f + 0.5f)); in testLUT()
/cts/tests/src/android/renderscript/cts/
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/tests/media/assets/
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/tests/tests/rsg/src/android/renderscriptgraphics/cts/
DProgramStoreTest.java29 for (int g = 0; g <= 1; g++) { in varyBuilderColorAndDither()
30 boolean isG = (g == 1); in varyBuilderColorAndDither()
/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()
DBitmapRegionDecoderTest.java441 int g = Color.green(actual) - Color.green(exp); in distance() local
443 return r * r + g * g + b * b; in distance()
DBitmapFactoryTest.java548 final int g = Color.green(actual) - Color.green(expect); in distance() local
550 return r * r + g * g + b * b; in distance()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java429 int g = mPixelBuf.get(1) & 0xff; in checkSurfaceFrame() local
431 if (VERBOSE) Log.d(TAG, "GOT: r=" + r + " g=" + g + " b=" + b); in checkSurfaceFrame()
433 if (approxEquals(0, r) && approxEquals(0, g) && approxEquals(0, b)) { in checkSurfaceFrame()
443 if (approxEquals(testRed, r) && approxEquals(testGreen, g) && in checkSurfaceFrame()
445 if (VERBOSE) Log.d(TAG, "Matched color " + i + ": r=" + r + " g=" + g + " b=" + b); in checkSurfaceFrame()
450 throw new RuntimeException("No match for color r=" + r + " g=" + g + " b=" + b); in checkSurfaceFrame()
DDecodeEditEncodeTest.java768 int g = pixelBuf.get(1) & 0xff; in checkSurfaceFrame() local
785 !isColorClose(g, expG) || in checkSurfaceFrame()
788 "," + g + "," + b + " vs. expected " + expR + "," + expG + in checkSurfaceFrame()
/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/provider/src/android/provider/cts/
DMediaStore_Audio_Genres_MembersTest.java220 long g = c.getLong(c.getColumnIndex(Members.GENRE_ID)); in testStoreAudioGenresMembersExternal() local
221 if (g == genreId) { in testStoreAudioGenresMembersExternal()
223 } else if (g == genre2Id) { in testStoreAudioGenresMembersExternal()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyPairGeneratorTest.java229 BigInteger g = new BigInteger(1, new byte[] { in testKeyPairGenerator_GenerateKeyPair_DSA_SpecifiedParams_Unencrypted_Success() local
275 AlgorithmParameterSpec spec = new DSAParameterSpec(p, q, g); in testKeyPairGenerator_GenerateKeyPair_DSA_SpecifiedParams_Unencrypted_Success()

12