Home
last modified time | relevance | path

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

12345678910>>...17

/frameworks/av/media/libaaudio/scripts/
Doboe_to_aaudio.sed1 s/liboboe/libclarinet/g
2 s/oboeservice/clarinetservice/g
4 s/OboeAudio\.h/AAudio\.h/g
5 s/OboeService\.h/AAudioServiceDefinitions\.h/g
6 s/OboeAudioService/AAudioService/g
7 s/LOG_TAG "OboeAudio"/LOG_TAG "AAudio"/g
8 s/OBOE_AUDIO_FORMAT/AAUDIO_FORMAT/g
9 s/OBOEAUDIO/AAUDIO/g
11 s/oboe/aaudio/g
12 s/Oboe/AAudio/g
[all …]
Dtypedefs_to_int32.sed1 s/aaudio_device_id_t/int32_t/g
2 s/aaudio_sample_rate_t/int32_t/g
3 s/aaudio_size_frames_t/int32_t/g
4 s/aaudio_size_bytes_t/int32_t/g
5 s/aaudio_sample_rate_t/int32_t/g
7 s/aaudio_position_frames_t/int64_t/g
8 s/aaudio_nanoseconds_t/int64_t/g
/frameworks/base/cmds/incident_helper/tests/
DPsParser_test.cpp224 PsProto::Process g = got.processes(i); in TEST_F() local
227 if (g.label() != e.label()) { in TEST_F()
228 …fprintf(stderr, "prcs[%d]: Invalid label. Got %s, want %s\n", i, g.label().c_str(), e.label().c_st… in TEST_F()
231 if (g.user() != e.user()) { in TEST_F()
232 …fprintf(stderr, "prcs[%d]: Invalid user. Got %s, want %s\n", i, g.user().c_str(), e.user().c_str()… in TEST_F()
235 if (g.pid() != e.pid()) { in TEST_F()
236 fprintf(stderr, "prcs[%d]: Invalid pid. Got %d, want %d\n", i, g.pid(), e.pid()); in TEST_F()
239 if (g.tid() != e.tid()) { in TEST_F()
240 fprintf(stderr, "prcs[%d]: Invalid tid. Got %d, want %d\n", i, g.tid(), e.tid()); in TEST_F()
243 if (g.ppid() != e.ppid()) { in TEST_F()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DCrossProcess.java41 float g = f; in createTest() local
42 if (g < 0.5f) { in createTest()
43 g = 2.0f * g * g; in createTest()
45 g = 1.0f - g; in createTest()
46 g = 1.0f - (2.0f * g * g); in createTest()
48 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f)); in createTest()
Dwbalance.rscript31 int g = hv.g;
34 sum_g += g;
41 if (g>0){
58 int g = hv.g;
61 tmp_g += g;
69 sum15g += g*i;
70 count15g += g;
83 out.g = sum15g/count15g;
86 out.r = out.g = out.b = 255;
95 int minimum = min(estimation.r, min(estimation.g, estimation.b));
[all …]
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DCrossProcess.java44 float g = f; in createTest() local
45 if (g < 0.5f) { in createTest()
46 g = 2.0f * g * g; in createTest()
48 g = 1.0f - g; in createTest()
49 g = 1.0f - (2.0f * g * g); in createTest()
51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f)); in createTest()
Dwbalance.rscript31 int g = hv.g;
34 sum_g += g;
41 if (g>0){
58 int g = hv.g;
61 tmp_g += g;
69 sum15g += g*i;
70 count15g += g;
83 out.g = sum15g/count15g;
86 out.r = out.g = out.b = 255;
95 int minimum = min(estimation.r, min(estimation.g, estimation.b));
[all …]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DCrossProcess.java44 float g = f; in createTest() local
45 if (g < 0.5f) { in createTest()
46 g = 2.0f * g * g; in createTest()
48 g = 1.0f - g; in createTest()
49 g = 1.0f - (2.0f * g * g); in createTest()
51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f)); in createTest()
Dwbalance.rscript31 int g = hv.g;
34 sum_g += g;
41 if (g>0){
58 int g = hv.g;
61 tmp_g += g;
69 sum15g += g*i;
70 count15g += g;
83 out.g = sum15g/count15g;
86 out.r = out.g = out.b = 255;
95 int minimum = min(estimation.r, min(estimation.g, estimation.b));
[all …]
/frameworks/native/cmds/surfacereplayer/replayer/
DColor.h29 RGB(uint8_t rIn, uint8_t gIn, uint8_t bIn) : r(rIn), g(gIn), b(bIn) {} in RGB()
32 uint8_t g = 0; member
65 double r = 0, g = 0, b = 0; in getRGB() local
69 g = v; in getRGB()
85 g = z; in getRGB()
91 g = v; in getRGB()
97 g = v; in getRGB()
103 g = y; in getRGB()
109 g = x; in getRGB()
115 g = x; in getRGB()
[all …]
/frameworks/av/media/libstagefright/filters/
DColorConvert.cpp30 int32_t* r, int32_t* g, int32_t* b) { in YUVToRGB() argument
36 *g = 1192 * y - 833 * v - 400 * u; in YUVToRGB()
40 *g = min(262143, max(0, *g)); in YUVToRGB()
44 *g >>= 10; in YUVToRGB()
59 int32_t r, g, b; in convertYUV420spToARGB() local
60 YUVToRGB(y, u, v, &r, &g, &b); in convertYUV420spToARGB()
64 *dest++ = g; in convertYUV420spToARGB()
81 int32_t r, g, b; in convertYUV420spToRGB888() local
82 YUVToRGB(y, u, v, &r, &g, &b); in convertYUV420spToRGB888()
85 *dest++ = g; in convertYUV420spToRGB888()
[all …]
/frameworks/native/services/sensorservice/
DOrientationSensor.cpp52 vec3_t g; in process() local
55 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in process()
56 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in process()
57 g[2] = asinf ( R[2][0]) * rad2deg; in process()
58 if (g[0] < 0) in process()
59 g[0] += 360; in process()
62 outEvent->orientation.azimuth = g.x; in process()
63 outEvent->orientation.pitch = g.y; in process()
64 outEvent->orientation.roll = g.z; in process()
DGravitySensor.cpp58 vec3_t g; in process() local
65 g = R[2] * GRAVITY_EARTH; in process()
68 outEvent->data[0] = g.x; in process()
69 outEvent->data[1] = g.y; in process()
70 outEvent->data[2] = g.z; in process()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcolorspace.cpp115 int r, g, b, a, h, s, v, c_max, c_min; in JNI_COLORSPACE_METHOD() local
121 g = color_in.channel[kGreen]; in JNI_COLORSPACE_METHOD()
125 if (r > g) { in JNI_COLORSPACE_METHOD()
126 c_min = (g > b) ? b : g; in JNI_COLORSPACE_METHOD()
130 c_max = (g > b) ? g : b; in JNI_COLORSPACE_METHOD()
136 h = (g > b) ? static_cast<int>(scaler * (g - b) / delta) : in JNI_COLORSPACE_METHOD()
137 static_cast<int>(scaler * ((g - b) / delta + 6)); in JNI_COLORSPACE_METHOD()
138 } else if (c_max == g) { in JNI_COLORSPACE_METHOD()
141 h = static_cast<int>(scaler * ((r - g) / delta + 4)); in JNI_COLORSPACE_METHOD()
158 int r, g, b; in JNI_COLORSPACE_METHOD() local
[all …]
/frameworks/base/graphics/java/android/graphics/
DColor.java340 private Color(float r, float g, float b, float a) { in Color() argument
341 this(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in Color()
354 private Color(float r, float g, float b, float a, @NonNull ColorSpace colorSpace) { in Color() argument
355 mComponents = new float[] { r, g, b, a }; in Color()
635 double g = eotf.applyAsDouble(mComponents[1]); in luminance() local
638 return saturate((float) ((0.2126 * r) + (0.7152 * g) + (0.0722 * b))); in luminance()
843 float g = green(color); in toArgb() local
848 float[] c = ColorSpace.connect(colorSpace(color)).transform(r, g, b); in toArgb()
867 float g = ((color >> 8) & 0xff) / 255.0f; in valueOf() local
870 return new Color(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in valueOf()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dfp16.rscript59 _RS_ASSERT_EQU(x.g, y.g);
60 if (x.r != y.r || x.g != y.g) {
61 rsDebug("Different half vectors v1: ", x.r, x.g);
62 rsDebug(" v2: ", y.r, y.g);
68 _RS_ASSERT_EQU(x.g, y.g);
70 if (x.r != y.r || x.g != y.g || x.b != y.b) {
71 rsDebug("Different half vectors v1: ", x.r, x.g, x.b);
72 rsDebug(" v2: ", y.r, y.g, y.b);
78 _RS_ASSERT_EQU(x.g, y.g);
81 if (x.r != y.r || x.g != y.g || x.b != y.b || x.a != y.a) {
[all …]
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
Dyuv.rscript26 if (color.g < 0.5f) {
27 v = color.g;
28 ncolor.g = 2.0f * v * v;
30 v = 1.0f - color.g;
31 ncolor.g = 1.0f - (2.0f * v * v);
42 ncolor.g = crossProcess_tableG[color.g];
56 color.g = color.g + t.g * 0.25f;
58 float max_value = max(new_color.r, max(new_color.g, new_color.b));
99 crossProcess_tableG[i] = (uchar)(res.g * 255.f);
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java55 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() local
60 return Color.argb(a, r, g, b); in compositeColors()
215 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToHSL()
218 final float gf = g / 255f; in RGBToHSL()
292 int r = 0, g = 0, b = 0; in HSLToColor() local
297 g = Math.round(255 * (x + m)); in HSLToColor()
302 g = Math.round(255 * (c + m)); in HSLToColor()
307 g = Math.round(255 * (c + m)); in HSLToColor()
312 g = Math.round(255 * (x + m)); in HSLToColor()
317 g = Math.round(255 * m); in HSLToColor()
[all …]
/frameworks/base/core/jni/
Dandroid_graphics_ColorSpace.cpp55 uint8_t g = color >> 40 & 0xff; in convertColorLong() local
57 SkColor c = SkColorSetARGB(a, r, g, b); in convertColorLong()
63 float g = halfToFloat((uint16_t)(color >> 32 & 0xffff)); in convertColorLong() local
67 return SkColor4f{r, g, b, a}; in convertColorLong()
84 jfloat d, jfloat e, jfloat f, jfloat g, jfloatArray xyzD50) { in ColorSpace_creator() argument
92 p.g = g; in ColorSpace_creator()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java673 private void drawOnGraphics(Graphics2D g, Drawable drawable, Paint_Delegate paint, in drawOnGraphics() argument
676 drawable.draw(g, paint); in drawOnGraphics()
679 g.dispose(); in drawOnGraphics()
737 Graphics2D g = (Graphics2D) baseGfx.create(); in restoreLayer() local
738 g.setComposite(AlphaComposite.Src); in restoreLayer()
740 g.drawImage(originalCopy, in restoreLayer()
744 g.dispose(); in restoreLayer()
749 Graphics2D g = createCustomGraphics(baseGfx, mLocalLayerPaint, in restoreLayer() local
752 g.drawImage(mLocalLayer.getImage(), in restoreLayer()
756 g.dispose(); in restoreLayer()
[all …]
/frameworks/native/opengl/libagl/
Dvertex.cpp37 c->current.color.g = 0x10000; in ogles_init_vertex()
187 void glColor4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a) in glColor4f() argument
192 c->current.color.g = gglFloatToFixed(g); in glColor4f()
193 c->currentColorClamped.g = gglClampx(c->current.color.g); in glColor4f()
200 void glColor4x(GLfixed r, GLfixed g, GLfixed b, GLfixed a) in glColor4x() argument
204 c->current.color.g = g; in glColor4x()
208 c->currentColorClamped.g = gglClampx(g); in glColor4x()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_no_password25 …�뀋��}��o���36��3f9�;�SL g��+O�:�>�Ugt�!���ҊE�[��(!��b����;(ʂ;�Ȣ,�{�a� �E�*e�-�`��Naz�B$�?�…
26 A��mTL� i��g�Ug��Yt 'r57���W�.0�?���q�Dp��:P,x-���"2�����c�_M�bU��l�3��oP!�ws;�B�_�A,��…
27 …t��y��c+ w{� ���t�7�=�&tl���5x���#������O"jL)?� ����4ǔ��ҽjQ��2�#�g;�]�.�=��T���t�-E��z…
31 �j�g�Hkm1��s���
33 …�V���Z�'��q���L�S/J�W�%'�t��H3��V�hK���������Qյ��h6"�äկۇ�v_x�D��g:���z6�J��g�G�N �t)R��Ɔ�6d…
35g[$�a�ݨ�0�]��9,��}�=Q�*1'+"M�B'�ܗȯrSm�B�J�� P�0{G�׵�A�7y˰G饮����f嵳�U;�*(���%�{{�4G����>}…
38g�w��V��SA�˝��ߪ2�dj|�6!f��j[x���T��%����l25�Q��=�����s��U�<ݱ�дf����m����T \Fs�0t��3s���6�����…
39 …y$�l��v��"���dj:��e��H�g�z]����Ĉ �/9ۂ�:��u3y��ʍ�F�1�����-_ �m��i*��p������&"*^�����H�|왐���…
Dbackup_telephony_with_password12 6�Y �N��&E4�4��S�e�u���� g��@c"�I-v�0B_��f�EǧZ��'��8^�կ0������?{�v5"�ہ2�U"���W��wSbG!�����eU…
13 …'&x��5�ҷ/���И�a n �N��8�LH~��`�����t�|6��l���KX�������;�l=��!��l�C)��Wh����i#��8��s"�g��U��
14 …��Z��kl� ��%��@<c~����ۅ��TH��Vk ?0q�ҿTs�|y��M������X����8\�δ��>���E�g,n�".g�N��1 �,/�� d<x�E…
24 �,e���=����3��SM��@Ɉ�ɌT I��'�ɽ��o�c�m��3;,�I���?/�i�s��X��i�3Y��U?�k�g��x�0��k��}E⣛,�� …
26 …Q̗hC���mwT GB¥�8p�p,��)�⊯L�L!/3Xv�И f=�b<�m?��g�X�@�ф���Wa�ޡ�%e�Zo�C�I��"N�]���{%���� �…
29 d�Wĥb$b�9Qt[,�F|˩g��hY��)K� ��Jz�yj�T� p4��f�QMR��;o�_b�{n�Xc�t)^v?�� >Ze��̈́��Yq[��Al=W��s…
36 -Z�ԩ�g
37g��A%���!�W?b`?tnYg�����u8�WͲ�k8��z�^�o���F�z^ �Q��EMGI8v9��]<~�F������*˰�3�w�=��']7��v¾…
38 …g(&X_6q�>��5�2��@e��rf��[cDL��C=q��PR�Gi{A���2N��P�x�$���K�qV��lg���vu���El����$~N�…
39 …��5��J�x��]�b.bh��D>��ӎ\�)(O3�����2�g}p�a�6�+�әnoY��vW��c`�pJ�VQ Qγ�Wba!'Ke!���Z�cy��4�…
[all …]
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java344 int g = Color.green(color); in findAlphaToMeetContrast() local
350 fg = Color.argb(alpha, r, g, b); in findAlphaToMeetContrast()
357 return Color.argb(high, r, g, b); in findAlphaToMeetContrast()
652 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() local
657 return Color.argb(a, r, g, b); in compositeColors()
742 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToLAB()
745 RGBToXYZ(r, g, b, outLab); in RGBToLAB()
788 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToXYZ()
796 double sg = g / 255.0; in RGBToXYZ()
891 double g = (x * -0.9689 + y * 1.8758 + z * 0.0415) / 100; in XYZToColor() local
[all …]
/frameworks/ml/nn/common/operations/
DGroupedConv2D.cpp64 for (uint32_t g = 0; g < numGroups; g++) { in groupedConvFloat32() local
76 uint32_t dInput = filterDepth * g + k; in groupedConvFloat32()
88 sum += biasData[g * outputGroupDepth + d]; in groupedConvFloat32()
136 for (uint32_t g = 0; g < numGroups; g++) { in groupedConvQuant8() local
148 uint32_t dInput = filterDepth * g + k; in groupedConvQuant8()
163 sum += biasData[g * outputGroupDepth + d]; in groupedConvQuant8()
240 for (uint32_t g = 0; g < numGroups; g++) { in groupedConvQuant8PerChannel() local
252 uint32_t dInput = filterDepth * g + k; in groupedConvQuant8PerChannel()
266 int channelIndex = g * outputGroupDepth + d; in groupedConvQuant8PerChannel()

12345678910>>...17