Lines Matching refs:Attribute

53 static constexpr Attribute ColorMode = static_cast<Attribute>(6);
611 Attribute attribute, int32_t* outValue) { in getAttribute()
1037 if (width == mActiveConfig->getAttribute(Attribute::Width) && in getClientTargetSupport()
1038 height == mActiveConfig->getAttribute(Attribute::Height) && in getClientTargetSupport()
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()
1195 config->setAttribute(Attribute::Width, static_cast<int32_t>(width)); in populateConfigs()
1196 config->setAttribute(Attribute::Height, static_cast<int32_t>(height)); in populateConfigs()
1583 void HWC2On1Adapter::Display::Config::setAttribute(HWC2::Attribute attribute, in setAttribute()
1588 int32_t HWC2On1Adapter::Display::Config::getAttribute(Attribute attribute) const { in getAttribute()
1634 auto attributes = {HWC2::Attribute::Width, HWC2::Attribute::Height, in merge()
1635 HWC2::Attribute::VsyncPeriod, HWC2::Attribute::DpiX, in merge()
1636 HWC2::Attribute::DpiY}; in merge()
1669 "%u x %u", mAttributes.at(HWC2::Attribute::Width), in toString()
1670 mAttributes.at(HWC2::Attribute::Height)); in toString()
1673 if (mAttributes.count(HWC2::Attribute::VsyncPeriod) != 0) { in toString()
1676 1e9 / mAttributes.at(HWC2::Attribute::VsyncPeriod)); in toString()
1680 if (mAttributes.count(HWC2::Attribute::DpiX) != 0 && in toString()
1681 mAttributes.at(HWC2::Attribute::DpiX) != -1) { in toString()
1685 static_cast<float>(mAttributes.at(HWC2::Attribute::DpiX)) / 1000.0f, in toString()
1686 static_cast<float>(mAttributes.at(HWC2::Attribute::DpiY)) / 1000.0f); in toString()
1870 int32_t width = mActiveConfig->getAttribute(Attribute::Width); in prepareFramebufferTarget()
1871 int32_t height = mActiveConfig->getAttribute(Attribute::Height); in prepareFramebufferTarget()