Lines Matching refs:attribute
605 Attribute attribute, int32_t* outValue) {
613 *outValue = mConfigs[configId]->getAttribute(attribute);
615 to_string(attribute).c_str(), *outValue);
1082 template <uint32_t attribute>
1085 bool match = (attribute ==
1086 ATTRIBUTES_WITH_COLOR[ATTRIBUTE_MAP_WITH_COLOR[attribute]]);
1087 if (attribute == HWC_DISPLAY_COLOR_TRANSFORM) {
1091 return match && (attribute ==
1092 ATTRIBUTES_WITHOUT_COLOR[ATTRIBUTE_MAP_WITHOUT_COLOR[attribute]]);
1575 void HWC2On1Adapter::Display::Config::setAttribute(HWC2::Attribute attribute,
1577 mAttributes[attribute] = value;
1580 int32_t HWC2On1Adapter::Display::Config::getAttribute(Attribute attribute) const {
1581 if (mAttributes.count(attribute) == 0) {
1584 return mAttributes.at(attribute);
1629 for (auto attribute : attributes) {
1630 if (getAttribute(attribute) != other.getAttribute(attribute)) {