• Home
  • Raw
  • Download

Lines Matching refs:configuration

108         sp<VolumeShaper::Configuration> configuration = new VolumeShaper::Configuration();  in convertJobjectToConfiguration()  local
110 configuration->setType( in convertJobjectToConfiguration()
112 configuration->setId( in convertJobjectToConfiguration()
114 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertJobjectToConfiguration()
115 configuration->setOptionFlags( in convertJobjectToConfiguration()
118 configuration->setDurationMs( in convertJobjectToConfiguration()
120 configuration->setInterpolatorType( in convertJobjectToConfiguration()
140 configuration->emplace(x[i], y[i]); in convertJobjectToConfiguration()
145 return configuration; in convertJobjectToConfiguration()
150 const sp<VolumeShaper::Configuration> &configuration) { in convertVolumeShaperToJobject()
153 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertVolumeShaperToJobject()
155 jfloatArray xarray = env->NewFloatArray(configuration->size()); in convertVolumeShaperToJobject()
156 jfloatArray yarray = env->NewFloatArray(configuration->size()); in convertVolumeShaperToJobject()
160 for (const auto &pt : *configuration.get()) { in convertVolumeShaperToJobject()
170 args[0].i = (jint)configuration->getType(); in convertVolumeShaperToJobject()
171 args[1].i = (jint)configuration->getId(); in convertVolumeShaperToJobject()
172 args[2].i = (jint)configuration->getOptionFlags(); in convertVolumeShaperToJobject()
173 args[3].d = (jdouble)configuration->getDurationMs(); in convertVolumeShaperToJobject()
174 args[4].i = (jint)configuration->getInterpolatorType(); in convertVolumeShaperToJobject()