| 1683 | } |
| 1684 | |
| 1685 | Float UINode::lengthFromValueAsDp( const std::string& value, |
| 1686 | const PropertyRelativeTarget& relativeTarget, |
| 1687 | const Float& defaultValue, const Uint32& propertyIndex ) const { |
| 1688 | Float containerLength = |
| 1689 | getPropertyRelativeTargetContainerLength( relativeTarget, defaultValue, propertyIndex ); |
| 1690 | return convertLengthAsDp( StyleSheetLength::fromString( value, defaultValue ), |
| 1691 | containerLength ); |
| 1692 | } |
| 1693 | |
| 1694 | Float UINode::lengthFromValueAsDp( const StyleSheetProperty& property, |
| 1695 | const Float& defaultValue ) const { |
no test coverage detected