Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/base/libs/rs/
Drs.spec4 param RsScript sampler
8 param RsProgramFragmentStore pgm
12 param RsProgramFragment pgm
16 param RsProgramVertex pgm
20 param RsProgramRaster pgm
30 param uint32_t width
31 param uint32_t height
32 param ANativeWindow *sur
36 param int32_t bits
40 param RsError *err
[all …]
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java158 byte[] param = shortToByteArray(room); in setRoomLevel()
159 checkStatus(setParameter(PARAM_ROOM_LEVEL, param)); in setRoomLevel()
171 byte[] param = new byte[2]; in getRoomLevel()
172 checkStatus(getParameter(PARAM_ROOM_LEVEL, param)); in getRoomLevel()
173 return byteArrayToShort(param); in getRoomLevel()
187 byte[] param = shortToByteArray(roomHF); in setRoomHFLevel()
188 checkStatus(setParameter(PARAM_ROOM_HF_LEVEL, param)); in setRoomHFLevel()
200 byte[] param = new byte[2]; in getRoomHFLevel()
201 checkStatus(getParameter(PARAM_ROOM_HF_LEVEL, param)); in getRoomHFLevel()
202 return byteArrayToShort(param); in getRoomHFLevel()
[all …]
DEqualizer.java158 int[] param = new int[2]; in Equalizer() local
159 param[0] = PARAM_GET_PRESET_NAME; in Equalizer()
161 param[1] = i; in Equalizer()
162 checkStatus(getParameter(param, value)); in Equalizer()
186 int[] param = new int[1]; in getNumberOfBands() local
187 param[0] = PARAM_NUM_BANDS; in getNumberOfBands()
189 checkStatus(getParameter(param, result)); in getNumberOfBands()
223 int[] param = new int[2]; in setBandLevel() local
226 param[0] = PARAM_BAND_LEVEL; in setBandLevel()
227 param[1] = (int)band; in setBandLevel()
[all …]
DAudioEffect.java451 public int setParameter(byte[] param, byte[] value) in setParameter() argument
454 return native_setParameter(param.length, param, value.length, value); in setParameter()
463 public int setParameter(int param, int value) throws IllegalStateException { in setParameter() argument
464 byte[] p = intToByteArray(param); in setParameter()
476 public int setParameter(int param, short value) in setParameter() argument
478 byte[] p = intToByteArray(param); in setParameter()
490 public int setParameter(int param, byte[] value) in setParameter() argument
492 byte[] p = intToByteArray(param); in setParameter()
503 public int setParameter(int[] param, int[] value) in setParameter() argument
505 if (param.length > 2 || value.length > 2) { in setParameter()
[all …]
/frameworks/base/media/libstagefright/codecs/amrwb/src/
Dhoming_amr_wb_dec.cpp251 int16 param[DHF_PARMS_MAX]; in dhf_test() local
283 param[i] = Serial_parm(15, &prms); in dhf_test()
288 param[i] = Serial_parm(tmp, &prms); in dhf_test()
290 param[i] = shl_int16(param[i], shift); in dhf_test()
297 param[i] = Serial_parm(15, &prms); in dhf_test()
299 param[10] = Serial_parm(15, &prms) & 0x61FF; in dhf_test()
303 param[i] = Serial_parm(15, &prms); in dhf_test()
305 param[17] = Serial_parm(15, &prms) & 0xE0FF; in dhf_test()
309 param[i] = Serial_parm(15, &prms); in dhf_test()
311 param[24] = Serial_parm(15, &prms) & 0x7F0F; in dhf_test()
[all …]
/frameworks/base/services/audioflinger/
DA2dpAudioInterface.cpp131 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
139 if (param.get(key, value) == NO_ERROR) { in setParameters()
144 param.remove(key); in setParameters()
147 if (param.get(key, value) == NO_ERROR) { in setParameters()
152 param.remove(key); in setParameters()
155 if (param.size()) { in setParameters()
156 status_t hwStatus = mHardwareInterface->setParameters(param.toString()); in setParameters()
167 AudioParameter param = AudioParameter(keys); in getParameters() local
173 if (param.get(key, value) == NO_ERROR) { in getParameters()
176 param.remove(key); in getParameters()
[all …]
DAudioHardwareGeneric.cpp270 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
276 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
278 param.remove(key); in setParameters()
281 if (param.size()) { in setParameters()
289 AudioParameter param = AudioParameter(keys); in getParameters() local
293 if (param.get(key, value) == NO_ERROR) { in getParameters()
294 param.addInt(key, (int)mDevice); in getParameters()
297 LOGV("getParameters() %s", param.toString().string()); in getParameters()
298 return param.toString(); in getParameters()
378 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
[all …]
DAudioDumpInterface.cpp191 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
196 if (param.get(String8("test_cmd_file_name"), value) == NO_ERROR) { in setParameters()
198 param.remove(String8("test_cmd_file_name")); in setParameters()
200 if (param.get(String8("test_cmd_policy"), value) == NO_ERROR) { in setParameters()
202 param.remove(String8("test_cmd_policy")); in setParameters()
203 mPolicyCommands = param.toString(); in setParameters()
214 AudioParameter param = AudioParameter(keys); in getParameters() local
219 if (param.get(String8("test_cmd_policy"), value) == NO_ERROR) { in getParameters()
227 param.remove(String8("test_cmd_policy")); in getParameters()
231 if (param.get(String8("test_cmd_file_name"), value) == NO_ERROR) { in getParameters()
[all …]
/frameworks/base/media/libmedia/
DAudioEffect.cpp261 status_t AudioEffect::setParameter(effect_param_t *param) in setParameter() argument
267 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
272 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter()
274 …LOGV("setParameter: param: %d, param2: %d", *(int *)param->data, (param->psize == 8) ? *((int *)pa… in setParameter()
276 …fect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, &param->status); in setParameter()
279 status_t AudioEffect::setParameterDeferred(effect_param_t *param) in setParameterDeferred() argument
285 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
291 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred()
299 memcpy(p, param, sizeof(effect_param_t) + psize); in setParameterDeferred()
319 status_t AudioEffect::getParameter(effect_param_t *param) in getParameter() argument
[all …]
/frameworks/base/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c48 …cmdline(int argc, char **argv,char **input_filename, char **output_filename, AACENC_PARAM *param) in parsecmdline() argument
54 param->adtsUsed = 1; in parsecmdline()
55 param->bitRate = 0; in parsecmdline()
56 param->nChannels = 2; in parsecmdline()
57 param->sampleRate = 44100; in parsecmdline()
84 param->sampleRate = atoi(*argv); in parsecmdline()
90 param->nChannels = atoi(*argv); in parsecmdline()
96 param->bitRate = atoi(*argv); in parsecmdline()
102 param->adtsUsed = atoi(*argv); in parsecmdline()
113 if(param->bitRate == 0) in parsecmdline()
[all …]
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java97 for (String param : spec.split(" +")) { in parseOptions()
98 if (param.length() == 0) continue; in parseOptions()
99 if (param.startsWith("backoff=")) { in parseOptions()
100 int plus = param.indexOf('+', 8); in parseOptions()
102 options.backoffFixedMillis = parseSeconds(param.substring(8)); in parseOptions()
105 options.backoffFixedMillis = parseSeconds(param.substring(8, plus)); in parseOptions()
107 options.backoffIncrementalMillis = parseSeconds(param.substring(plus + 1)); in parseOptions()
109 } else if (param.startsWith("max=")) { in parseOptions()
110 options.maxMoratoriumMillis = parseSeconds(param.substring(4)); in parseOptions()
111 } else if (param.startsWith("min=")) { in parseOptions()
[all …]
/frameworks/base/opengl/libagl/
Dlight.cpp445 static void lightModelx(GLenum pname, GLfixed param, ogles_context_t* c) in lightModelx() argument
451 c->lighting.lightModel.twoSide = param ? GL_TRUE : GL_FALSE; in lightModelx()
455 static void lightx(GLenum i, GLenum pname, GLfixed param, ogles_context_t* c) in lightx() argument
466 if (GGLfixed(param) >= gglIntToFixed(128)) { in lightx()
470 light.spotExp = param; in lightx()
473 if (param!=gglIntToFixed(180) && GGLfixed(param)>=gglIntToFixed(90)) { in lightx()
477 light.spotCutoff = param; in lightx()
479 gglFloatToFixed(cosinef((M_PI/(180.0f*65536.0f))*param)); in lightx()
482 if (param < 0) { in lightx()
486 light.attenuation[0] = param; in lightx()
[all …]
/frameworks/base/services/camera/libcameraservice/
DFakeCamera.cpp202 uint32_t *param, uint8_t *table[]) in ccrgb16toyuv_wo_colorkey() argument
206 int32_t width_dst = param[0]; in ccrgb16toyuv_wo_colorkey()
207 int32_t height_dst = param[1]; in ccrgb16toyuv_wo_colorkey()
208 int32_t pitch_dst = param[2]; in ccrgb16toyuv_wo_colorkey()
209 int32_t mheight_dst = param[3]; in ccrgb16toyuv_wo_colorkey()
210 int32_t pitch_src = param[4]; in ccrgb16toyuv_wo_colorkey()
292 uint32_t param[6]; in convert_rgb16_to_yuv420() local
293 param[0] = (uint32_t) width; in convert_rgb16_to_yuv420()
294 param[1] = (uint32_t) height; in convert_rgb16_to_yuv420()
295 param[2] = (uint32_t) width; in convert_rgb16_to_yuv420()
[all …]
/frameworks/base/opengl/libs/GLES_CM/
Dgl_api.in19 void API_ENTRY(glFogf)(GLenum pname, GLfloat param) {
20 CALL_GL_API(glFogf, pname, param);
46 void API_ENTRY(glLightModelf)(GLenum pname, GLfloat param) {
47 CALL_GL_API(glLightModelf, pname, param);
52 void API_ENTRY(glLightf)(GLenum light, GLenum pname, GLfloat param) {
53 CALL_GL_API(glLightf, light, pname, param);
64 void API_ENTRY(glMaterialf)(GLenum face, GLenum pname, GLfloat param) {
65 CALL_GL_API(glMaterialf, face, pname, param);
82 void API_ENTRY(glPointParameterf)(GLenum pname, GLfloat param) {
83 CALL_GL_API(glPointParameterf, pname, param);
[all …]
Dglext_api.in58 void API_ENTRY(glFogxOES)(GLenum pname, GLfixed param) {
59 CALL_GL_API(glFogxOES, pname, param);
85 void API_ENTRY(glLightModelxOES)(GLenum pname, GLfixed param) {
86 CALL_GL_API(glLightModelxOES, pname, param);
91 void API_ENTRY(glLightxOES)(GLenum light, GLenum pname, GLfixed param) {
92 CALL_GL_API(glLightxOES, light, pname, param);
103 void API_ENTRY(glMaterialxOES)(GLenum face, GLenum pname, GLfixed param) {
104 CALL_GL_API(glMaterialxOES, face, pname, param);
121 void API_ENTRY(glPointParameterxOES)(GLenum pname, GLfixed param) {
122 CALL_GL_API(glPointParameterxOES, pname, param);
[all …]
/frameworks/base/opengl/tools/glgen/specs/gles11/
DGLES10.spec35 void glFogf ( GLenum pname, GLfloat param )
37 void glFogx ( GLenum pname, GLfixed param )
47 void glLightModelf ( GLenum pname, GLfloat param )
49 void glLightModelx ( GLenum pname, GLfixed param )
51 void glLightf ( GLenum light, GLenum pname, GLfloat param )
53 void glLightx ( GLenum light, GLenum pname, GLfixed param )
61 void glMaterialf ( GLenum face, GLenum pname, GLfloat param )
63 void glMaterialx ( GLenum face, GLenum pname, GLfixed param )
75 void glPixelStorei ( GLenum pname, GLint param )
95 void glTexEnvf ( GLenum target, GLenum pname, GLfloat param )
[all …]
DGLES11Ext.spec20 void glFogxOES ( GLenum pname, GLfixed param )
29 void glLightModelxOES ( GLenum pname, GLfixed param )
31 void glLightxOES ( GLenum light, GLenum pname, GLfixed param )
35 void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param )
41 void glPointParameterxOES ( GLenum pname, GLfixed param )
48 void glTexEnvxOES ( GLenum target, GLenum pname, GLfixed param )
50 void glTexParameterxOES ( GLenum target, GLenum pname, GLfixed param )
82 void glTexGenfOES ( GLenum coord, GLenum pname, GLfloat param )
84 void glTexGeniOES ( GLenum coord, GLenum pname, GLint param )
86 void glTexGenxOES ( GLenum coord, GLenum pname, GLfixed param )
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java462 float param in glFogf() argument
478 int param in glFogx() argument
550 float param in glLightModelf() argument
566 int param in glLightModelx() argument
583 float param in glLightf() argument
602 int param in glLightx() argument
654 float param in glMaterialf() argument
673 int param in glMaterialx() argument
765 int param in glPixelStorei() argument
875 float param in glTexEnvf() argument
[all …]
DGL11ExtensionPack.java336 float param in glTexEnvf() argument
355 int param in glTexEnvx() argument
374 float param in glTexGenf() argument
393 int param in glTexGeni() argument
412 int param in glTexGenx() argument
431 float param in glTexParameterf() argument
/frameworks/base/opengl/tools/glgen/specs/jsr239/
Dglspec-1.1extpack28 void glTexEnvf ( GLint target, GLint pname, GLfloat param )
30 void glTexEnvx ( GLint target, GLint pname, GLint param )
32 void glTexGenf ( GLint coord, GLint pname, GLfloat param )
34 void glTexGeni ( GLint coord, GLint pname, GLint param )
36 void glTexGenx ( GLint coord, GLint pname, GLint param )
38 void glTexParameterf ( GLint target, GLint pname, GLfloat param )
Dglspec-1.035 void glFogf ( GLenum pname, GLfloat param )
37 void glFogx ( GLenum pname, GLfixed param )
47 void glLightModelf ( GLenum pname, GLfloat param )
49 void glLightModelx ( GLenum pname, GLfixed param )
51 void glLightf ( GLenum light, GLenum pname, GLfloat param )
53 void glLightx ( GLenum light, GLenum pname, GLfixed param )
61 void glMaterialf ( GLenum face, GLenum pname, GLfloat param )
63 void glMaterialx ( GLenum face, GLenum pname, GLfixed param )
75 void glPixelStorei ( GLenum pname, GLint param )
95 void glTexEnvf ( GLenum target, GLenum pname, GLfloat param )
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLErrorWrapper.java291 public void glFogf(int pname, float param) { in glFogf() argument
293 mgl.glFogf(pname, param); in glFogf()
309 public void glFogx(int pname, int param) { in glFogx() argument
311 mgl.glFogx(pname, param); in glFogx()
390 public void glLightModelf(int pname, float param) { in glLightModelf() argument
392 mgl.glLightModelf(pname, param); in glLightModelf()
408 public void glLightModelx(int pname, int param) { in glLightModelx() argument
410 mgl.glLightModelx(pname, param); in glLightModelx()
426 public void glLightf(int light, int pname, float param) { in glLightf() argument
428 mgl.glLightf(light, pname, param); in glLightf()
[all …]
DGLES10.java569 float param in glFogf() argument
591 int param in glFogx() argument
704 float param in glLightModelf() argument
726 int param in glLightModelx() argument
749 float param in glLightf() argument
774 int param in glLightx() argument
848 float param in glMaterialf() argument
873 int param in glMaterialx() argument
1016 int param in glPixelStorei() argument
1192 float param in glTexEnvf() argument
[all …]
/frameworks/base/packages/TtsService/src/android/tts/
DTtsService.java718 String param = params.get(i); in onCompletion() local
719 if (param.equals(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID)) { in onCompletion()
749 String param = speechItem.mParams.get(i); in silence() local
750 if (param.equals(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID)){ in silence()
796 String param = speechItem.mParams.get(i); in speakInternalOnly() local
797 if (param != null) { in speakInternalOnly()
798 if (param.equals(TextToSpeech.Engine.KEY_PARAM_RATE)) { in speakInternalOnly()
800 } else if (param.equals(TextToSpeech.Engine.KEY_PARAM_LANGUAGE)){ in speakInternalOnly()
802 } else if (param.equals(TextToSpeech.Engine.KEY_PARAM_COUNTRY)){ in speakInternalOnly()
804 } else if (param.equals(TextToSpeech.Engine.KEY_PARAM_VARIANT)){ in speakInternalOnly()
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java382 float param in glFogf() argument
404 int param in glFogx() argument
512 float param in glLightModelf() argument
534 int param in glLightModelx() argument
557 float param in glLightf() argument
582 int param in glLightx() argument
656 float param in glMaterialf() argument
681 int param in glMaterialx() argument
824 int param in glPixelStorei() argument
1000 float param in glTexEnvf() argument
[all …]

12345