Lines Matching refs:VolumeShaper

104     static sp<VolumeShaper::Configuration> convertJobjectToConfiguration(  in convertJobjectToConfiguration()
106 sp<VolumeShaper::Configuration> configuration = new VolumeShaper::Configuration(); in convertJobjectToConfiguration()
109 (VolumeShaper::Configuration::Type)env->GetIntField(jshaper, fields.coTypeId)); in convertJobjectToConfiguration()
112 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertJobjectToConfiguration()
114 (VolumeShaper::Configuration::OptionFlag) in convertJobjectToConfiguration()
119 (VolumeShaper::Configuration::InterpolatorType) in convertJobjectToConfiguration()
148 const sp<VolumeShaper::Configuration> &configuration) { in convertVolumeShaperToJobject()
151 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertVolumeShaperToJobject()
179 static sp<VolumeShaper::Operation> convertJobjectToOperation( in convertJobjectToOperation()
181 VolumeShaper::Operation::Flag flags = in convertJobjectToOperation()
182 (VolumeShaper::Operation::Flag)env->GetIntField(joperation, fields.opFlagsId); in convertJobjectToOperation()
186 sp<VolumeShaper::Operation> operation = in convertJobjectToOperation()
187 new VolumeShaper::Operation(flags, replaceId, xOffset); in convertJobjectToOperation()
192 JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::Operation> &operation) { in convertOperationToJobject()
203 static sp<VolumeShaper::State> convertJobjectToState( in convertJobjectToState()
208 sp<VolumeShaper::State> state = new VolumeShaper::State(volume, xOffset); in convertJobjectToState()
213 JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::State> &state) { in convertStateToJobject()