Home
last modified time | relevance | path

Searched refs:columnCount (Results 1 - 25 of 47) sorted by relevance

12

/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/property_display/
H A Dtest_RSBackground_Filter.cpp39 int columnCount = 3; in GRAPHIC_TEST() local
41 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
46 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
47 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
62 int columnCount = 4; in GRAPHIC_TEST() local
64 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
69 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
70 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
83 int x = ((i + radiusList.size()) % columnCount) * sizeX; in GRAPHIC_TEST()
84 int y = ((i + radiusList.size()) / columnCount) * size in GRAPHIC_TEST()
99 int columnCount = 2; GRAPHIC_TEST() local
121 int columnCount = 2; GRAPHIC_TEST() local
143 int columnCount = 3; GRAPHIC_TEST() local
186 int columnCount = 3; GRAPHIC_TEST() local
231 int columnCount = 3; GRAPHIC_TEST() local
257 int columnCount = 1; GRAPHIC_TEST() local
[all...]
H A Dtest_RSBackground_Image.cpp39 int columnCount = 1; in GRAPHIC_TEST() local
41 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
48 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
49 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
61 int columnCount = 2; in GRAPHIC_TEST() local
63 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
70 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
71 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
83 int columnCount = 2; in GRAPHIC_TEST() local
85 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
107 int columnCount = 2; GRAPHIC_TEST() local
143 int columnCount = 2; GRAPHIC_TEST() local
179 int columnCount = 2; GRAPHIC_TEST() local
225 int columnCount = 2; GRAPHIC_TEST() local
[all...]
H A Dtest_G2_CornerRadius.cpp39 int columnCount = 2; in GRAPHIC_TEST() local
41 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
49 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
50 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
62 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
63 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
76 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
77 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
89 int columnCount = 2; in GRAPHIC_TEST() local
91 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
144 int columnCount = 2; GRAPHIC_TEST() local
[all...]
H A Dtest_Appearance_PixelStretch.cpp39 int columnCount = 1; in GRAPHIC_TEST() local
41 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
47 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
48 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
62 int columnCount = 2; in GRAPHIC_TEST() local
64 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
73 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
74 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
88 int columnCount = 2; in GRAPHIC_TEST() local
90 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
117 int columnCount = 2; GRAPHIC_TEST() local
141 int columnCount = 1; GRAPHIC_TEST() local
[all...]
H A Dmesa_blur_shader_filter_test.cpp75 int columnCount = 2; // 2: column size in GRAPHIC_TEST() local
77 auto sizeX = screenSize[0] / columnCount; in GRAPHIC_TEST()
84 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
85 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
104 int columnCount = 2; // 2: column size in GRAPHIC_TEST() local
106 auto sizeX = screenSize[0] / columnCount; in GRAPHIC_TEST()
115 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
116 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
136 int columnCount = 2; // 2: column size in GRAPHIC_TEST() local
138 auto sizeX = screenSize[0] / columnCount; in GRAPHIC_TEST()
171 int columnCount = 2; // 2: column size GRAPHIC_TEST() local
206 int columnCount = 2; // 2: column size GRAPHIC_TEST() local
239 int columnCount = 2; // 2: column size GRAPHIC_TEST() local
273 int columnCount = 2; // 2: column size GRAPHIC_TEST() local
[all...]
H A Dtest_RSBackground_WaterRipple.cpp39 int columnCount = 3; in GRAPHIC_TEST() local
41 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
47 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
48 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
60 int columnCount = 3; in GRAPHIC_TEST() local
62 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
68 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
69 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
H A Dappearance_alpha_test.cpp44 const int columnCount = 2; in GRAPHIC_TEST() local
50 for (int i = 0; i < columnCount; i++) { in GRAPHIC_TEST()
64 for (int i = 0; i < columnCount; i++) { in GRAPHIC_TEST()
67 int y = (i + columnCount) * (nodeHeight + nodeGap); in GRAPHIC_TEST()
81 int y = (columnCount + columnCount) * (nodeHeight + nodeGap); in GRAPHIC_TEST()
94 const int columnCount = 3; in GRAPHIC_TEST() local
100 for (int i = 0; i < columnCount; i++) { in GRAPHIC_TEST()
101 int x = (i % columnCount) * (nodeWidth + nodeGap); in GRAPHIC_TEST()
119 for (int i = 0; i < columnCount; in GRAPHIC_TEST()
141 const int columnCount = 2; GRAPHIC_TEST() local
[all...]
H A Dtest_RSBackground_BeginBlender.cpp39 int columnCount = 6; in GRAPHIC_TEST() local
41 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
45 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
46 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
92 int columnCount = 1; in GRAPHIC_TEST() local
94 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
99 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
100 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
H A Dtest_RSBackground_Color.cpp41 int columnCount = 3; in GRAPHIC_TEST() local
43 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
49 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
50 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
147 int columnCount = 2; in GRAPHIC_TEST() local
149 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
154 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
155 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
173 int columnCount = 2; in GRAPHIC_TEST() local
175 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
[all...]
H A Dtest_RSBackground_GreyCoef.cpp39 int columnCount = 2; in GRAPHIC_TEST() local
41 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
47 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
48 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
H A Dtest_Geometry_Transform_Test.cpp52 int columnCount = 1; in GRAPHIC_TEST() local
54 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
60 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
61 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
H A Dappearance_border_radius_test.cpp60 const int columnCount = 2; in GRAPHIC_TEST() local
66 int x = (i % columnCount) * nodePos; in GRAPHIC_TEST()
67 int y = (i / columnCount) * nodePos; in GRAPHIC_TEST()
108 const int columnCount = 2; in GRAPHIC_TEST() local
114 int x = (i % columnCount) * nodePos; in GRAPHIC_TEST()
115 int y = (i / columnCount) * nodePos; in GRAPHIC_TEST()
145 const int columnCount = 2; in GRAPHIC_TEST() local
152 int x = (i % columnCount) * nodePos; in GRAPHIC_TEST()
153 int y = (i / columnCount) * nodePos; in GRAPHIC_TEST()
181 const int columnCount in GRAPHIC_TEST() local
233 const int columnCount = 2; GRAPHIC_TEST() local
286 const int columnCount = 2; GRAPHIC_TEST() local
[all...]
H A Dappearance_border_test.cpp58 const int columnCount = 2; in GRAPHIC_TEST() local
65 int x = (i % columnCount) * nodePos; in GRAPHIC_TEST()
66 int y = (i / columnCount) * nodePos; in GRAPHIC_TEST()
106 const int columnCount = 2; in GRAPHIC_TEST() local
111 int x = (i % columnCount) * nodePos; in GRAPHIC_TEST()
112 int y = (i / columnCount) * nodePos; in GRAPHIC_TEST()
140 const int columnCount = 2; in GRAPHIC_TEST() local
146 int x = (i % columnCount) * nodePos; in GRAPHIC_TEST()
147 int y = (i / columnCount) * nodePos; in GRAPHIC_TEST()
173 const int columnCount in GRAPHIC_TEST() local
221 const int columnCount = 2; GRAPHIC_TEST() local
270 const int columnCount = 2; GRAPHIC_TEST() local
[all...]
H A Dtest_RSBackground_UseEffect.cpp51 int columnCount = 1; in GRAPHIC_TEST() local
53 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
57 int x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
58 int y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
H A Dappearance_outlineborder_radius_test.cpp58 const int columnCount = 2; in GRAPHIC_TEST() local
64 int x = (i % columnCount) * nodePos; in GRAPHIC_TEST()
65 int y = (i / columnCount) * nodePos; in GRAPHIC_TEST()
109 const int columnCount = 2; in GRAPHIC_TEST() local
117 int x = (i % columnCount) * nodePos; in GRAPHIC_TEST()
118 int y = (i / columnCount) * nodePos; in GRAPHIC_TEST()
153 const int columnCount = 2; in GRAPHIC_TEST() local
161 int x = (i % columnCount) * nodePos; in GRAPHIC_TEST()
162 int y = (i / columnCount) * nodePos; in GRAPHIC_TEST()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb_data_share_adapter/src/
H A Drdb_result_set_bridge.cpp55 int columnCount; in OnGo() local
56 rdbResultSet_->GetColumnCount(columnCount); in OnGo()
57 if (columnCount <= 0) { in OnGo()
58 LOG_ERROR("Invalid columnCount: %{public}d.", columnCount); in OnGo()
61 LOG_DEBUG("rowCount: %{public}d, columnCount: %{public}d.", rowCount, columnCount); in OnGo()
75 return WriteBlock(start, target, columnCount, writer); in OnGo()
78 int32_t RdbResultSetBridge::WriteBlock(int32_t start, int32_t target, int columnCount, Writer &writer) in WriteBlock() argument
90 WriteColumn(columnCount, write in WriteBlock()
97 WriteColumn(int columnCount, Writer &writer, int row) WriteColumn() argument
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/data/
H A Dresultset_json_formatter.cpp25 int columnCount = 0; in Marshal() local
26 auto result = resultSet->GetColumnCount(columnCount); in Marshal()
32 if (!MarshalRow(node, columnCount)) { in Marshal()
45 bool ResultSetJsonFormatter::MarshalRow(DistributedData::Serializable::json &node, int columnCount) const in MarshalRow()
51 for (int i = 0; i < columnCount; i++) { in MarshalRow()
H A Dresultset_json_formatter.h32 bool MarshalRow(json &node, int columnCount) const;
/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/content_display/
H A Dcontent_effectnode_test.cpp53 int columnCount = 1; in GRAPHIC_TEST() local
55 auto sizeX = screenWidth / columnCount; in GRAPHIC_TEST()
59 float x = (i % columnCount) * sizeX; in GRAPHIC_TEST()
60 float y = (i / columnCount) * sizeY; in GRAPHIC_TEST()
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb_data_share_adapter/include/
H A Drdb_result_set_bridge.h41 int32_t WriteBlock(int32_t start, int32_t target, int columnCount, Writer &writer);
43 void WriteColumn(int columnCount, Writer &writer, int row);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_result_set_stub.cpp67 int columnCount = 0; in OnGetColumnCount() local
68 int status = resultSet_->GetColumnCount(columnCount); in OnGetColumnCount()
69 if (!ITypesUtil::Marshal(reply, status, columnCount)) { in OnGetColumnCount()
70 ZLOGE("Write status or columnCount failed, status:%{public}d, columnCount:%{public}d.", status, columnCount); in OnGetColumnCount()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_step_result_set_test.cpp531 int columnCount = 0; in HWTEST_F() local
532 iRet = resultSet->GetColumnCount(columnCount); in HWTEST_F()
533 EXPECT_EQ(4, columnCount); in HWTEST_F()
534 iRet = resultSet->GetInt(columnCount, iValue); in HWTEST_F()
590 int columnCount = 0; in HWTEST_F() local
591 iRet = resultSet->GetColumnCount(columnCount); in HWTEST_F()
592 EXPECT_EQ(4, columnCount); in HWTEST_F()
593 iRet = resultSet->GetString(columnCount, strValue); in HWTEST_F()
638 int columnCount = 0; in HWTEST_F() local
639 iRet = resultSet->GetColumnCount(columnCount); in HWTEST_F()
699 int columnCount = 0; HWTEST_F() local
737 int columnCount = 0; HWTEST_F() local
815 int columnCount = 0; HWTEST_F() local
1604 int columnCount = 0; HWTEST_F() local
[all...]
H A Drdb_upgrade_test.cpp139 int columnCount; in HWTEST_F() local
140 ret = upgradeResultSet->GetColumnCount(columnCount); in HWTEST_F()
142 EXPECT_EQ(columnCount, 6); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dtemplates_parser.cpp474 int32_t columnCount = 1;
476 columnCount = std::floor((size + gap) / (trackSize + gap));
477 columnCount = std::max(columnCount, 1);
478 if (columnCount > 1) {
479 realGap = (size - columnCount * trackSize) / (columnCount - 1);
483 for (int32_t i = 0; i < columnCount; i++) {
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_adaptive/
H A Dgrid_adaptive_layout_algorithm.cpp79 auto columnCount = axis == Axis::HORIZONTAL ? mainCount_ : crossCount_; in Measure() local
81 columnCount_ = columnCount; in Measure()
83 OptionalSizeF(columnCount * gridCellSize_.Width() + (columnCount - 1) * columnsGap, in Measure()

Completed in 12 milliseconds

12