/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_label.cpp | 285 rectLetter.Resize(node.cols, node.rows); in DrawLetterWithRotate() 291 TransformDataInfo letterTranDataInfo = {ImageHeader{colorMode, 0, 0, 0, node.cols, node.rows}, fontMap, fontWeight, in DrawLetterWithRotate() 358 const uint16_t cols, const int16_t offsetX, uint16_t& begin, in OnCalculatedClockwise() 366 if (offsetX >= cols) { in OnCalculatedClockwise() 369 copyCols = cols - offsetX; in OnCalculatedClockwise() 371 if (offsetX >= cols) { in OnCalculatedClockwise() 375 begin = (cols - offsetX) * sizePerPx; in OnCalculatedClockwise() 379 if (offsetX >= cols) { in OnCalculatedClockwise() 382 copyCols = cols - offsetX; in OnCalculatedClockwise() 385 if (offsetX >= cols) { in OnCalculatedClockwise() 357 OnCalculatedClockwise(const ArcLetterInfo& letterInfo, const uint16_t sizePerPx, const uint16_t cols, const int16_t offsetX, uint16_t& begin, uint16_t& copyCols, TextInRange& range) OnCalculatedClockwise() argument 393 OnCalculatedAnticlockwise(const ArcLetterInfo& letterInfo, const uint16_t sizePerPx, const uint16_t cols, const int16_t offsetX, uint16_t& begin, uint16_t& copyCols, TextInRange& range) OnCalculatedAnticlockwise() argument 429 CalculatedBeginAndCopySize(const ArcLetterInfo& letterInfo, const uint16_t sizePerPx, const uint16_t cols, const int16_t offsetX, uint16_t& begin, uint16_t& copyCols, TextInRange& range) CalculatedBeginAndCopySize() argument 456 uint16_t cols = letterTranDataInfo.header.width; CalculatedTransformDataInfo() local [all...] |
H A D | draw_label.h | 72 const uint16_t cols, const int16_t offsetX, uint16_t& begin, uint16_t& copyCols, TextInRange& range); 75 const uint16_t cols, const int16_t offsetX, uint16_t& begin, uint16_t& copyCols, TextInRange& range); 78 const uint16_t cols, const int16_t offsetX, uint16_t& begin, uint16_t& copyCols, TextInRange& range);
|
H A D | draw_utils.cpp | 186 uint16_t letterW = node.cols; in DrawColorLetter() 233 uint16_t letterW = node.cols; in DrawNormalLetter()
|
/foundation/distributeddatamgr/relational_store/test/native/appdatafwk/unittest/ |
H A D | serializable_test.cpp | 34 std::vector<std::string> cols{ "123", "345", "789" }; 44 SetValue(node[GET_NAME(cols)], cols); 55 GetValue(node, GET_NAME(cols), cols); 62 isClear == ref.isClear && cols == ref.cols; in operator ==() 129 normal.cols = { "adfasdfas" }; in HWTEST_F()
|
/foundation/arkui/ui_lite/interfaces/kits/layout/ |
H A D | grid_layout.h | 76 * @param cols Indicates the number of columns to set. 80 void SetCols(const uint16_t& cols) in SetCols() argument 82 cols_ = cols; in SetCols()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/unittest/ |
H A D | heif_hw_decoder_test.cpp | 63 .cols = 0, in HWTEST_F() 82 .cols = 0, in HWTEST_F() 102 .cols = 0, in HWTEST_F() 123 .cols = 1, in HWTEST_F() 144 .cols = 1, in HWTEST_F() 165 .cols = 1, in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | serializable_test.cpp | 33 std::vector<std::string> cols{ "123", "345", "789" }; 43 SetValue(node[GET_NAME(cols)], cols); 54 GetValue(node, GET_NAME(cols), cols); 61 && isClear == ref.isClear && cols == ref.cols; in operator ==() 130 normal.cols = {"adfasdfas"}; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid_layout/ |
H A D | grid_row_component.h | 46 void SetTotalCol(const RefPtr<ColumnInfo>& cols) in SetTotalCol() argument 48 totalCol_ = cols; in SetTotalCol()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/ |
H A D | grid_info.h | 27 uint32_t cols = 0; member
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/ |
H A D | heif_hw_decoder.cpp | 35 IF_TRUE_RETURN_VAL_WITH_MSG((cols == 0 || rows == 0), false, in IsValid() 36 "invalid gridSize: [%{public}ux%{public}u]", cols, rows); in IsValid() 40 IF_TRUE_RETURN_VAL_WITH_MSG(expCols != cols, false, in IsValid() 41 "invalid cols, expect %{public}u, get %{public}u", expCols, cols); in IsValid() 248 gridInfo.tileWidth, gridInfo.tileHeight, gridInfo.cols, gridInfo.rows); in DumpSingleInput() 294 uint32_t expectBufferWidth = gridInfo.enableGrid ? (gridInfo.tileWidth * gridInfo.cols) : gridInfo.displayWidth; in CheckOutputBuffer() 323 "cols=%{public}u, rows=%{public}u, tileWidth=%{public}u, tileHeight=%{public}u", 324 gridInfo.displayWidth, gridInfo.displayHeight, gridInfo.enableGrid, gridInfo.cols, gridInfo.rows, 419 gridInfo_.tileWidth, gridInfo_.tileHeight, gridInfo_.cols, gridInfo in DumpOutput() [all...] |
/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_vector.cpp | 631 node->node.cols = metric->cols; in SaveGlyphNode() 658 glyphNode.cols = f->cols; in GetGlyphNode() 697 glyphNode.cols = f->cols; in GetBitmap() 808 glyphNode.cols = faceInfo.face->glyph->bitmap.width; in LoadGlyphIntoFace() 883 f->cols = faceInfo.face->glyph->bitmap.width; in SetFace() 902 glyphNode.cols = f->cols; in SetFace() [all...] |
H A D | ui_font_allocator.cpp | 186 BufferInfo bufInfo{Rect(), 0, nullptr, nullptr, glyphNode.cols, glyphNode.rows, mode, 0}; in GetCacheBuffer()
|
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | render_grid_layout.cpp | 372 std::vector<std::string> rows, cols; 375 StringUtils::StringSplitter(colsArgs_, ' ', cols); 376 colCount_ = cols.size() == 0 ? 1 : static_cast<int32_t>(cols.size()); 496 std::vector<double> cols = ParseArgs(GetColumnsTemplate(), colSize_, colGap_); 500 if (cols.empty()) { 501 cols.push_back(colSize_); 511 colSize_ = std::accumulate(cols.begin(), cols.end(), (cols [all...] |
H A D | render_grid_layout.h | 377 void CalculateVerticalSize(std::vector<double>& cols, std::vector<double>& rows, int32_t dragLeaveOrEnter); 378 void CalculateHorizontalSize(std::vector<double>& cols, std::vector<double>& rows, int32_t dragLeaveOrEnter); 379 void UpdateCollectionInfo(std::vector<double> cols, std::vector<double> rows);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/ |
H A D | grid_layout_algorithm.cpp | 68 auto cols = ParseTemplateArgs(GridUtils::ParseArgs(layoutProperty->GetColumnsTemplate().value_or("")), in InitGridCeils() local 71 auto colsLen = cols.first; in InitGridCeils() 80 columnsGap_ = cols.second; in InitGridCeils()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/common/ |
H A D | mock_heif_hw_decode_flow.cpp | 70 gridInfo.cols = 0; in ParseGridInfo() 89 gridInfo.cols = static_cast<uint32_t>(stol(vecTmp[HORIZONTAL].c_str())); in ParseGridInfo()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/ |
H A D | grid_attr_test_ng.cpp | 229 * @tc.expected: Axis is VERTICAL, has four cols, has gap in HWTEST_F() 312 int32_t cols = floor(GRID_WIDTH / minItemWidth); // 5 in HWTEST_F() local 313 EXPECT_EQ(pattern_->GetCrossCount(), cols); in HWTEST_F() 314 float expectItemWidth = GRID_WIDTH / cols; // 96.f in HWTEST_F() 334 int32_t cols = floor(GRID_WIDTH / itemWidth); // 5 in HWTEST_F() local 335 EXPECT_EQ(pattern_->GetCrossCount(), cols); in HWTEST_F() 526 * @tc.expected: Axis is VERTICAL, has three cols, has gap in HWTEST_F() 554 * @tc.expected: Has minCount cols, gridItem from right to left in HWTEST_F()
|
/foundation/arkui/ui_lite/interfaces/kits/font/ |
H A D | ui_font_header.h | 287 uint16_t cols; // GLYPH_COLS_OFFSET member 420 int cols; member
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/ |
H A D | HeifDecoderImpl.cpp | 448 gridInfo.cols = static_cast<size_t>(ceil((double)gridInfo.displayWidth / (double)gridInfo.tileWidth)); in GetRowColNum() 620 hwDecoder->AllocateOutputBuffer(gridInfo.tileWidth * gridInfo.cols, in HwDecodeImage() 703 hwBuffer->GetFormat(), gridInfo.cols, gridInfo.rows, in HwDecodeGrids() 749 hwBuffer->GetFormat(), gridInfo.cols, gridInfo.rows, in HwDecodeSingleImage()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/ |
H A D | render_grid_scroll.h | 178 void BuildGrid(std::vector<double>& rows, std::vector<double>& cols);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_pattern.cpp | 46 std::vector<std::string> cols; in CreateLayoutAlgorithm() local 47 StringUtils::StringSplitter(gridLayoutProperty->GetColumnsTemplate().value_or(""), ' ', cols); in CreateLayoutAlgorithm() 50 auto crossCount = cols.empty() ? Infinity<int32_t>() : static_cast<int32_t>(cols.size()); in CreateLayoutAlgorithm() 60 if (!rows.empty() && !cols.empty()) { in CreateLayoutAlgorithm() 65 if (rows.empty() && cols.empty()) { in CreateLayoutAlgorithm()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 313 sptr<SurfaceBuffer> hwBuffer = decoder.AllocateOutputBuffer(gridInfo.tileWidth * gridInfo.cols,
in HeapMemAlloc()
|