| 3238 | bool ViewNode::isHorizontal() { |
| 3239 | auto flexDirection = getYogaStyle(getYogaNodeForInsertingChildren()).flexDirection(); |
| 3240 | return flexDirection == facebook::yoga::FlexDirection::Row || |
| 3241 | flexDirection == facebook::yoga::FlexDirection::RowReverse; |
| 3242 | } |
| 3243 | |
| 3244 | bool ViewNode::setAttribute(ViewTransactionScope& viewTransactionScope, |
| 3245 | AttributeId attributeId, |
| 3246 | const AttributeOwner* attributeOwner, |
| 3247 | const Value& attributeValue, |
| 3248 | const Ref<Animator>& animator) { |
| 3249 | return setAttribute(viewTransactionScope, attributeId, attributeOwner, attributeValue, animator, false); |