Home
last modified time | relevance | path

Searched refs:GetItemSize (Results 1 - 25 of 30) sorted by relevance

12

/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_option_layout_test_ng.cpp463 * @tc.desc: Test LayoutUtils::GetItemSize
491 EXPECT_EQ(GridLayoutUtils::GetItemSize(&info, wrapper, 0).rows, 1); in HWTEST_F()
492 EXPECT_EQ(GridLayoutUtils::GetItemSize(&info, wrapper, 0).columns, 2); in HWTEST_F()
493 EXPECT_EQ(GridLayoutUtils::GetItemSize(&info, wrapper, 1).rows, 2); in HWTEST_F()
494 EXPECT_EQ(GridLayoutUtils::GetItemSize(&info, wrapper, 1).columns, 1); in HWTEST_F()
495 EXPECT_EQ(GridLayoutUtils::GetItemSize(&info, wrapper, 2).rows, 1); in HWTEST_F()
496 EXPECT_EQ(GridLayoutUtils::GetItemSize(&info, wrapper, 2).columns, 2); in HWTEST_F()
500 EXPECT_EQ(GridLayoutUtils::GetItemSize(&info, wrapper, 0).rows, 2); in HWTEST_F()
501 EXPECT_EQ(GridLayoutUtils::GetItemSize(&info, wrapper, 0).columns, 1); in HWTEST_F()
502 EXPECT_EQ(GridLayoutUtils::GetItemSize( in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
H A Dgrid_layout_algorithm.cpp41 rowLen += GetItemSize(row + i, col, true); in CreateChildConstraint()
47 colLen += GetItemSize(row, col + i, false); in CreateChildConstraint()
182 positionY += GetItemSize(i, 0, true); in ComputeItemPosition()
186 positionX += GetItemSize(0, i, false); in ComputeItemPosition()
194 rowLen += GetItemSize(row + i, col, true); in ComputeItemPosition()
198 colLen += GetItemSize(row, col + i, false); in ComputeItemPosition()
214 float GridLayoutAlgorithm::GetItemSize(int32_t row, int32_t col, bool height) const in GetItemSize() function in OHOS::Ace::NG::GridLayoutAlgorithm
H A Dgrid_layout_algorithm.h50 float GetItemSize(int32_t row, int32_t col, bool height) const;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/
H A Dgrid_layout_utils.h37 static GridItemSize GetItemSize(const GridLayoutInfo* info, const LayoutWrapper* wrapper, int32_t idx);
H A Dgrid_layout_utils.cpp20 GridItemSize GridLayoutUtils::GetItemSize(const GridLayoutInfo* info, const LayoutWrapper* wrapper, int32_t idx) in GetItemSize() function in OHOS::Ace::NG::GridLayoutUtils
H A Dgrid_irregular_filler.cpp112 auto size = GridLayoutUtils::GetItemSize(info_, wrapper_, idx); in FillOne()
205 const auto itemSize = GridLayoutUtils::GetItemSize(info_, wrapper_, itemIdx); in MeasureItem()
H A Dgrid_layout_range_solver.cpp62 auto size = GridLayoutUtils::GetItemSize(info_, wrapper_, jumpIdx); in FindRangeOnJump()
H A Dgrid_irregular_layout_algorithm.cpp314 int32_t height = GridLayoutUtils::GetItemSize(&info_, wrapper_, info_.jumpIndex_).rows; in Jump()
470 auto lastLine = jumpLine + GridLayoutUtils::GetItemSize(&info_, wrapper_, jumpIdx).rows - 1; in FindJumpLineIdx()
/foundation/ability/ability_runtime/test/unittest/configuration_test/
H A Dconfiguration_test.cpp92 EXPECT_EQ(0, config.GetItemSize()); in HWTEST_F()
94 EXPECT_EQ(1, config.GetItemSize()); in HWTEST_F()
98 EXPECT_EQ(1, config.GetItemSize()); in HWTEST_F()
114 EXPECT_EQ(0, config.GetItemSize()); in HWTEST_F()
116 EXPECT_EQ(1, config.GetItemSize()); in HWTEST_F()
120 EXPECT_EQ(1, config.GetItemSize()); in HWTEST_F()
137 EXPECT_EQ(0, config.GetItemSize()); in HWTEST_F()
289 * Function: GetItemSize
301 EXPECT_EQ(0, config.GetItemSize()); in HWTEST_F()
303 EXPECT_EQ(1, config.GetItemSize()); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dindexer_composed_element.h40 std::string GetItemSize() const;
H A Dindexer_composed_element.cpp30 { "itemSize", [](const IndexerComposedElement& inspector) { return inspector.GetItemSize(); } },
131 std::string IndexerComposedElement::GetItemSize() const in GetItemSize() function in OHOS::Ace::V2::IndexerComposedElement
138 auto size = render ? render->GetItemSize().Value() : 0; in GetItemSize()
/foundation/ability/ability_runtime/test/unittest/js_service_extension_test/
H A Djs_service_extension_test.cpp162 EXPECT_EQ(configuration->GetItemSize(), appConfig->GetItemSize()); in HWTEST_F()
200 EXPECT_LE(configuration->GetItemSize(), appConfig->GetItemSize()); in HWTEST_F()
/foundation/distributeddatamgr/preferences/frameworks/native/platform/include/
H A Dpreferences_db_adapter.h100 typedef int32_t (*GetItemSize)(GRD_ResultSet *resultSet, uint32_t *keySize, uint32_t *valueSize); typedef
120 GetItemSize GetItemSizeApi = nullptr;
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Dindexer_item_component.h86 const Dimension& GetItemSize() const in GetItemSize() function in OHOS::Ace::V2::IndexerItemComponent
H A Drender_indexer_item.h111 const Dimension& GetItemSize() const in GetItemSize() function in OHOS::Ace::V2::RenderIndexerItem
H A Dindexer_component.h127 const Dimension& GetItemSize() const in GetItemSize() function in OHOS::Ace::V2::IndexerComponent
H A Drender_indexer_item.cpp42 itemSize_ = itemComponent->GetItemSize(); in Update()
/foundation/ability/ability_base/interfaces/kits/native/configuration/include/
H A Dconfiguration.h149 int GetItemSize() const;
/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Dindexer_item_component.h103 const Dimension& GetItemSize() const in GetItemSize() function in OHOS::Ace::IndexerItemComponent
H A Dindexer_component.h195 const Dimension& GetItemSize() const in GetItemSize() function in OHOS::Ace::IndexerComponent
H A Drender_indexer.cpp162 itemSize_ = context->NormalizeToPx(indexerComponent->GetItemSize()); in Update()
/foundation/ability/ability_base/interfaces/kits/native/configuration/src/
H A Dconfiguration.cpp134 int Configuration::GetItemSize() const in GetItemSize() function in OHOS::AppExecFwk::Configuration
163 if (other.GetItemSize() == 0) { in CompareDifferent()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_configuration.cpp49 TAG_LOGD(AAFwkTag::JSNAPI, "called, config size %{public}d", static_cast<int>(configuration.GetItemSize())); in WrapConfiguration()
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_item_theme.h160 Dimension GetItemSize() const in GetItemSize() function in OHOS::Ace::ListItemTheme
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_layout_algorithm.cpp37 Dimension itemSize = indexerLayoutProperty->GetItemSize().value_or(Dimension(INDEXER_ITEM_SIZE, DimensionUnit::VP)); in Measure()

Completed in 15 milliseconds

12