Home
last modified time | relevance | path

Searched refs:color_modes_ (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_pluggable.cpp449 DLOGI_IF(kTagDisplay, "ColorMode[%d] = %s", i, color_modes_[i].name); in GetColorModes()
450 color_modes->at(i) = color_modes_[i].name; in GetColorModes()
475 color_modes_.resize(num_color_modes_); in UpdateColorModes()
478 color_modes_[i].id = INT32(i); in UpdateColorModes()
479 std::size_t length = (it->first).copy(color_modes_[i].name, sizeof(SDEDisplayMode::name) - 1); in UpdateColorModes()
480 color_modes_[i].name[length] = '\0'; in UpdateColorModes()
481 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in UpdateColorModes()
482 DLOGI("Color mode = %s", color_modes_[i].name); in UpdateColorModes()
Ddisplay_base.h219 std::vector<SDEDisplayMode> color_modes_; variable
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_base.cpp125 color_modes_.clear(); in Deinit()
705 DLOGV_IF(kTagQDCM, "Color Mode[%d]: Name = %s mode_id = %d", i, color_modes_[i].name, in GetColorModes()
706 color_modes_[i].id); in GetColorModes()
707 color_modes->at(i) = color_modes_[i].name; in GetColorModes()
921 if (color_modes_[i].id == default_id) { in GetDefaultColorMode()
922 *color_mode = color_modes_[i].name; in GetDefaultColorMode()
1329 if (!color_modes_.size()) { in InitializeColorModes()
1330 color_modes_.resize(num_color_modes_); in InitializeColorModes()
1332 DisplayError error = color_mgr_->ColorMgrGetModes(&num_color_modes_, color_modes_.data()); in InitializeColorModes()
1334 color_modes_.clear(); in InitializeColorModes()
[all …]
Ddisplay_base.h164 std::vector<SDEDisplayMode> color_modes_; variable
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp129 color_modes_.clear(); in Deinit()
725 DLOGV_IF(kTagQDCM, "Color Mode[%d]: Name = %s mode_id = %d", i, color_modes_[i].name, in GetColorModes()
726 color_modes_[i].id); in GetColorModes()
727 color_modes->at(i) = color_modes_[i].name; in GetColorModes()
945 if (color_modes_[i].id == default_id) { in GetDefaultColorMode()
946 *color_mode = color_modes_[i].name; in GetDefaultColorMode()
1364 if (!color_modes_.size()) { in InitializeColorModes()
1365 color_modes_.resize(num_color_modes_); in InitializeColorModes()
1367 DisplayError error = color_mgr_->ColorMgrGetModes(&num_color_modes_, color_modes_.data()); in InitializeColorModes()
1369 color_modes_.clear(); in InitializeColorModes()
[all …]
Ddisplay_base.h163 std::vector<SDEDisplayMode> color_modes_; variable
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_base.cpp130 color_modes_.clear(); in Deinit()
727 DLOGV_IF(kTagQDCM, "Color Mode[%d]: Name = %s mode_id = %d", i, color_modes_[i].name, in GetColorModes()
728 color_modes_[i].id); in GetColorModes()
729 color_modes->at(i) = color_modes_[i].name; in GetColorModes()
943 if (color_modes_[i].id == default_id) { in GetDefaultColorMode()
944 *color_mode = color_modes_[i].name; in GetDefaultColorMode()
1354 if (!color_modes_.size()) { in InitializeColorModes()
1355 color_modes_.resize(num_color_modes_); in InitializeColorModes()
1357 DisplayError error = color_mgr_->ColorMgrGetModes(&num_color_modes_, color_modes_.data()); in InitializeColorModes()
1359 color_modes_.clear(); in InitializeColorModes()
[all …]
Ddisplay_base.h164 std::vector<SDEDisplayMode> color_modes_; variable
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_base.cpp775 DLOGV_IF(kTagQDCM, "Color Mode[%d]: Name = %s mode_id = %d", i, color_modes_[i].name, in GetColorModes()
776 color_modes_[i].id); in GetColorModes()
777 color_modes->at(i) = color_modes_[i].name; in GetColorModes()
907 if (color_modes_[i].id == default_id) { in GetDefaultColorMode()
908 *color_mode = color_modes_[i].name; in GetDefaultColorMode()
1366 if (!color_modes_.size()) { in InitializeColorModes()
1367 color_modes_.resize(num_color_modes_); in InitializeColorModes()
1369 DisplayError error = color_mgr_->ColorMgrGetModes(&num_color_modes_, color_modes_.data()); in InitializeColorModes()
1371 color_modes_.clear(); in InitializeColorModes()
1380 DLOGV_IF(kTagQDCM, "Color Mode[%d]: Name = %s mode_id = %d", i, color_modes_[i].name, in InitializeColorModes()
[all …]
Ddisplay_base.h173 std::vector<SDEDisplayMode> color_modes_; variable
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_base.cpp732 if (!color_modes_.size()) { in GetColorModes()
733 color_modes_.resize(num_color_modes_); in GetColorModes()
735 DisplayError error = color_mgr_->ColorMgrGetModes(&num_color_modes_, color_modes_.data()); in GetColorModes()
742 DLOGV_IF(kTagQDCM, "Color Mode[%d]: Name = %s mode_id = %d", i, color_modes_[i].name, in GetColorModes()
743 color_modes_[i].id); in GetColorModes()
744 auto it = color_mode_map_.find(color_modes_[i].name); in GetColorModes()
746 if (it->second->id < color_modes_[i].id) { in GetColorModes()
748 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in GetColorModes()
751 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in GetColorModes()
757 DLOGV_IF(kTagQDCM, "Color Mode[%d]: Name = %s mode_id = %d", i, color_modes_[i].name, in GetColorModes()
[all …]
Ddisplay_base.h153 std::vector<SDEDisplayMode> color_modes_; variable
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display.cpp70 if (color_modes_.empty()) { in SetColorMode()
75 std::vector<std::string>::iterator it = std::find(color_modes_.begin(), color_modes_.end(), in SetColorMode()
77 if (it == color_modes_.end()) { in SetColorMode()
93 return color_modes_; in GetColorModes()
123 color_modes_.resize(color_mode_count); in PopulateColorModes()
126 error = display_intf_->GetColorModes(&color_mode_count, &color_modes_); in PopulateColorModes()
Dhwc_display.h71 std::vector<std::string> color_modes_ = {}; variable
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display.cpp70 if (color_modes_.empty()) { in SetColorMode()
75 std::vector<std::string>::iterator it = std::find(color_modes_.begin(), color_modes_.end(), in SetColorMode()
77 if (it == color_modes_.end()) { in SetColorMode()
93 return color_modes_; in GetColorModes()
123 color_modes_.resize(color_mode_count); in PopulateColorModes()
126 error = display_intf_->GetColorModes(&color_mode_count, &color_modes_); in PopulateColorModes()
Dhwc_display.h71 std::vector<std::string> color_modes_ = {}; variable