Lines Matching refs:newConfig
1293 auto newConfig = std::make_shared<Config>(*this); in populatePrimaryConfigs() local
1295 newConfig->setAttribute(Attribute::VsyncPeriod, mVsyncPeriod); in populatePrimaryConfigs()
1296 newConfig->setAttribute(Attribute::Width, width); in populatePrimaryConfigs()
1297 newConfig->setAttribute(Attribute::Height, height); in populatePrimaryConfigs()
1298 newConfig->setAttribute(Attribute::DpiX, dpiX * 1000); in populatePrimaryConfigs()
1299 newConfig->setAttribute(Attribute::DpiY, dpiY * 1000); in populatePrimaryConfigs()
1301 newConfig->setId(static_cast<hwc2_config_t>(mConfigs.size())); in populatePrimaryConfigs()
1302 ALOGV("Found new config %d: %s", (uint32_t)newConfig->getId(), in populatePrimaryConfigs()
1303 newConfig->toString().c_str()); in populatePrimaryConfigs()
1304 mConfigs.emplace_back(std::move(newConfig)); in populatePrimaryConfigs()
1333 auto newConfig = std::make_shared<Config>(*this); in populateSecondaryConfigs() local
1335 newConfig->setAttribute(Attribute::VsyncPeriod, mVsyncPeriod); in populateSecondaryConfigs()
1336 newConfig->setAttribute(Attribute::Width, width); in populateSecondaryConfigs()
1337 newConfig->setAttribute(Attribute::Height, height); in populateSecondaryConfigs()
1338 newConfig->setAttribute(Attribute::DpiX, dpi*1000); in populateSecondaryConfigs()
1339 newConfig->setAttribute(Attribute::DpiY, dpi*1000); in populateSecondaryConfigs()
1342 newConfig->setId(static_cast<hwc2_config_t>(configId)); in populateSecondaryConfigs()
1343 ALOGV("Found new secondary config %d: %s", (uint32_t)newConfig->getId(), in populateSecondaryConfigs()
1344 newConfig->toString().c_str()); in populateSecondaryConfigs()
1345 mConfigs.emplace_back(std::move(newConfig)); in populateSecondaryConfigs()