Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 25 of 201) sorted by relevance

123456789

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/
H A Dirregular_matrics.cpp61 return { .rows = 3, .columns = 1 }; in GetOptionDemo2()
69 return { .rows = 2, .columns = 1 }; in GetOptionDemo2()
99 return { .rows = 2, .columns = 2 }; in GetOptionDemo5()
134 return { .rows = 1, .columns = 2 }; in GetOptionDemo8()
155 return { .rows = 2, .columns = 3 }; in GetOptionDemo9()
185 return { .rows = 1, .columns = 2 }; in GetOptionDemo10()
209 return { .rows = 2, .columns = 1 }; in GetOptionDemo11()
228 return { .rows = 6, .columns = 1 }; in GetOptionDemo12()
251 return { .rows = 6, .columns = 3 }; in GetOptionDemo13()
271 return { .rows = 6, .columns = 2 }; in GetOptionDemo14()
[all …]
/ohos5.0/foundation/communication/nfc/interfaces/inner_api/controller/
H A Dnfc_data_share_impl.cpp95 auto rows = dataShareHelper_->Query(uri, predicates, columns); in GetValue() local
96 if (rows == nullptr) { in GetValue()
100 rows->GoToFirstRow(); in GetValue()
102 rows->GetColumnIndex(KITS::NFC_DATA_COLUMN_VALUE, columnIndex); in GetValue()
104 int32_t ret = rows->GetString(columnIndex, valueStr); in GetValue()
109 rows->Close(); in GetValue()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-grid-row.md31 …oned with space between the rows.<br>- **space-around**: Items are positioned with space before, b…
33rows are packed towards the start of the cross axis. The start edge of the cross axis of the first…
H A Djs-components-grid-container.md53 …oned with space between the rows.<br>- **space-around**: Items are positioned with space before, b…
55rows are packed towards the start of the cross axis. The start edge of the cross axis of the first…
H A Djs-components-grid-col.md41 …oned with space between the rows.<br>- **space-around**: Items are positioned with space before, b…
43rows are packed towards the start of the cross axis. The start edge of the cross axis of the first…
45 | grid-template-[columns\|rows] | string | 1 row, 1 column | No | Number of rows and…
46rows]-gap | &lt;length&gt; | 0 | No | Size of the gap between two consecutive rows
H A Djs-components-container-div.md32 …oned with space between the rows.<br>- **space-around**: Items are positioned with space before, b…
34rows are packed toward the start edge of the cross axis. The start edge of the cross axis of the f…
35 | grid-template-[columns\|rows] | string | 1 row, 1 column | No | Number of rows and…
36rows]-gap | &lt;length&gt; | 0 | No | Size of the gap between two consecutive ro…
206 grid-rows-gap: 24px;
207 grid-template-rows: 35% 35%;
/ohos5.0/base/location/frameworks/location_common/common/source/
H A Dlocation_data_rdb_helper.cpp112 auto rows = dataShareHelper->Query(uri, predicates, columns); in GetValue() local
113 if (rows == nullptr) { in GetValue()
118 rows->GoToFirstRow(); in GetValue()
120 rows->GetColumnIndex(LOCATION_DATA_COLUMN_VALUE, columnIndex); in GetValue()
122 int32_t ret = rows->GetString(columnIndex, valueStr); in GetValue()
125 rows->Close(); in GetValue()
129 rows->Close(); in GetValue()
/ohos5.0/foundation/communication/nfc/services/src/external_deps/
H A Dnfc_data_share_impl.cpp60 auto rows = dataShareHelper_->Query(uri, predicates, columns); in GetValue() local
61 if (rows == nullptr) { in GetValue()
65 rows->GoToFirstRow(); in GetValue()
67 rows->GetColumnIndex(KITS::NFC_DATA_COLUMN_VALUE, columnIndex); in GetValue()
69 int32_t result = rows->GetString(columnIndex, valueStr); in GetValue()
74 rows->Close(); in GetValue()
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_trans_db_test.cpp407 std::vector<ValuesBucket> rows; variable
444 ValuesBuckets rows; variable
450 rows.Put(row);
512 std::vector<ValuesBucket> rows; variable
556 std::vector<ValuesBucket> rows; variable
629 std::vector<ValuesBucket> rows; variable
677 std::vector<ValuesBucket> rows; variable
722 std::vector<ValuesBucket> rows; variable
757 std::vector<ValuesBucket> rows; variable
788 std::vector<ValuesBucket> rows; variable
[all …]
H A Dtransaction_test.cpp196 Transaction::Rows rows { variable
201 auto result = transaction->BatchInsert("test", rows);
229 Transaction::RefRows rows; variable
230 rows.Put(UTUtils::SetRowData(UTUtils::g_rowData[0]));
231 rows.Put(UTUtils::SetRowData(UTUtils::g_rowData[1]));
232 rows.Put(UTUtils::SetRowData(UTUtils::g_rowData[2]));
234 auto result = transaction->BatchInsert("test", rows);
321 Transaction::RefRows rows; variable
322 rows.Put(UTUtils::SetRowData(UTUtils::g_rowData[0]));
323 rows.Put(UTUtils::SetRowData(UTUtils::g_rowData[1]));
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_option_layout_test_ng.cpp39 option.regularSize.rows = 1;
71 option.regularSize.rows = 1;
98 option.regularSize.rows = 1;
133 option.regularSize.rows = 1;
170 option.regularSize.rows = 1;
202 option.regularSize.rows = 1;
235 option.regularSize.rows = 1;
266 option.regularSize.rows = 1;
363 option.regularSize.rows = 1;
507 option.regularSize.rows = 1;
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/
H A DRdbstoreCreateDeleteWithFAContextJsunit.test.js153 rdbStore.delete(predicates, (err, rows) => {
158 console.log("Delete rows: " + rows)
159 expect(1).assertEqual(rows)
198 rdbStore.delete(predicates).then((rows) => {
199 console.log("Delete rows: " + rows)
200 expect(1).assertEqual(rows)
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstoreCreateDeleteWithFAContextJsunit.test.js152 rdbStore.delete(predicates, (err, rows) => {
157 console.log("Delete rows: " + rows)
158 expect(1).assertEqual(rows)
196 rdbStore.delete(predicates).then((rows) => {
197 console.log("Delete rows: " + rows)
198 expect(1).assertEqual(rows)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_options.h23 int32_t rows = 1; member
27 return (rows == itemSize.rows) && (columns == itemSize.columns);
31 return axis == Axis::VERTICAL ? columns : rows; in GetCrossSize()
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A D_rdb___statistic.md20 | [total](_r_d_b.md#total) | Total number of rows to be synchronized between the device and cloud i…
21 | [successful](_r_d_b.md#successful) | Number of rows that are successfully synchronized between th…
22 | [failed](_r_d_b.md#failed) | Number of rows that failed to be synchronized between the device and…
23 | [remained](_r_d_b.md#remained) | Number of rows that are not executed for device-cloud sync in th…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-container-div.md28 …oned with space between the rows.<br>- **space-around**: Items are positioned with space before, b…
30rows are packed toward the start edge of the cross axis. The start edge of the cross axis of the f…
32 | grid-template-[columns\|rows] | string | 1 row, 1 column| No| Number of rows and columns in the c…
33rows]-gap | &lt;length&gt; | 0 | No| Size of the gap between two consecutive rows or columns in a …
/ohos5.0/foundation/communication/nfc/services/src/card_emulation/
H A Dsetting_data_share_impl.cpp74 auto rows = dataShareHelper_->Query(uri, predicates, columns); in GetElementName() local
75 if (rows == nullptr) { in GetElementName()
79 rows->GoToFirstRow(); in GetElementName()
81 rows->GetColumnIndex(KITS::NFC_DATA_COLUMN_VALUE, columnIndex); in GetElementName()
83 int32_t ret = rows->GetString(columnIndex, valueStr); in GetElementName()
88 rows->Close(); in GetElementName()
/ohos5.0/base/sensors/sensor/vibration_convert/core/utils/src/
H A Dutils.cpp74 std::vector<double> TransposeMatrix(size_t rows, const std::vector<double> &values) in TransposeMatrix() argument
79 if ((rows == 0) || (valuesSize == 0) || (valuesSize > MAX_SIZE)) { in TransposeMatrix()
84 size_t cols = valuesSize / rows; in TransposeMatrix()
86 if ((((cols - 1) * rows) + (rows - 1)) >= valuesSize) { in TransposeMatrix()
90 for (size_t i = 0; i < rows; i++) { in TransposeMatrix()
92 dst[j * rows + i] = values[index++]; in TransposeMatrix()
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-layout-development-create-grid.md6 The grid layout consists of cells formed by rows and columns. You can specify the cells where items…
23 …mponent allows you to define the number of rows and columns, proportion of each row and column, nu…
31 Depending on the settings of the quantity and proportion of rows and columns, the **Grid** componen…
33 …tity and proportion are set for rows or columns, the **Grid** component displays elements only in …
35 - If only the quantity or proportion is set for rows or columns, the **Grid** component lays out el…
37rows or columns, the **Grid** component lays out elements in the layout direction. The number of r…
45 You can set the number and proportion of rows and columns to determine the overall arrangement mode…
49 **Figure 3** Example of the proportion of rows and columns
53 The preceding figure shows a grid layout with three rows and three columns. The grid layout is divi…
73 …ying number of cells and rows, is as common as its even counterpart. To allow a single grid cell i…
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_rdb_transaction.cpp256 auto [ret, rows] = transaction_->Insert(cmd.GetTableName(), cmd.GetValueBucket()); in Insert()
257 rowId = rows; in Insert()
294 auto [err, rows] = transaction_->Update(values, predicates); in Update()
295 changedRows = rows; in Update()
340 auto [ret, rows] = transaction_->BatchInsert(table, values); in BatchInsert()
341 outRowId = rows; in BatchInsert()
358 auto [ret, rows] = transaction_->BatchInsert(cmd.GetTableName(), values); in BatchInsert()
359 outInsertNum = rows; in BatchInsert()
377 auto [ret, rows] = transaction_->Insert(tableName, values); in Insert()
378 rowId = rows; in Insert()
/ohos5.0/foundation/multimodalinput/input/util/common/include/
H A Dtable_dump.h41 const std::vector<std::tuple<Args...>> &rows, in CalculateColumnWidths() argument
50 for (const auto &row: rows) { in CalculateColumnWidths()
100 const std::vector<std::tuple<Args...>> &rows) in DumpFullTable() argument
106 std::vector<size_t> widths = CalculateColumnWidths(titles, rows, lineWidth); in DumpFullTable()
118 for (const auto &row: rows) { in DumpFullTable()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/
H A Dgrid_layout_utils.cpp30 size.rows = 1; in GetItemSize()
37 std::swap(size.rows, size.columns); in GetItemSize()
47 size.rows = std::max(1, size.rows); in GetItemSize()
H A Dgrid_irregular_filler.cpp132 for (int32_t r = 0; r < size.rows; ++r) { in FillOne()
229 float heightPerRow = (childHeight - (params.mainGap * (itemSize.rows - 1))) / itemSize.rows; in MeasureItem()
230 for (int32_t i = 0; i < itemSize.rows; ++i) { in MeasureItem()
365 std::swap(size.rows, size.columns); in SetItemInfo()
375 if (size.rows == 1 && size.columns == 1) { in SetItemInfo()
380 .mainSpan = size.rows, in SetItemInfo()
383 .mainEnd = row + size.rows - 1, in SetItemInfo()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/unittest/
H A Dheif_hw_decoder_test.cpp64 .rows = 0,
83 .rows = 0,
103 .rows = 0,
124 .rows = 2,
145 .rows = 1,
166 .rows = 1,
/ohos5.0/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_vector.cpp631 node->node.rows = metric->rows; in SaveGlyphNode()
658 glyphNode.rows = f->rows; in GetGlyphNode()
697 glyphNode.rows = f->rows; in GetBitmap()
808 glyphNode.rows = faceInfo.face->glyph->bitmap.rows; in LoadGlyphIntoFace()
883 f->rows = faceInfo.face->glyph->bitmap.rows; in SetFace()
902 glyphNode.rows = f->rows; in SetFace()
908 uint32_t rawSize = glyphNode.cols * glyphNode.rows * pixSize; in SetFace()
970 emojiMaxNode = glyphNode.rows > emojiMaxNode.rows ? glyphNode : emojiMaxNode; in GetOffsetPosY()
984 isEmojiLarge = emojiMaxNode.rows > maxFontSize; in GetOffsetPosY()
993 if (maxFontSize >= emojiMaxNode.rows) { in GetOffsetPosY()
[all …]

123456789