Home
last modified time | relevance | path

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

123456

/frameworks/compile/libbcc/tests/data/src/
Dotcc-ansi.c122 void ae(int g) { in ae() argument
123 while( g&&g!=-1) { in ae()
124 *(char*) q++=g; in ae()
125 g=g>>8; in ae()
130 int g; in A() local
132 g=*(int*) e; in A()
134 e=g; in A()
138 int s(int g, int e) { in s() argument
139 ae(g); in s()
173 int g,e,m,aa; in T() local
[all …]
Dotcc-noinclude.c128 l g){
129 p g&&g!=-1){
130 x q++=g;
131 g=g>>8;
135 F g;
137 g=k e;
139 e=g;
142 s(g,n{
143 l g);
171 F g,e,m,aa;
[all …]
Dflops.c121 void testpassi(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j, int k, int l) { in testpassi() argument
122 printf("testpassi: %d %d %d %d %d %d %d %d %d %d %d %d\n", a, b, c, d, e, f, g, h, i, j, k, l); in testpassi()
125 void testpassf(float a, float b, float c, float d, float e, float f, float g, float h, float i, flo… in testpassf() argument
126 printf("testpassf: %g %g %g %g %g %g %g %g %g %g %g %g\n", a, b, c, d, e, f, g, h, i, j, k, l); in testpassf()
129 void testpassd(double a, double b, double c, double d, double e, double f, double g, double h, doub… in testpassd() argument
130 printf("testpassd: %g %g %g %g %g %g %g %g %g %g %g %g\n", a, b, c, d, e, f, g, h, i, j, k, l); in testpassd()
/frameworks/media/libvideoeditor/vss/common/inc/
DM4VIFI_Defines.h33 #define Y16(r, g, b) CLIP( ( ( (80593 * r)+(77855 * g)+(30728 * b)) >> 15)) argument
34 #define U16(r, g, b) CLIP(128+ ( ( -(45483 * r)-(43936 * g)+(134771 * b)) >> 15 )) argument
35 #define V16(r, g, b) CLIP(128+ ( ( (134771 * r)-(55532 * g)-(21917 * b)) >> 15 )) argument
81 #define GET_RGB565(r, g, b, data) {b = ((data) & 31); g =\ argument
83 #define GET_BGR565(b, g, r, data) \ argument
85 g = ((data >> 5) & 63); \
92 #define GET_RGB565(r, g, b, data) { b = (M4VIFI_UInt8)(((data) & 0x1F00) >> 8); g =\ argument
95 #define GET_BGR565(b, g, r, data) \ argument
97 g = ((data >> 5) & 63); \
103 #define Y24(r,g,b) CLIP(( ( (19595 * r) + (38470 * g) + (9437 * b) ) >>16)) argument
[all …]
/frameworks/compile/libbcc/tests/data/
Dotcc.c128 l g){
129 p g&&g!=-1){
130 x q++=g;
131 g=g>>8;
135 F g;
137 g=k e;
139 e=g;
142 s(g,n{
143 l g);
171 F g,e,m,aa;
[all …]
/frameworks/base/media/jni/mediaeditor/
DVideoEditorJava.h44 VideoEditJava_Constant g##m_class##Constants [] =
52 static VideoEditJava_ConstantsClass g##m_class##ConstantsClass = \
54 &g##m_class##Constants[0], \
55 (sizeof(g##m_class##Constants) / sizeof(VideoEditJava_Constant)), \
67 &g##m_class##ConstantsClass); \
74 &g##m_class##ConstantsClass, \
83 &g##m_class##ConstantsClass, \
95 &g##m_class##ConstantsClass, \
107 &g##m_class##ConstantsClass, \
117 &g##m_class##ConstantsClass, \
[all …]
/frameworks/base/services/sensorservice/
DOrientationSensor.cpp43 vec3_t g; in process() local
46 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in process()
47 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in process()
48 g[2] = asinf ( R[2][0]) * rad2deg; in process()
49 if (g[0] < 0) in process()
50 g[0] += 360; in process()
53 outEvent->orientation.azimuth = g.x; in process()
54 outEvent->orientation.pitch = g.y; in process()
55 outEvent->orientation.roll = g.z; in process()
DGravitySensor.cpp49 vec3_t g; in process() local
56 g = R[2] * GRAVITY_EARTH; in process()
59 outEvent->data[0] = g.x; in process()
60 outEvent->data[1] = g.y; in process()
61 outEvent->data[2] = g.z; in process()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
DarmCOMM.h561 …define DEBUG_PRINTF_6(a, b, c, d, e, f, g) fprintf(DEBUG_STREAM, a, b,… argument
562 …define DEBUG_PRINTF_7(a, b, c, d, e, f, g, h) fprintf(DEBUG_STREAM, a, b,… argument
563 …define DEBUG_PRINTF_8(a, b, c, d, e, f, g, h, i) fprintf(DEBUG_STREAM, a, b,… argument
564 …define DEBUG_PRINTF_9(a, b, c, d, e, f, g, h, i, j) fprintf(DEBUG_STREAM, a, b,… argument
565 …define DEBUG_PRINTF_10(a, b, c, d, e, f, g, h, i, j, k) fprintf(DEBUG_STREAM, a, b,… argument
566 …define DEBUG_PRINTF_11(a, b, c, d, e, f, g, h, i, j, k, l) fprintf(DEBUG_STREAM, a, b,… argument
567 …define DEBUG_PRINTF_12(a, b, c, d, e, f, g, h, i, j, k, l, m) fprintf(DEBUG_STREAM, a, b,… argument
568 …define DEBUG_PRINTF_13(a, b, c, d, e, f, g, h, i, j, k, l, m, n) fprintf(DEBUG_STREAM, a, b,… argument
569 …define DEBUG_PRINTF_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) fprintf(DEBUG_STREAM, a, b,… argument
577 #define DEBUG_PRINTF_6(a, b, c, d, e, f, g) argument
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
DarmCOMM.h561 …define DEBUG_PRINTF_6(a, b, c, d, e, f, g) fprintf(DEBUG_STREAM, a, b,… argument
562 …define DEBUG_PRINTF_7(a, b, c, d, e, f, g, h) fprintf(DEBUG_STREAM, a, b,… argument
563 …define DEBUG_PRINTF_8(a, b, c, d, e, f, g, h, i) fprintf(DEBUG_STREAM, a, b,… argument
564 …define DEBUG_PRINTF_9(a, b, c, d, e, f, g, h, i, j) fprintf(DEBUG_STREAM, a, b,… argument
565 …define DEBUG_PRINTF_10(a, b, c, d, e, f, g, h, i, j, k) fprintf(DEBUG_STREAM, a, b,… argument
566 …define DEBUG_PRINTF_11(a, b, c, d, e, f, g, h, i, j, k, l) fprintf(DEBUG_STREAM, a, b,… argument
567 …define DEBUG_PRINTF_12(a, b, c, d, e, f, g, h, i, j, k, l, m) fprintf(DEBUG_STREAM, a, b,… argument
568 …define DEBUG_PRINTF_13(a, b, c, d, e, f, g, h, i, j, k, l, m, n) fprintf(DEBUG_STREAM, a, b,… argument
569 …define DEBUG_PRINTF_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) fprintf(DEBUG_STREAM, a, b,… argument
577 #define DEBUG_PRINTF_6(a, b, c, d, e, f, g) argument
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/api/
DarmCOMM.h561 …define DEBUG_PRINTF_6(a, b, c, d, e, f, g) fprintf(DEBUG_STREAM, a, b,… argument
562 …define DEBUG_PRINTF_7(a, b, c, d, e, f, g, h) fprintf(DEBUG_STREAM, a, b,… argument
563 …define DEBUG_PRINTF_8(a, b, c, d, e, f, g, h, i) fprintf(DEBUG_STREAM, a, b,… argument
564 …define DEBUG_PRINTF_9(a, b, c, d, e, f, g, h, i, j) fprintf(DEBUG_STREAM, a, b,… argument
565 …define DEBUG_PRINTF_10(a, b, c, d, e, f, g, h, i, j, k) fprintf(DEBUG_STREAM, a, b,… argument
566 …define DEBUG_PRINTF_11(a, b, c, d, e, f, g, h, i, j, k, l) fprintf(DEBUG_STREAM, a, b,… argument
567 …define DEBUG_PRINTF_12(a, b, c, d, e, f, g, h, i, j, k, l, m) fprintf(DEBUG_STREAM, a, b,… argument
568 …define DEBUG_PRINTF_13(a, b, c, d, e, f, g, h, i, j, k, l, m, n) fprintf(DEBUG_STREAM, a, b,… argument
569 …define DEBUG_PRINTF_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) fprintf(DEBUG_STREAM, a, b,… argument
577 #define DEBUG_PRINTF_6(a, b, c, d, e, f, g) argument
[all …]
/frameworks/base/graphics/java/android/graphics/
DColor.java119 int g = (color >> 8) & 0xFF; in hue() local
122 int V = Math.max(b, Math.max(r, g)); in hue()
123 int temp = Math.min(b, Math.min(r, g)); in hue()
132 final float cg = (V - g) / vtemp; in hue()
137 } else if (g == V) { in hue()
161 int g = (color >> 8) & 0xFF; in saturation() local
165 int V = Math.max(b, Math.max(r, g)); in saturation()
166 int temp = Math.min(b, Math.min(r, g)); in saturation()
188 int g = (color >> 8) & 0xFF; in brightness() local
191 int V = Math.max(b, Math.max(r, g)); in brightness()
/frameworks/base/libs/rs/
DrsUtils.h116 static inline uint16_t rs888to565(uint32_t r, uint32_t g, uint32_t b) { in rs888to565() argument
119 t |= (g >> 2) << 5; in rs888to565()
126 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f); in rsBoxFilter565() local
128 return (r >> 2) | ((g >> 2) << 5) | ((b >> 2) << 11); in rsBoxFilter565()
133 … uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff); in rsBoxFilter8888() local
136 return (r >> 2) | ((g >> 2) << 8) | ((b >> 2) << 16) | ((a >> 2) << 24); in rsBoxFilter8888()
DrsScriptC_LibGL.cpp118 float r, float g, float b, float a) { in rsrPfConstantColor() argument
120 pf->setConstantColor(rsc, r, g, b, a); in rsrPfConstantColor()
242 void rsrColor(Context *rsc, Script *sc, float r, float g, float b, float a) { in rsrColor() argument
244 pf->setConstantColor(rsc, r, g, b, a); in rsrColor()
252 void rsrClearColor(Context *rsc, Script *sc, float r, float g, float b, float a) { in rsrClearColor() argument
256 RSD_CALL_GL(glClearColor, r, g, b, a); in rsrClearColor()
326 void rsrFontColor(Context *rsc, Script *sc, float r, float g, float b, float a) { in rsrFontColor() argument
327 rsc->mStateFont.setFontColor(r, g, b, a); in rsrFontColor()
/frameworks/base/cmds/keystore/
Dtest-keystore120 keystore system g baz
125 keystore root g baz
135 keystore app_0 g baz
157 keystore app_0 g
160 keystore app_0 g 0x
193 keystore app_0 g 0x
243 keystore root g baz
254 keystore root g baz
/frameworks/base/media/libstagefright/codecs/aacenc/src/
Dquantize.c111 Word32 g = (gain >> 2) + 4; in quantizeLines() local
118 g += 16; in quantizeLines()
120 if(g >= 0) in quantizeLines()
134 saShft = sa >> g; in quantizeLines()
181 saShft = sa << g; in quantizeLines()
334 Word32 g = (gain >> 2) + 4; in calcSfbDist() local
335 Word32 g2 = (g << 1) + 1; in calcSfbDist()
343 g += 16; in calcSfbDist()
344 if(g2 < 0 && g >= 0) in calcSfbDist()
356 saShft = sa >> g; in calcSfbDist()
[all …]
/frameworks/base/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java675 Graphics2D g = (Graphics2D) baseGfx.create(); in restoreLayer() local
676 g.setComposite(AlphaComposite.Src); in restoreLayer()
678 g.drawImage(originalCopy, in restoreLayer()
682 g.dispose(); in restoreLayer()
687 Graphics2D g = createCustomGraphics(baseGfx, mLocalLayerPaint, in restoreLayer() local
690 g.drawImage(mLocalLayer.getImage(), in restoreLayer()
694 g.dispose(); in restoreLayer()
706 Graphics2D g = (Graphics2D) original.create(); in createCustomGraphics() local
711 g.setRenderingHint( in createCustomGraphics()
713 g.setRenderingHint( in createCustomGraphics()
[all …]
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
Dpreemph.cpp239 Word16 g, /* (i) : preemphasis coefficient */ in preemphasis() argument
256 temp2 = mult(g, *(p2--), pOverflow); in preemphasis()
262 temp2 = mult(g, st->mem_pre, pOverflow); in preemphasis()
/frameworks/base/opengl/tests/swapinterval/
Dswapinterval.cpp63 EGLint r,g,b,a, vid; in main() local
65 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g); in main()
74 EGLUtils::strerror(err), config, r,g,b,a, vid); in main()
79 config, r,g,b,a, vid); in main()
/frameworks/base/libs/utils/
DBackupHelpers.cpp154 const FileRec& g = snapshot.valueAt(i); in write_snapshot_file() local
155 if (!g.deleted) { in write_snapshot_file()
381 FileRec& g = newSnapshot.editValueAt(m); in back_up_files() local
383 if (g.deleted || cmp < 0) { in back_up_files()
386 g.deleted = true; // They didn't mention the file, but we noticed that it's gone. in back_up_files()
392 LOGP("file added: %s", g.file.string()); in back_up_files()
393 write_update_file(dataStream, q, g.file.string()); in back_up_files()
400 int fd = open(g.file.string(), O_RDONLY); in back_up_files()
405 LOGP("Unable to open file %s - skipping", g.file.string()); in back_up_files()
407 g.s.crc32 = compute_crc32(fd); in back_up_files()
[all …]
/frameworks/base/location/tests/locationtests/src/android/location/
DGeocoderTest.java36 Geocoder g = new Geocoder(mContext, locale); in testGeocoder() local
38 List<Address> addresses1 = g.getFromLocation(37.435067, -122.166767, 2); in testGeocoder()
49 List<Address> addresses2 = g.getFromLocationName("San Francisco, CA", 1); in testGeocoder()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridDelete.java57 GridView g = getGridView(); in onKeyDown() local
58 ((DeleteAdapter)g.getAdapter()).deletePosition(g.getSelectedItemPosition()); in onKeyDown()
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr9 …�ݖzF����/L9��-~PJB(�<z_1�&���˷��|D�p�B����5���<m!���CՒ|L2�{D�g����5��s���p<���������…
11 ��������FXkX^@<~`zhŚ'��Pp���443�__�]����<B:20�Q(���T��A���������=v�`<POI���6��J�*���g���…
85 H�B�<J{W�Բ��?�mN7�Sh��N������v�<O&q�c��3�-�e�VӶ�q�u�ͶO�y��<T�g��H!��+��b�_��9fFD����(p<…
87 ��, ���hìE������^��p<�g��`�Z��� �D6�ϖ�����~E�<�vm%a�����U��,X�I�ˋ�� Z�2�<������멸��-N7q:�…
112 A�f�_�3��:Z��Ű<6^vf�$�2�{�m�h_���Lt�.���5��<6m.m��-&��gp�R�ЃԀWC�`<",vxg��v{Ԉ�'��O�M…
126 …��<�׾cht��к'�8���u�,�v�j=� Pp<�C�a;~#�6)�1t:Ķl����j"�oܰ<�)�5���Ӈ�a�g��P,�vўS8�mH < z��a9…
164 …!�o0�yb,Y1��ꭧ'���<x�u2���{�\��9�*�3�����;���<�J/r�~E��Uhhn�k��г�s�xw� <?�^g��ԣ��QPd��
165 ���%gݢ�fCp<4�d^x��ԪA��.�vJ&E^�^���A�pq�<8�{d{��DR�%�[E��I�'*�N�Ύ��<Hzi�~��T�ԟ�y�T�a�üݜ����[…
170 n����<�).��A��L�9Դ\)���g+!�Q��<L,&��t(��V��dn�T�l�F&��0<
180 …�Ͱ�| <S#�OE2��|��o���5R���@�ɓ�_�<�Zc�M��E'�*;���ߔ���]��^�P<q3�H�L�g ����*��j��x�C/B�P<�…
[all …]
/frameworks/base/libs/hwui/
DProgramCache.h193 bool setColor(const float r, const float g, const float b, const float a) { in setColor()
195 g < COLOR_COMPONENT_THRESHOLD || b < COLOR_COMPONENT_THRESHOLD; in setColor()
204 bool setAlpha8Color(const float r, const float g, const float b, const float a) { in setAlpha8Color()
206 g > COLOR_COMPONENT_INV_THRESHOLD || b > COLOR_COMPONENT_INV_THRESHOLD; in setAlpha8Color()

123456