Searched defs:psize (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 260 float resolveScale(float scale, int type, int data, int size, int psize) { argument 263 targetSize = TypedValue.complexToFraction(data, size, psize);
|
/frameworks/av/media/libmedia/ |
H A D | AudioEffect.cpp | 270 if (param == NULL || param->psize == 0 || param->vsize == 0) { 275 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; local 278 (param->psize == 8) ? *((int *)param->data + 1): -1); 280 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, 290 if (param == NULL || param->psize == 0 || param->vsize == 0) { 296 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; local 297 int size = ((sizeof(effect_param_t) + psize - 1) / sizeof(int) + 1) * sizeof(int); 304 memcpy(p, param, sizeof(effect_param_t) + psize); 337 uint32_t psize = sizeof(effect_param_t) + ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + local [all...] |
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 144 if (p->psize == 0 || p->vsize == 0) { 148 arg1 = sizeof(effect_param_t) + ((p->psize - 1) / sizeof(int) + 1) * sizeof(int); 516 jobject thiz, jint psize, jbyteArray pJavaParam, jint vsize, 534 if (psize == 0 || vsize == 0 || pJavaParam == NULL || pJavaValue == NULL) { 552 voffset = ((psize - 1) / sizeof(int) + 1) * sizeof(int); 554 memcpy(p->data, lpParam, psize); 555 p->psize = psize; 579 jobject thiz, jint psize, jbyteArray pJavaParam, 597 if (psize 515 android_media_AudioEffect_native_setParameter(JNIEnv *env, jobject thiz, jint psize, jbyteArray pJavaParam, jint vsize, jbyteArray pJavaValue) argument 578 android_media_AudioEffect_native_getParameter(JNIEnv *env, jobject thiz, jint psize, jbyteArray pJavaParam, jint vsize, jbyteArray pJavaValue) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 1173 // See effect_param_t in EffectApi.h for psize and vsize 1176 int psize = byteArrayToInt(p, 4); 1178 byte[] param = new byte[psize]; 1180 System.arraycopy(p, 12, param, 0, psize); 1232 private native final int native_setParameter(int psize, byte[] param, argument 1235 private native final int native_getParameter(int psize, byte[] param, argument
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 395 p->psize = sizeof(uint32_t); 1237 if (param->psize == 0 || param->vsize == 0) { 1242 uint32_t psize = sizeof(effect_param_t) + local 1243 ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + 1246 psize,
|
Completed in 1724 milliseconds