Lines Matching refs:VolumeShaper
24 using media::VolumeShaper;
106 static sp<VolumeShaper::Configuration> convertJobjectToConfiguration( in convertJobjectToConfiguration()
108 sp<VolumeShaper::Configuration> configuration = new VolumeShaper::Configuration(); in convertJobjectToConfiguration()
111 (VolumeShaper::Configuration::Type)env->GetIntField(jshaper, fields.coTypeId)); in convertJobjectToConfiguration()
114 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertJobjectToConfiguration()
116 (VolumeShaper::Configuration::OptionFlag) in convertJobjectToConfiguration()
121 (VolumeShaper::Configuration::InterpolatorType) in convertJobjectToConfiguration()
150 const sp<VolumeShaper::Configuration> &configuration) { in convertVolumeShaperToJobject()
153 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertVolumeShaperToJobject()
181 static sp<VolumeShaper::Operation> convertJobjectToOperation( in convertJobjectToOperation()
183 VolumeShaper::Operation::Flag flags = in convertJobjectToOperation()
184 (VolumeShaper::Operation::Flag)env->GetIntField(joperation, fields.opFlagsId); in convertJobjectToOperation()
188 sp<VolumeShaper::Operation> operation = in convertJobjectToOperation()
189 new VolumeShaper::Operation(flags, replaceId, xOffset); in convertJobjectToOperation()
194 JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::Operation> &operation) { in convertOperationToJobject()
205 static sp<VolumeShaper::State> convertJobjectToState( in convertJobjectToState()
210 sp<VolumeShaper::State> state = new VolumeShaper::State(volume, xOffset); in convertJobjectToState()
215 JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::State> &state) { in convertStateToJobject()