Searched refs:FastSolveEndIndex (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/ |
H A D | water_flow_layout_info_test.cpp | 135 EXPECT_EQ(info.FastSolveEndIndex(50.0f), -1); 143 EXPECT_EQ(info.FastSolveEndIndex(50.0f), 7); 144 EXPECT_EQ(info.FastSolveEndIndex(10.0f), 4); 147 EXPECT_EQ(info.FastSolveEndIndex(50.0f), 9); 150 EXPECT_EQ(info.FastSolveEndIndex(10.0f), 4); 151 EXPECT_EQ(info.FastSolveEndIndex(55.0f), 9); 154 EXPECT_EQ(info.FastSolveEndIndex(35.0f), 3); 165 EXPECT_EQ(info.FastSolveEndIndex(50.0f), -1); 173 EXPECT_EQ(info.FastSolveEndIndex(50.0f), 9); 176 EXPECT_EQ(info.FastSolveEndIndex(50.0f), 0);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_layout_info.h | 162 int32_t FastSolveEndIndex(float mainSize) const;
|
H A D | water_flow_layout_info.cpp | 367 int32_t WaterFlowLayoutInfo::FastSolveEndIndex(float mainSize) const in FastSolveEndIndex() function in OHOS::Ace::NG::WaterFlowLayoutInfo 430 endIndex_ = FastSolveEndIndex(mainSize); in Sync()
|