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

函数

static YGSize _measure (YGNodeConstRef, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode)
 
 TEST (YogaTest, aspect_ratio_cross_defined)
 
 TEST (YogaTest, aspect_ratio_main_defined)
 
 TEST (YogaTest, aspect_ratio_both_dimensions_defined_row)
 
 TEST (YogaTest, aspect_ratio_both_dimensions_defined_column)
 
 TEST (YogaTest, aspect_ratio_align_stretch)
 
 TEST (YogaTest, aspect_ratio_flex_grow)
 
 TEST (YogaTest, aspect_ratio_flex_shrink)
 
 TEST (YogaTest, aspect_ratio_flex_shrink_2)
 
 TEST (YogaTest, aspect_ratio_basis)
 
 TEST (YogaTest, aspect_ratio_absolute_layout_width_defined)
 
 TEST (YogaTest, aspect_ratio_absolute_layout_height_defined)
 
 TEST (YogaTest, aspect_ratio_with_max_cross_defined)
 
 TEST (YogaTest, aspect_ratio_with_max_main_defined)
 
 TEST (YogaTest, aspect_ratio_with_min_cross_defined)
 
 TEST (YogaTest, aspect_ratio_with_min_main_defined)
 
 TEST (YogaTest, aspect_ratio_double_cross)
 
 TEST (YogaTest, aspect_ratio_half_cross)
 
 TEST (YogaTest, aspect_ratio_double_main)
 
 TEST (YogaTest, aspect_ratio_half_main)
 
 TEST (YogaTest, aspect_ratio_with_measure_func)
 
 TEST (YogaTest, aspect_ratio_width_height_flex_grow_row)
 
 TEST (YogaTest, aspect_ratio_width_height_flex_grow_column)
 
 TEST (YogaTest, aspect_ratio_height_as_flex_basis)
 
 TEST (YogaTest, aspect_ratio_width_as_flex_basis)
 
 TEST (YogaTest, aspect_ratio_overrides_flex_grow_row)
 
 TEST (YogaTest, aspect_ratio_overrides_flex_grow_column)
 
 TEST (YogaTest, aspect_ratio_left_right_absolute)
 
 TEST (YogaTest, aspect_ratio_top_bottom_absolute)
 
 TEST (YogaTest, aspect_ratio_width_overrides_align_stretch_row)
 
 TEST (YogaTest, aspect_ratio_height_overrides_align_stretch_column)
 
 TEST (YogaTest, aspect_ratio_allow_child_overflow_parent_size)
 
 TEST (YogaTest, aspect_ratio_defined_main_with_margin)
 
 TEST (YogaTest, aspect_ratio_defined_cross_with_margin)
 
 TEST (YogaTest, aspect_ratio_defined_cross_with_main_margin)
 
 TEST (YogaTest, aspect_ratio_should_prefer_explicit_height)
 
 TEST (YogaTest, aspect_ratio_should_prefer_explicit_width)
 
 TEST (YogaTest, aspect_ratio_should_prefer_flexed_dimension)
 

函数说明

◆ _measure()

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

◆ TEST() [1/37]

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

◆ TEST() [2/37]

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

◆ TEST() [3/37]

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

◆ TEST() [4/37]

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

◆ TEST() [5/37]

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

◆ TEST() [6/37]

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

◆ TEST() [7/37]

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

◆ TEST() [8/37]

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

◆ TEST() [9/37]

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

◆ TEST() [10/37]

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

◆ TEST() [11/37]

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

◆ TEST() [12/37]

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

◆ TEST() [13/37]

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

◆ TEST() [14/37]

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

◆ TEST() [15/37]

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

◆ TEST() [16/37]

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

◆ TEST() [17/37]

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

◆ TEST() [18/37]

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

◆ TEST() [19/37]

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

◆ TEST() [20/37]

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

◆ TEST() [21/37]

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

◆ TEST() [22/37]

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

◆ TEST() [23/37]

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

◆ TEST() [24/37]

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

◆ TEST() [25/37]

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

◆ TEST() [26/37]

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

◆ TEST() [27/37]

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

◆ TEST() [28/37]

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

◆ TEST() [29/37]

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

◆ TEST() [30/37]

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

◆ TEST() [31/37]

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

◆ TEST() [32/37]

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

◆ TEST() [33/37]

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

◆ TEST() [34/37]

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

◆ TEST() [35/37]

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

◆ TEST() [36/37]

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

◆ TEST() [37/37]

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