slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
函数
YGMeasureTest.cpp 文件参考
#include <gtest/gtest.h>
#include <yoga/Yoga.h>
YGMeasureTest.cpp 的引用(Include)关系图:

函数

static YGSize _measure (YGNodeConstRef node, float, YGMeasureMode, float, YGMeasureMode)
 
static YGSize _simulate_wrapping_text (YGNodeConstRef, float width, YGMeasureMode widthMode, float, YGMeasureMode)
 
static YGSize _measure_assert_negative (YGNodeConstRef, float width, YGMeasureMode, float height, YGMeasureMode)
 
 TEST (YogaTest, dont_measure_single_grow_shrink_child)
 
 TEST (YogaTest, measure_absolute_child_with_no_constraints)
 
 TEST (YogaTest, dont_measure_when_min_equals_max)
 
 TEST (YogaTest, dont_measure_when_min_equals_max_percentages)
 
 TEST (YogaTest, measure_nodes_with_margin_auto_and_stretch)
 
 TEST (YogaTest, dont_measure_when_min_equals_max_mixed_width_percent)
 
 TEST (YogaTest, dont_measure_when_min_equals_max_mixed_height_percent)
 
 TEST (YogaTest, measure_enough_size_should_be_in_single_line)
 
 TEST (YogaTest, measure_not_enough_size_should_wrap)
 
 TEST (YogaTest, measure_zero_space_should_grow)
 
 TEST (YogaTest, measure_flex_direction_row_and_padding)
 
 TEST (YogaTest, measure_flex_direction_column_and_padding)
 
 TEST (YogaTest, measure_flex_direction_row_no_padding)
 
 TEST (YogaTest, measure_flex_direction_row_no_padding_align_items_flexstart)
 
 TEST (YogaTest, measure_with_fixed_size)
 
 TEST (YogaTest, measure_with_flex_shrink)
 
 TEST (YogaTest, measure_no_padding)
 
 TEST (YogaTest, can_nullify_measure_func_on_any_node)
 
 TEST (YogaTest, cant_call_negative_measure)
 
 TEST (YogaTest, cant_call_negative_measure_horizontal)
 
static YGSize _measure_90_10 (YGNodeConstRef, float, YGMeasureMode, float, YGMeasureMode)
 
static YGSize _measure_100_100 (YGNodeConstRef, float, YGMeasureMode, float, YGMeasureMode)
 
 TEST (YogaTest, percent_with_text_node)
 
 TEST (YogaTest, percent_margin_with_measure_func)
 
 TEST (YogaTest, percent_padding_with_measure_func)
 
 TEST (YogaTest, percent_padding_and_percent_margin_with_measure_func)
 
static YGSize _measure_half_width_height (YGNodeConstRef node, float width, YGMeasureMode, float height, YGMeasureMode)
 
 TEST (YogaTest, measure_content_box)
 
 TEST (YogaTest, measure_border_box)
 
 TEST (YogaTest, min_width_larger_than_width_propagates_to_auto_parent)
 

函数说明

◆ _measure()

static YGSize _measure ( YGNodeConstRef node,
float ,
YGMeasureMode ,
float ,
YGMeasureMode  )
static
函数调用图:
这是这个函数的调用关系图:

◆ _measure_100_100()

static YGSize _measure_100_100 ( YGNodeConstRef ,
float ,
YGMeasureMode ,
float ,
YGMeasureMode  )
static
这是这个函数的调用关系图:

◆ _measure_90_10()

static YGSize _measure_90_10 ( YGNodeConstRef ,
float ,
YGMeasureMode ,
float ,
YGMeasureMode  )
static
这是这个函数的调用关系图:

◆ _measure_assert_negative()

static YGSize _measure_assert_negative ( YGNodeConstRef ,
float width,
YGMeasureMode ,
float height,
YGMeasureMode  )
static
这是这个函数的调用关系图:

◆ _measure_half_width_height()

static YGSize _measure_half_width_height ( YGNodeConstRef node,
float width,
YGMeasureMode ,
float height,
YGMeasureMode  )
static
函数调用图:
这是这个函数的调用关系图:

◆ _simulate_wrapping_text()

static YGSize _simulate_wrapping_text ( YGNodeConstRef ,
float width,
YGMeasureMode widthMode,
float ,
YGMeasureMode  )
static
这是这个函数的调用关系图:

◆ TEST() [1/27]

TEST ( YogaTest ,
can_nullify_measure_func_on_any_node  )
函数调用图:

◆ TEST() [2/27]

TEST ( YogaTest ,
cant_call_negative_measure  )
函数调用图:

◆ TEST() [3/27]

TEST ( YogaTest ,
cant_call_negative_measure_horizontal  )
函数调用图:

◆ TEST() [4/27]

TEST ( YogaTest ,
dont_measure_single_grow_shrink_child  )
函数调用图:

◆ TEST() [5/27]

TEST ( YogaTest ,
dont_measure_when_min_equals_max  )
函数调用图:

◆ TEST() [6/27]

TEST ( YogaTest ,
dont_measure_when_min_equals_max_mixed_height_percent  )
函数调用图:

◆ TEST() [7/27]

TEST ( YogaTest ,
dont_measure_when_min_equals_max_mixed_width_percent  )
函数调用图:

◆ TEST() [8/27]

TEST ( YogaTest ,
dont_measure_when_min_equals_max_percentages  )
函数调用图:

◆ TEST() [9/27]

TEST ( YogaTest ,
measure_absolute_child_with_no_constraints  )
函数调用图:

◆ TEST() [10/27]

TEST ( YogaTest ,
measure_border_box  )
函数调用图:

◆ TEST() [11/27]

TEST ( YogaTest ,
measure_content_box  )
函数调用图:

◆ TEST() [12/27]

TEST ( YogaTest ,
measure_enough_size_should_be_in_single_line  )
函数调用图:

◆ TEST() [13/27]

TEST ( YogaTest ,
measure_flex_direction_column_and_padding  )
函数调用图:

◆ TEST() [14/27]

TEST ( YogaTest ,
measure_flex_direction_row_and_padding  )
函数调用图:

◆ TEST() [15/27]

TEST ( YogaTest ,
measure_flex_direction_row_no_padding  )
函数调用图:

◆ TEST() [16/27]

TEST ( YogaTest ,
measure_flex_direction_row_no_padding_align_items_flexstart  )
函数调用图:

◆ TEST() [17/27]

TEST ( YogaTest ,
measure_no_padding  )
函数调用图:

◆ TEST() [18/27]

TEST ( YogaTest ,
measure_nodes_with_margin_auto_and_stretch  )
函数调用图:

◆ TEST() [19/27]

TEST ( YogaTest ,
measure_not_enough_size_should_wrap  )
函数调用图:

◆ TEST() [20/27]

TEST ( YogaTest ,
measure_with_fixed_size  )
函数调用图:

◆ TEST() [21/27]

TEST ( YogaTest ,
measure_with_flex_shrink  )
函数调用图:

◆ TEST() [22/27]

TEST ( YogaTest ,
measure_zero_space_should_grow  )
函数调用图:

◆ TEST() [23/27]

TEST ( YogaTest ,
min_width_larger_than_width_propagates_to_auto_parent  )
函数调用图:

◆ TEST() [24/27]

TEST ( YogaTest ,
percent_margin_with_measure_func  )
函数调用图:

◆ TEST() [25/27]

TEST ( YogaTest ,
percent_padding_and_percent_margin_with_measure_func  )
函数调用图:

◆ TEST() [26/27]

TEST ( YogaTest ,
percent_padding_with_measure_func  )
函数调用图:

◆ TEST() [27/27]

TEST ( YogaTest ,
percent_with_text_node  )
函数调用图: