Home
last modified time | relevance | path

Searched refs:xarray (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_VolumeShaper.h126 jfloatArray *xarray = reinterpret_cast<jfloatArray*>(&xobj); in convertJobjectToConfiguration() local
127 jsize xlen = env->GetArrayLength(*xarray); in convertJobjectToConfiguration()
129 env->GetFloatArrayElements(*xarray, nullptr /* isCopy */); in convertJobjectToConfiguration()
142 env->ReleaseFloatArrayElements(*xarray, x, JNI_ABORT); // no need to copy back in convertJobjectToConfiguration()
151 jfloatArray xarray = nullptr; in convertVolumeShaperToJobject() local
155 jfloatArray xarray = env->NewFloatArray(configuration->size()); in convertVolumeShaperToJobject() local
157 float * const x = env->GetFloatArrayElements(xarray, nullptr /* isCopy */); in convertVolumeShaperToJobject()
164 env->ReleaseFloatArrayElements(xarray, x, 0 /* mode */); in convertVolumeShaperToJobject()
175 args[5].l = xarray; in convertVolumeShaperToJobject()
/frameworks/av/media/libmediaplayer2/
DJAudioTrack.cpp636 jfloatArray xarray = nullptr; in createVolumeShaperConfigurationObj() local
640 xarray = env->NewFloatArray(config->size()); in createVolumeShaperConfigurationObj()
642 float * const x = env->GetFloatArrayElements(xarray, nullptr /* isCopy */); in createVolumeShaperConfigurationObj()
649 env->ReleaseFloatArrayElements(xarray, x, 0 /* mode */); in createVolumeShaperConfigurationObj()
668 jBuilderObj = env->CallObjectMethod(jBuilderCls, jSetCurve, xarray, yarray); in createVolumeShaperConfigurationObj()