MCPcopy Create free account
hub / github.com/Snapchat/Valdi / inlineEndEdge

Function inlineEndEdge

third-party/yoga/src/yoga/algorithm/FlexDirection.h:94–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94inline PhysicalEdge inlineEndEdge(
95 FlexDirection flexDirection,
96 Direction direction) {
97 if (isRow(flexDirection)) {
98 return direction == Direction::RTL ? PhysicalEdge::Left
99 : PhysicalEdge::Right;
100 }
101
102 return PhysicalEdge::Bottom;
103}
104
105inline Dimension dimension(FlexDirection flexDirection) {
106 switch (flexDirection) {

Callers 8

isInlineEndPositionAutoFunction · 0.85
computeInlineEndPositionFunction · 0.85
computeInlineEndMarginFunction · 0.85
computeInlineEndBorderFunction · 0.85
computeInlineEndPaddingFunction · 0.85
inlineEndMarginIsAutoFunction · 0.85
setPositionMethod · 0.85

Calls 1

isRowFunction · 0.85

Tested by

no test coverage detected