Searched refs:buttonRoleIntValue (Results 1 – 4 of 4) sorted by relevance
699 auto buttonRoleIntValue = optionObj->GetProperty(JSButton::ROLE)->ToNumber<int32_t>(); in ParseButtonRole() local700 if (buttonRoleIntValue >= static_cast<int32_t>(ButtonRole::NORMAL) && in ParseButtonRole()701 buttonRoleIntValue <= static_cast<int32_t>(ButtonRole::ERROR)) { in ParseButtonRole()702 param.buttonRole = static_cast<ButtonRole>(buttonRoleIntValue); in ParseButtonRole()
105 auto buttonRoleIntValue = pickerButtonParamObject->GetProperty("role")->ToNumber<int32_t>(); in ParseButtonStyle() local106 if (buttonRoleIntValue >= static_cast<int32_t>(ButtonRole::NORMAL) && in ParseButtonStyle()107 buttonRoleIntValue <= static_cast<int32_t>(ButtonRole::ERROR)) { in ParseButtonStyle()108 buttonInfo.role = static_cast<ButtonRole>(buttonRoleIntValue); in ParseButtonStyle()
225 auto buttonRoleIntValue = pickerButtonParamObject->GetProperty("role")->ToNumber<int32_t>(); in ParseButtonStyle() local226 if (buttonRoleIntValue >= static_cast<int32_t>(ButtonRole::NORMAL) && in ParseButtonStyle()227 buttonRoleIntValue <= static_cast<int32_t>(ButtonRole::ERROR)) { in ParseButtonStyle()228 buttonInfo.role = static_cast<ButtonRole>(buttonRoleIntValue); in ParseButtonStyle()
145 auto buttonRoleIntValue = pickerButtonParamObject->GetProperty("role")->ToNumber<int32_t>(); in ParseButtonStyle() local146 if (buttonRoleIntValue >= static_cast<int32_t>(ButtonRole::NORMAL) && in ParseButtonStyle()147 buttonRoleIntValue <= static_cast<int32_t>(ButtonRole::ERROR)) { in ParseButtonStyle()148 buttonInfo.role = static_cast<ButtonRole>(buttonRoleIntValue); in ParseButtonStyle()