Home
last modified time | relevance | path

Searched refs:newConfig (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/display/msm8994/libhdmi/
Dhdmi.cpp721 int HDMIDisplay::setActiveConfig(int newConfig) { in setActiveConfig() argument
722 if(newConfig < 0 || newConfig > mModeCount) { in setActiveConfig()
723 ALOGE("%s Invalid configuration %d", __FUNCTION__, newConfig); in setActiveConfig()
729 if (!isValidConfigChange(newConfig)) { in setActiveConfig()
730 ALOGE("%s Invalid configuration %d", __FUNCTION__, newConfig); in setActiveConfig()
734 mCurrentMode = mEDIDModes[newConfig]; in setActiveConfig()
735 mActiveConfig = newConfig; in setActiveConfig()
743 bool HDMIDisplay::isValidConfigChange(int newConfig) { in isValidConfigChange() argument
744 int newMode = mEDIDModes[newConfig]; in isValidConfigChange()
746 getAttrForConfig(newConfig, width, height, refresh); in isValidConfigChange()
Dhdmi.h72 int setActiveConfig(int newConfig);
96 bool isValidConfigChange(int newConfig);
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp1129 auto newConfig = std::make_shared<Config>(*this); in populateConfigs() local
1145 newConfig->setAttribute(Attribute::VsyncPeriod, in populateConfigs()
1147 newConfig->setAttribute(Attribute::Width, in populateConfigs()
1149 newConfig->setAttribute(Attribute::Height, in populateConfigs()
1151 newConfig->setAttribute(Attribute::DpiX, in populateConfigs()
1153 newConfig->setAttribute(Attribute::DpiY, in populateConfigs()
1159 newConfig->setAttribute(ColorMode, in populateConfigs()
1164 newConfig->setHwc1Id(hwc1ConfigId); in populateConfigs()
1167 if (existingConfig->merge(*newConfig)) { in populateConfigs()
1171 newConfig.reset(); in populateConfigs()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp1173 auto newConfig = std::make_shared<Config>(*this); in populateConfigs() local
1189 newConfig->setAttribute(Attribute::VsyncPeriod, in populateConfigs()
1191 newConfig->setAttribute(Attribute::Width, in populateConfigs()
1193 newConfig->setAttribute(Attribute::Height, in populateConfigs()
1195 newConfig->setAttribute(Attribute::DpiX, in populateConfigs()
1197 newConfig->setAttribute(Attribute::DpiY, in populateConfigs()
1203 newConfig->setAttribute(ColorMode, in populateConfigs()
1208 newConfig->setHwc1Id(hwc1ConfigId); in populateConfigs()
1211 if (existingConfig->merge(*newConfig)) { in populateConfigs()
1215 newConfig.reset(); in populateConfigs()
[all …]