Searched refs:yarray (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/jni/ |
D | android_media_VolumeShaper.h | 131 jfloatArray *yarray = reinterpret_cast<jfloatArray*>(&yobj); in convertJobjectToConfiguration() local 132 jsize ylen = env->GetArrayLength(*yarray); in convertJobjectToConfiguration() 134 env->GetFloatArrayElements(*yarray, nullptr /* isCopy */); in convertJobjectToConfiguration() 143 env->ReleaseFloatArrayElements(*yarray, y, JNI_ABORT); in convertJobjectToConfiguration() 152 jfloatArray yarray = nullptr; in convertVolumeShaperToJobject() local 156 jfloatArray yarray = env->NewFloatArray(configuration->size()); in convertVolumeShaperToJobject() local 158 float * const y = env->GetFloatArrayElements(yarray, nullptr /* isCopy */); in convertVolumeShaperToJobject() 165 env->ReleaseFloatArrayElements(yarray, y, 0 /* mode */); in convertVolumeShaperToJobject() 176 args[6].l = yarray; in convertVolumeShaperToJobject()
|
/frameworks/av/media/libmediaplayer2/ |
D | JAudioTrack.cpp | 557 jfloatArray yarray = nullptr; in createVolumeShaperConfigurationObj() local 561 yarray = env->NewFloatArray(config->size()); in createVolumeShaperConfigurationObj() 563 float * const y = env->GetFloatArrayElements(yarray, nullptr /* isCopy */); in createVolumeShaperConfigurationObj() 570 env->ReleaseFloatArrayElements(yarray, y, 0 /* mode */); in createVolumeShaperConfigurationObj() 588 jBuilderObj = env->CallObjectMethod(jBuilderCls, jSetCurve, xarray, yarray); in createVolumeShaperConfigurationObj()
|