Home
last modified time | relevance | path

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

12345678910>>...19

/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/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/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/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.java339 private Color(float r, float g, float b, float a) { in Color() argument
340 this(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in Color()
353 private Color(float r, float g, float b, float a, @NonNull ColorSpace colorSpace) { in Color() argument
354 mComponents = new float[] { r, g, b, a }; in Color()
634 double g = eotf.applyAsDouble(mComponents[1]); in luminance() local
637 return saturate((float) ((0.2126 * r) + (0.7152 * g) + (0.0722 * b))); in luminance()
842 float g = green(color); in toArgb() local
847 float[] c = ColorSpace.connect(colorSpace(color)).transform(r, g, b); in toArgb()
866 float g = ((color >> 8) & 0xff) / 255.0f; in valueOf() local
869 return new Color(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in valueOf()
[all …]
DColorSpace.java1056 public float[] toXyz(float r, float g, float b) { in toXyz() argument
1057 return toXyz(new float[] { r, g, b }); in toXyz()
1566 private static double rcpResponse(double x, double a, double b, double c, double d, double g) { in rcpResponse() argument
1567 return x >= d * c ? (Math.pow(x, 1.0 / g) - b) / a : x / c; in rcpResponse()
1571 private static double response(double x, double a, double b, double c, double d, double g) { in response() argument
1572 return x >= d ? Math.pow(a * x + b, g) : c * x; in response()
1577 double e, double f, double g) { in rcpResponse() argument
1578 return x >= d * c ? (Math.pow(x - e, 1.0 / g) - b) / a : (x - f) / c; in rcpResponse()
1583 double e, double f, double g) { in response() argument
1584 return x >= d ? Math.pow(a * x + b, g) + e : c * x + f; in response()
[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.java57 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() local
62 return Color.argb(a, r, g, b); in compositeColors()
217 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToHSL()
220 final float gf = g / 255f; in RGBToHSL()
294 int r = 0, g = 0, b = 0; in HSLToColor() local
299 g = Math.round(255 * (x + m)); in HSLToColor()
304 g = Math.round(255 * (c + m)); in HSLToColor()
309 g = Math.round(255 * (c + m)); in HSLToColor()
314 g = Math.round(255 * (x + m)); in HSLToColor()
319 g = Math.round(255 * m); in HSLToColor()
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_ColorSpace.cpp58 uint8_t g = color >> 40 & 0xff; in convertColorLong() local
60 SkColor c = SkColorSetARGB(a, r, g, b); in convertColorLong()
66 float g = halfToFloat((uint16_t)(color >> 32 & 0xffff)); in convertColorLong() local
70 return SkColor4f{r, g, b, a}; in convertColorLong()
87 jfloat d, jfloat e, jfloat f, jfloat g, jfloatArray xyzD50) { in ColorSpace_creator() argument
95 p.g = g; in ColorSpace_creator()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DOmniFunction.java69 abstract R invoke(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k); in invoke() argument
166 public R apply(A a, B b, C c, D d, E e, F f, G g) { in apply() argument
167 return invoke(a, b, c, d, e, f, g, null, null, null, null); in apply()
171 public R apply(A a, B b, C c, D d, E e, F f, G g, H h) { in apply() argument
172 return invoke(a, b, c, d, e, f, g, h, null, null, null); in apply()
176 public R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i) { in apply() argument
177 return invoke(a, b, c, d, e, f, g, h, i, null, null); in apply()
181 public R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j) { in apply() argument
182 return invoke(a, b, c, d, e, f, g, h, i, j, null); in apply()
186 public R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k) { in apply() argument
[all …]
/frameworks/base/core/java/com/android/internal/graphics/cam/
DCamUtils.java127 final float g = linearized(Color.green(argb)); in yFromInt() local
130 float y = (r * matrix[1][0]) + (g * matrix[1][1]) + (b * matrix[1][2]); in yFromInt()
137 final float g = linearized(Color.green(argb)); in xyzFromInt() local
141 float x = (r * matrix[0][0]) + (g * matrix[0][1]) + (b * matrix[0][2]); in xyzFromInt()
142 float y = (r * matrix[1][0]) + (g * matrix[1][1]) + (b * matrix[1][2]); in xyzFromInt()
143 float z = (r * matrix[2][0]) + (g * matrix[2][1]) + (b * matrix[2][2]); in xyzFromInt()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java718 private void drawOnGraphics(Graphics2D g, Drawable drawable, Paint_Delegate paint, in drawOnGraphics() argument
721 drawable.draw(g, paint); in drawOnGraphics()
724 g.dispose(); in drawOnGraphics()
782 Graphics2D g = (Graphics2D) baseGfx.create(); in restoreLayer() local
783 g.setComposite(AlphaComposite.Src); in restoreLayer()
785 g.drawImage(originalCopy, in restoreLayer()
789 g.dispose(); in restoreLayer()
794 Graphics2D g = createCustomGraphics(baseGfx, mLocalLayerPaint, in restoreLayer() local
797 g.drawImage(mLocalLayer.getImage(), in restoreLayer()
801 g.dispose(); in restoreLayer()
[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()
655 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() local
660 return Color.argb(a, r, g, b); in compositeColors()
745 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToLAB()
748 RGBToXYZ(r, g, b, outLab); in RGBToLAB()
791 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToXYZ()
799 double sg = g / 255.0; in RGBToXYZ()
894 double g = (x * -0.9689 + y * 1.8758 + z * 0.0415) / 100; in XYZToColor() local
[all …]
/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�|왐���…

12345678910>>...19