Home
last modified time | relevance | path

Searched refs:rowIndex (Results 1 - 25 of 26) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Dgrid_layout_item_component.cpp41 void GridLayoutItemComponent::SetRowIndex(int32_t rowIndex) in SetRowIndex() argument
43 if (rowIndex < 0) { in SetRowIndex()
46 rowIndex_ = rowIndex; in SetRowIndex()
H A Drender_grid_layout_item.cpp80 void RenderGridLayoutItem::SetRowIndex(int32_t rowIndex) in SetRowIndex() argument
82 if (rowIndex < 0) { in SetRowIndex()
85 rowIndex_ = rowIndex; in SetRowIndex()
H A Drender_grid_layout.cpp333 Point RenderGridLayout::CalcDragChildEndPosition(int32_t rowIndex, int32_t colIndex)
337 for (int32_t i = 0; i < rowIndex; ++i) {
341 positionY += rowIndex * rowGap_;
349 double colLen = gridCells_.at(rowIndex).at(colIndex).Width();
377 int32_t rowIndex = 0;
392 while (!CheckGridPlaced(itemIndex, rowIndex, colIndex, itemRowSpan, itemColSpan)) {
393 GetNextGrid(rowIndex, colIndex);
394 if (rowIndex >= rowCount_ || colIndex >= colCount_) {
398 if (rowIndex == row && colIndex == col) {
697 int32_t rowIndex
[all...]
H A Drender_grid_layout.h90 GridItemIndexPosition(int32_t rowIndex, int32_t colIndex) : rowIndex_(rowIndex), colIndex_(colIndex) {} in GridItemIndexPosition() argument
374 bool CalTheFirstEmptyCell(int32_t& rowIndex, int32_t& columIndex, bool ignoreInsert);
415 Point CalcDragChildEndPosition(int32_t rowIndex, int32_t colIndex);
439 void RefreshAllocatedRowSizes(int32_t rowIndex, int32_t itemRowSpan, const RefPtr<RenderNode>& item);
470 // Map structure: [rowIndex - (columnIndex, index)]
472 // Map structure: [rowIndex - columnIndex - (width, height)]
503 // The rowIndex of the grid currently to be inserted
509 // The rowIndex of the grid where the Drag coordinates are located
H A Dgrid_layout_item_component.h41 void SetRowIndex(int32_t rowIndex);
H A Drender_grid_layout_item.h39 void SetRowIndex(int32_t rowIndex);
/foundation/arkui/ace_engine/advanced_ui_component/filter/interfaces/
H A Dfilter.js197 this.rowIndex = 0;
215 if (params.rowIndex !== undefined) {
216 this.rowIndex = params.rowIndex;
447 ListItem.tabIndex(colIndex === 0 ? this.rowIndex : -1);
571 this.rowIndex = 0;
605 if (params.rowIndex !== undefined) {
606 this.rowIndex = params.rowIndex;
1053 Text.tabIndex(this.rowIndex);
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_adaptive/
H A Dgrid_adaptive_layout_algorithm.cpp170 int32_t rowIndex = 0; in CalculateChildOffset() local
174 rowIndex = index / mainCount_; in CalculateChildOffset()
178 rowIndex = index / mainCount_; in CalculateChildOffset()
183 rowIndex = index % mainCount_; in CalculateChildOffset()
187 rowIndex = mainCount_ - index % mainCount_ - 1; in CalculateChildOffset()
193 gridLayoutInfo_.gridMatrix_[rowIndex][columnIndex] = index; in CalculateChildOffset()
196 auto positionY = rowIndex * (gridCellSize_.Height() + rowsGap); in CalculateChildOffset()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
H A Dgrid_layout_algorithm.cpp266 int32_t rowIndex = 0; in Measure() local
300 while (!CheckGridPlaced(itemIndex, rowIndex, colIndex, itemRowSpan, itemColSpan)) { in Measure()
301 GetNextGrid(rowIndex, colIndex); in Measure()
302 if (rowIndex >= mainCount_ || colIndex >= crossCount_) { in Measure()
306 if (rowIndex >= mainCount_ || colIndex >= crossCount_) { in Measure()
310 idealSize, gridLayoutProperty, rowIndex, colIndex, itemRowSpan, itemColSpan, childLayoutProperty)); in Measure()
312 ComputeItemPosition(layoutWrapper, rowIndex, colIndex, itemRowSpan, itemColSpan, childLayoutWrapper)); in Measure()
314 PrintConflictingPositionLog(itemIndex, rect, rowIndex, colIndex, itemRowSpan, itemColSpan); in Measure()
377 int32_t itemIndex, GridItemRect rect, int32_t rowIndex, int32_t colIndex, int32_t rowSpan, int32_t colSpan) in PrintConflictingPositionLog()
383 itemIndex, rect.rowStart, rect.columnStart, rect.rowSpan, rect.columnSpan, rowIndex, colInde in PrintConflictingPositionLog()
376 PrintConflictingPositionLog( int32_t itemIndex, GridItemRect rect, int32_t rowIndex, int32_t colIndex, int32_t rowSpan, int32_t colSpan) PrintConflictingPositionLog() argument
[all...]
H A Dgrid_layout_algorithm.h54 int32_t itemIndex, GridItemRect rect, int32_t rowIndex, int32_t colIndex, int32_t rowSpan, int32_t colSpan);
64 // Map structure: [rowIndex, [columnIndex - (width, height)]].
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_result_set_stub.cpp103 int rowIndex = 0; in OnGetRowIndex() local
104 int status = resultSet_->GetRowIndex(rowIndex); in OnGetRowIndex()
105 if (!ITypesUtil::Marshal(reply, status, rowIndex)) { in OnGetRowIndex()
106 ZLOGE("Write status or rowIndex failed, status:%{public}d, rowIndex:%{public}d.", status, rowIndex); in OnGetRowIndex()
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Ddatashare_block_writer_impl.cpp130 bool DataShareBlockWriterImpl::GetCurrentRowIndex(uint32_t &rowIndex) in GetCurrentRowIndex() argument
139 rowIndex = rowNum - 1; in GetCurrentRowIndex()
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/
H A Ddatashare_block_writer_impl.h85 bool GetCurrentRowIndex(uint32_t &rowIndex);
/foundation/arkui/ace_engine/frameworks/core/accessibility/
H A Dnative_interface_accessibility_impl.cpp38 gridItem.rowIndex = 0; in ArkUI_AccessibilityElementInfo()
/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_element_info.cpp684 GridItemInfo::GridItemInfo(int32_t rowIndex, int32_t rowSpan, int32_t columnIndex, int32_t columnSpan, in GridItemInfo() argument
687 rowIndex_ = rowIndex; in GridItemInfo()
705 void GridItemInfo::SetGridItemInfo(int32_t rowIndex, int32_t rowSpan, int32_t columnIndex, in SetGridItemInfo() argument
708 rowIndex_ = rowIndex; in SetGridItemInfo()
/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/
H A DRdbStoreResultSetJsunit.test.js708 * @tc.name resultSet rowIndex test
710 * @tc.desc resultSet rowIndex test
717 expect(0).assertEqual(resultSet.rowIndex)
726 * @tc.name resultSet rowIndex at last row test
728 * @tc.desc resultSet rowIndex at last row test
735 expect(2).assertEqual(resultSet.rowIndex)
1048 expect(1).assertEqual(resultSet.rowIndex)
1070 expect(-1).assertEqual(resultSet.rowIndex)
1093 expect(2).assertEqual(resultSet.rowIndex)
1115 expect(3).assertEqual(resultSet.rowIndex)
[all...]
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbStoreResultSetJsunit.test.js713 * @tc.name resultSet rowIndex test
715 * @tc.desc resultSet rowIndex test
722 expect(0).assertEqual(resultSet.rowIndex)
731 * @tc.name resultSet rowIndex at last row test
733 * @tc.desc resultSet rowIndex at last row test
740 expect(2).assertEqual(resultSet.rowIndex)
1053 expect(1).assertEqual(resultSet.rowIndex)
1075 expect(-1).assertEqual(resultSet.rowIndex)
1098 expect(2).assertEqual(resultSet.rowIndex)
1120 expect(3).assertEqual(resultSet.rowIndex)
[all...]
H A DRdbStoreResultSetSyncJsunit.test.js713 * @tc.name resultSet rowIndex test
715 * @tc.desc resultSet rowIndex test
722 expect(0).assertEqual(resultSet.rowIndex)
731 * @tc.name resultSet rowIndex at last row test
733 * @tc.desc resultSet rowIndex at last row test
740 expect(2).assertEqual(resultSet.rowIndex)
1053 expect(1).assertEqual(resultSet.rowIndex)
1075 expect(-1).assertEqual(resultSet.rowIndex)
1098 expect(2).assertEqual(resultSet.rowIndex)
1120 expect(3).assertEqual(resultSet.rowIndex)
[all...]
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Djs_third_provider_interaction_operation_utils.h79 girdItem.rowIndex, girdItem.rowSpan, girdItem.columnIndex, in TransformAccessbilityElementInfo()
/foundation/arkui/ace_engine/test/unittest/core/accessibility/
H A Dnative_interface_accessibility_test.cpp203 auto rowIndex = ++index; in BuildNativeAccessibilityElementInfoPart() local
207 ArkUI_AccessibleGridItemInfo gridItemInfo {heading, columnIndex, rowIndex, columnSpan, rowSpan, selected}; in BuildNativeAccessibilityElementInfoPart()
290 EXPECT_EQ(beforeInfo.GetGridItemInfo().rowIndex, in CheckTransformElementInfoResultPart()
291 afterInfo.GetGridItemInfo().rowIndex); in CheckTransformElementInfoResultPart()
H A Djs_third_provider_interaction_operation_utils_test.cpp147 auto rowIndex = ++index; in BuildAccessibilityElementInfoPart() local
152 (heading, columnIndex, rowIndex, columnSpan, rowSpan, selected); in BuildAccessibilityElementInfoPart()
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_element_info.h205 * @param rowIndex The index of row.
214 GridItemInfo(int32_t rowIndex, int32_t rowSpan, int32_t columnIndex, int32_t columnSpan,
227 * @param rowIndex The index of row.
236 void SetGridItemInfo(int32_t rowIndex, int32_t rowSpan, int32_t columnIndex, int32_t columnSpan,
/foundation/arkui/ace_engine/interfaces/native/
H A Dnative_interface_accessibility.h213 int32_t rowIndex; member
/foundation/barrierfree/accessibility/interfaces/innerkits/test/fuzztest/accessibleabilityclient_fuzzer/
H A Daccessibleabilityclient_fuzzer.cpp101 int32_t rowIndex = 0; in GenerateGridItemInfo() local
105 position += GetObject<int32_t>(rowIndex, &data[position], size - position); in GenerateGridItemInfo()
110 gridItem.SetGridItemInfo(rowIndex, rowSpan, columnIndex_, columnSpan, heading, selected); in GenerateGridItemInfo()
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
H A Dnapi_accessibility_utils.cpp298 napi_value rowIndex = nullptr; in ConvertGridItemToJS() local
299 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, gridItem.GetRowIndex(), &rowIndex)); in ConvertGridItemToJS()
300 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, result, "rowIndex", rowIndex)); in ConvertGridItemToJS()

Completed in 25 milliseconds

12