/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_modifier.cpp | 44 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 D | rosen_render_qrcode.cpp | 31 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 D | grid_test_ng.cpp | 231 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 D | grid_test_ng.h | 53 GridModelNG CreateRepeatGrid(int32_t itemNumber, std::function<float(uint32_t)>&& getSize);
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_qrcode.cpp | 121 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 D | water_flow_test_ng.h | 49 void CreateItemsInRepeat(int32_t itemNumber, std::function<float(uint32_t)>&& getSize);
|
H A D | water_flow_test_ng.cpp | 128 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 D | oh_cursor.h | 183 int (*getSize)(OH_Cursor *cursor, int32_t columnIndex, size_t *size); member
|
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_cursor_test.cpp | 330 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 D | rdb_store_test.cpp | 190 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 D | rdb_predicates_test.cpp | 200 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 D | distributeddb_storage_query_sync_test.cpp | 519 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 D | avformat_unit_test.cpp | 126 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 D | skia_font.cpp | 177 return skFont_.getSize(); in GetSize()
|
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_cursor.cpp | 191 getSize = GetSize; in RelationalCursor()
|
/foundation/multimodalinput/input/frameworks/proxy/events/test/ |
H A D | input_manager_pointer_test.cpp | 1640 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 D | cjui_api.h | 422 void (*getSize)(ArkUINodeHandle node, ArkUI_Float32 (*values)[2], ArkUI_Int32 unit);
member
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 1925 void (*getSize)(ArkUINodeHandle node, ArkUI_Float32 (*values)[2], ArkUI_Int32 unit); member
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | style_modifier.cpp | 3601 fullImpl->getNodeModifiers()->getCommonModifier()->getSize( in GetSize()
|