Home
last modified time | relevance | path

Searched refs:getSize (Results 1 - 19 of 19) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
H A Dqrcode_modifier.cpp44 if (!qrCode.getFlag() || qrCode.getSize() == 0 || qrCodeSize <= 0 || in onDraw()
45 qrCodeSize < static_cast<float>(qrCode.getSize())) { in onDraw()
55 // 2.Calculate the max block of the QRcode. Ratio = qrCodeSize_ / qrCode.getSize(). in onDraw()
56 // 3.Scale the qrcode ,the scale ratio is qrCodeSize_ / (blockNumber * qrCode.getSize()) in onDraw()
58 int32_t blockCounts = static_cast<int32_t>(qrCodeSize) / qrCode.getSize(); in onDraw()
59 int32_t sizeInPixel = blockCounts * qrCode.getSize(); in onDraw()
83 int32_t blockWidth = width / qrCode.getSize(); in CreateBitMap()
/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Drosen_render_qrcode.cpp31 if (!qrCode.getFlag() || qrCode.getSize() == 0 || width_ <= 0 || width_ < qrCode.getSize()) { in Paint()
35 int32_t blockWidth = width_ / qrCode.getSize(); in Paint()
36 int32_t sizeInPixel = blockWidth * qrCode.getSize(); in Paint()
101 // each block width may smaller the width / qrCode.getSize(), because of precision loss. in ProcessQrcodeData()
112 int32_t blockWidth = width / qrCode.getSize(); in ProcessQrcodeData()
125 // each block width may smaller the width / qrCode.getSize(), because of precision loss. in ProcessQrcodeData()
136 int32_t blockWidth = width / qrCode.getSize(); in ProcessQrcodeData()
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_test_ng.cpp231 GridModelNG GridTestNg::CreateRepeatGrid(int32_t itemNumber, std::function<float(uint32_t)>&& getSize) in CreateRepeatGrid() argument
236 std::function<void(uint32_t)> createFunc = [this, getSize]( in CreateRepeatGrid()
237 uint32_t idx) { CreateGridItem(FILL_VALUE, getSize(idx)); }; in CreateRepeatGrid()
239 [this, getSize](const std::string& value, uint32_t idx) { CreateGridItem(FILL_VALUE, getSize(idx)); }; in CreateRepeatGrid()
H A Dgrid_test_ng.h53 GridModelNG CreateRepeatGrid(int32_t itemNumber, std::function<float(uint32_t)>&& getSize);
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_qrcode.cpp121 if (width_ < qrcode.getSize()) { in SetImageInfo()
151 int32_t qrWidth = qrcode.getSize(); in FillQrCodeColor()
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_test_ng.h49 void CreateItemsInRepeat(int32_t itemNumber, std::function<float(uint32_t)>&& getSize);
H A Dwater_flow_test_ng.cpp128 void WaterFlowTestNg::CreateItemsInRepeat(int32_t itemNumber, std::function<float(uint32_t)>&& getSize) in CreateItemsInRepeat() argument
131 std::function<void(uint32_t)> createFunc = [this, getSize](uint32_t idx) { CreateItemWithHeight(getSize(idx)); }; in CreateItemsInRepeat()
133 [this, getSize](const std::string& value, uint32_t idx) { CreateItemWithHeight(getSize(idx)); }; in CreateItemsInRepeat()
/foundation/distributeddatamgr/relational_store/interfaces/ndk/include/
H A Doh_cursor.h183 int (*getSize)(OH_Cursor *cursor, int32_t columnIndex, size_t *size); member
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/
H A Drdb_cursor_test.cpp330 cursor->getSize(cursor, 0, &size); in HWTEST_F()
343 cursor->getSize(cursor, 3, &size); in HWTEST_F()
351 cursor->getSize(cursor, 0, &size); in HWTEST_F()
400 errCode = cursor->getSize(nullptr, 0, &size); in HWTEST_F()
402 errCode = cursor->getSize(cursor, 0, nullptr); in HWTEST_F()
H A Drdb_store_test.cpp190 cursor->getSize(cursor, 1, &size); in HWTEST_F()
203 cursor->getSize(cursor, 4, &size); in HWTEST_F()
255 cursor->getSize(cursor, 1, &size); in HWTEST_F()
272 cursor->getSize(cursor, 5, &size); in HWTEST_F()
600 cursor->getSize(cursor, 1, &size); in HWTEST_F()
613 cursor->getSize(cursor, 4, &size); in HWTEST_F()
H A Drdb_predicates_test.cpp200 cursor->getSize(cursor, 1, &size); in HWTEST_F()
217 cursor->getSize(cursor, 5, &size); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_query_sync_test.cpp519 uint64_t getSize = 0; in HWTEST_F() local
525 getSize += entries.size(); in HWTEST_F()
530 getSize += entries.size(); in HWTEST_F()
534 EXPECT_EQ(getSize, totalSize); in HWTEST_F()
567 uint64_t getSize = 0; in HWTEST_F() local
573 getSize += entries.size(); in HWTEST_F()
578 getSize += entries.size(); in HWTEST_F()
582 EXPECT_EQ(getSize, totalSize / 2); in HWTEST_F()
/foundation/multimedia/media_foundation/tests/unittest/format/
H A Davformat_unit_test.cpp126 size_t getSize; in HWTEST_F() local
127 EXPECT_TRUE(format_->GetBuffer(key, &getBuffer, getSize)); in HWTEST_F()
128 EXPECT_TRUE(getSize == size); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_font.cpp177 return skFont_.getSize(); in GetSize()
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Drelational_cursor.cpp191 getSize = GetSize; in RelationalCursor()
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dinput_manager_pointer_test.cpp1640 int32_t getSize = 3; in HWTEST_F() local
1641 ASSERT_TRUE(InputManager::GetInstance()->GetPointerSize(getSize) == RET_OK); in HWTEST_F()
1642 ASSERT_TRUE(setSize == getSize); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/
H A Dcjui_api.h422 void (*getSize)(ArkUINodeHandle node, ArkUI_Float32 (*values)[2], ArkUI_Int32 unit); member
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h1925 void (*getSize)(ArkUINodeHandle node, ArkUI_Float32 (*values)[2], ArkUI_Int32 unit); member
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp3601 fullImpl->getNodeModifiers()->getCommonModifier()->getSize( in GetSize()

Completed in 75 milliseconds