/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | ColorBufferTest.java | 50 float g = 0.0f; in test_RGBA_1001() local 53 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1001() 55 float[] expectedColor = {r, g, b, a}; in test_RGBA_1001() 68 float g = 1.0f; in test_RGBA_1101() local 71 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1101() 72 float[] expectedColor = {r, g, b, a}; in test_RGBA_1101() 86 float g = 1.0f; in test_RGBA_1111() local 89 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1111() 91 float[] expectedColor = {r, g, b, a}; in test_RGBA_1111() 105 float g = 1.0f; in test_RGBA_0101() local [all …]
|
D | NativeColorBufferTest.java | 45 float g = 0.0f; in test_RGBA_1001() local 48 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1001() 50 float[] expectedColor = {r, g, b, a}; in test_RGBA_1001() 63 float g = 1.0f; in test_RGBA_1101() local 66 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1101() 67 float[] expectedColor = {r, g, b, a}; in test_RGBA_1101() 81 float g = 1.0f; in test_RGBA_1111() local 84 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1111() 86 float[] expectedColor = {r, g, b, a}; in test_RGBA_1111() 100 float g = 1.0f; in test_RGBA_0101() local [all …]
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ColorUtils.java | 26 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/tests/tests/graphics/src/android/graphics/cts/utils/ |
D | ColorUtils.java | 47 double g = (x * -0.9689 + y * 1.8758 + z * 0.0415) / 100; in xyzToColor() local 51 g = g > 0.0031308 ? 1.055 * Math.pow(g, 1 / 2.4) - 0.055 : 12.92 * g; in xyzToColor() 56 (int) constrain((int) Math.round(g * 255), 0, 255), in xyzToColor()
|
D | CamUtils.java | 125 final float g = linearized(Color.green(argb)); in yFromInt() local 128 float y = (r * matrix[1][0]) + (g * matrix[1][1]) + (b * matrix[1][2]); in yFromInt() 134 final float g = linearized(Color.green(argb)); in xyzFromInt() local 138 float x = (r * matrix[0][0]) + (g * matrix[0][1]) + (b * matrix[0][2]); in xyzFromInt() 139 float y = (r * matrix[1][0]) + (g * matrix[1][1]) + (b * matrix[1][2]); in xyzFromInt() 140 float z = (r * matrix[2][0]) + (g * matrix[2][1]) + (b * matrix[2][2]); in xyzFromInt()
|
/cts/apps/CtsVerifier/include/colorchecker/ |
D | vec3.h | 37 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/ |
D | ImageProcessingTest.java | 367 int pack(float a, float r, float g, float b) { in pack() argument 370 int ig = clamp((int) (255 * g)); in pack() 379 int pack(int a, int r, int g, int b) { in pack() argument 382 rgba[1] = (byte) clamp(g); in pack() 460 float g = (dstG * srcA + (1 - dstA) * srcG); 464 return pack(a, r, g, b); 476 float g = (dstG * srcA); 479 return pack(a, r, g, b); 493 int g = Math.min(s_dstG + s_srcG, 255); 496 return pack(a, r, g, b); [all …]
|
D | rs_pack_color_to_8888.rscript | 5 *out = rsPackColorTo8888(in->r, in->g, in->b); 9 *out = rsPackColorTo8888(in->r, in->g, in->b, in->a);
|
D | intrinsic_lut.rscript | 27 tmp.g = green[in.g];
|
/cts/tests/tests/content/MultiArchApp/ |
D | README.md | 3 1. m libtest_multi_arch_native_libs in the different arch (E.g. arm, x86) 6 E.g. out/target/product/redfin/data/nativetest/ and out/target/product/redfin/data/nativetest64/ 8 3. Put them into the specific folders by the arch (E.g. arm, arm64, x86, x86_64)
|
/cts/tests/tests/security/res/raw/ |
D | drm_uaf.dm | 28 ��_,y�Wa2�5���]�@1G>-.��<�%9�'��YZc_��,/�����j$����2p<��@g�E?-��t���z�,2z9�F�]�<�#)���… 30 �g)�)��<����:?����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�… 42 …g��}_��<���퇞�~:�@�Ϳ]��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 …]
|
D | cve_2019_2245.ts | 17 …8��&h6��._����Q.�բ�����t�rf�기�l���P��S��Mk�S#PD�-&�5�m��6�R�h�^��ь�g�����jBV⦸�$!,"��B8%… 22 …H'Bo)3�푚!R�`N�I�P�&���X뎢X�f����{ކ�:���t��t�X)���S{� I�/S瓽�J\=Q'���|M\��1��6 g� 26 …t�����w�>���bY�mLs��O6�"�+�趢Du=���x�D��Bц����&\�w��P�gBEK��B�g�ha>͊���P�Jp3J���5… 38 .g���� ā0�! �u�Ӻ�AK�0�|4�t2c�̦ԏ<��U�[J.�w9�4��R��B^ʣ����h<��LvD�ڴ���6VyH�[Z��� �c�&bo… 40 ….�G1�1,���q��n�C���[4O/�����C�w��R�@'Jv�u�H��u1���C蘕�i۬�hD��g'��x+��mL[U��+c��i… 43 �Qu O&oyTy�BH�umB[,�w.�$���4�%W&�Z��S���m�SZόS]5�>>��Lj@g�2��݄/�����Ʀ]z�K�G1�>;�����6�… 50 �JU��I�.������GAv����_⸼>�]����,�ٺ�m�@@@Ai*g�!����� �s�Ժ�Ju[�a\J���P�XJ����>��+Q�M�… 119 …�N;]�2G��Q%x�~�� �q���"�Y6��:�fݖ~=���=t%��#�LU��,�Ԡ�}6��mP�a�SE�B��g4��2G1��Y�S�uI4!�… 124 i�iTMe�5R��-S���)���G1�]�9Q�LN���HOiT5���N�g.��]v�։tLgN&�9�ע]ʮ� ���6U v�/|����(�u�!-… 134 …ʡ%ͻЖ��P��&�!�t<U����BG1M*V���BZZ2x�i�C�b6�'ۧ��D�t���5(�0L�G�Q�g!�iwA��λ?c�mJ�-(���&… [all …]
|
D | cve_2018_13925.ts | 18 …8��&h6��._����Q.�բ�����t�rf�기�l���P��S��Mk�S#PD�-&�5�m��6�R�h�^��ь�g�����jBV⦸�$!,"��B8%… 23 …H'Bo)3�푚!R�`N�I�P�&���X뎢X�f����{ކ�:���t��t�X)���S{� I�/S瓽�J\=Q'���|M\��1��6 g� 27 …t�����w�>���bY�mLs��O6�"�+�趢Du=���x�D��Bц����&\�w��P�gBEK��B�g�ha>͊���P�Jp3J���5… 39 .g���� ā0�! �u�Ӻ�AK�0�|4�t2c�̦ԏ<��U�[J.�w9�4��R��B^ʣ����h<��LvD�ڴ���6VyH�[Z��� �c�&bo… 41 ….�G1�1,���q��n�C���[4O/�����C�w��R�@'Jv�u�H��u1���C蘕�i۬�hD��g'��x+��mL[U��+c��i… 44 �Qu O&oyTy�BH�umB[,�w.�$���4�%W&�Z��S���m�SZόS]5�>>��Lj@g�2��݄/�����Ʀ]z�K�G1�>;�����6�… 51 �JU��I�.������GAv����_⸼>�]����,�ٺ�m�@@@Ai*g�!����� �s�Ժ�Ju[�a\J���P�XJ����>��+Q�M�… 120 …�N;]�2G��Q%x�~�� �q���"�Y6��:�fݖ~=���=t%��#�LU��,�Ԡ�}6��mP�a�SE�B��g4��2G1��Y�S�uI4!�… 125 i�iTMe�5R��-S���)���G1�]�9Q�LN���HOiT5���N�g.��]v�։tLgN&�9�ע]ʮ� ���6U v�/|����(�u�!-… 135 …ʡ%ͻЖ��P��&�!�t<U����BG1M*V���BZZ2x�i�C�b6�'ۧ��D�t���5(�0L�G�Q�g!�iwA��λ?c�mJ�-(���&… [all …]
|
D | cve_2019_2244.ts | 17 …8��&h6��._����Q.�բ�����t�rf�기�l���P��S��Mk�S#PD�-&�5�m��6�R�h�^��ь�g�����jBV⦸�$!,"��B8%… 22 …H'Bo)3�푚!R�`N�I�P�&���X뎢X�f����{ކ�:���t��t�X)���S{� I�/S瓽�J\=Q'���|M\��1��6 g� 26 …t�����w�>���bY�mLs��O6�"�+�趢Du=���x�D��Bц����&\�w��P�gBEK��B�g�ha>͊���P�Jp3J���5… 38 .g���� ā0�! �u�Ӻ�AK�0�|4�t2c�̦ԏ<��U�[J.�w9�4��R��B^ʣ����h<��LvD�ڴ���6VyH�[Z��� �c�&bo… 40 ….�G1�1,���q��n�C���[4O/�����C�w��R�@'Jv�u�H��u1���C蘕�i۬�hD��g'��x+��mL[U��+c��i… 43 �Qu O&oyTy�BH�umB[,�w.�$���4�%W&�Z��S���m�SZόS]5�>>��Lj@g�2��݄/�����Ʀ]z�K�G1�>;�����6�… 50 �JU��I�.������GAv����_⸼>�]����,�ٺ�m�@@@Ai*g�!����� �s�Ժ�Ju[�a\J���P�XJ����>��+Q�M�… 119 …�N;]�2G��Q%x�~�� �q���"�Y6��:�fݖ~=���=t%��#�LU��,�Ԡ�}6��mP�a�SE�B��g4��2G1��Y�S�uI4!�… 124 i�iTMe�5R��-S���)���G1�]�9Q�LN���HOiT5���N�g.��]v�։tLgN&�9�ע]ʮ� ���6U v�/|����(�u�!-… 134 …ʡ%ͻЖ��P��&�!�t<U����BG1M*V���BZZ2x�i�C�b6�'ۧ��D�t���5(�0L�G�Q�g!�iwA��λ?c�mJ�-(���&… [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BitmapUtils.java | 222 final int g = multiplyAlpha(Color.green(actual), a1) - in distance() local 226 return r * r + g * g + b * b; in distance() 229 int g = Color.green(actual) - Color.green(expect); in distance() local 231 return r * r + g * g + b * b; in distance()
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_burst_capture.py | 76 r, g, b = image_processing_utils.compute_image_means(patch) 77 logging.debug('RGB levels %.3f, %.3f, %.3f', r, g, b) 78 if g < _THRESH_MIN_LEVEL:
|
D | test_exposure_x_iso.py | 78 r, g, b = image_processing_utils.compute_image_means(patch) 79 logging.debug('Sample RGB values: %.3f, %.3f, %.3f', r, g, b) 80 if g < _THRESH_MIN_LEVEL: 83 elif g > _THRESH_MAX_LEVEL: 89 def plot_rgb_means(title, x, r, g, b, test_name_with_path): argument 102 pylab.semilogx(x, g, 'go-')
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | RawConverter.java | 574 float g = 1.f; in linearizeAndGainmap() local 583 g = gains[0]; in linearizeAndGainmap() 588 g = gains[1]; in linearizeAndGainmap() 593 g = gains[2]; in linearizeAndGainmap() 598 g = gains[3]; in linearizeAndGainmap() 604 g = gains[1]; in linearizeAndGainmap() 609 g = gains[0]; in linearizeAndGainmap() 614 g = gains[3]; in linearizeAndGainmap() 619 g = gains[2]; in linearizeAndGainmap() 625 g = gains[1]; in linearizeAndGainmap() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 252 final int g = multiplyAlpha(Color.green(actual), a1) - in distance() local 256 return r * r + g * g + b * b; in distance() 259 int g = Color.green(actual) - Color.green(expect); in distance() local 261 return r * r + g * g + b * b; in distance()
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Android.bp | 3 // sed -i 's/printf (" Ptr_Comp: %d\\n", (int) /printf (" Ptr_Comp: %p\\n", /g'… 4 // sed -i 's,^} /\* Proc_,return 0; } /\* Proc_,g' *.c
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
D | AlphaTestView.java | 80 float g = (float) Color.green(color1) * inverseRatio + (float) Color.green(color2) * ratio; in blendColor() local 82 return Color.argb((int) a, (int) r, (int) g, (int) b); in blendColor()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_fast_d1new.rscript | 10 // for invalid pixels, e.g., padded pixels around image boundary. 100 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); [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | FeatureGroupInfoTest.java | 124 for (FeatureGroupInfo g : group) { in sortFeatureInfos() 125 if (g.features != null) { in sortFeatureInfos() 126 Arrays.sort(g.features, sFeatureInfoComparator); in sortFeatureInfos()
|
/cts/hostsidetests/sustainedperf/shadertoy_android/src/ |
D | GLtestView.java | 135 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/binder_ndk/libbinder_ndk_test/test_package/ |
D | SimpleUnion.aidl | 24 PersistableBundle g;
|