/foundation/arkui/ace_engine/frameworks/core/components/qrcode/ |
H A D | rosen_render_qrcode.cpp | 35 int32_t blockWidth = width_ / qrCode.getSize(); in Paint() local 36 int32_t sizeInPixel = blockWidth * qrCode.getSize(); in Paint() 112 int32_t blockWidth = width / qrCode.getSize(); in ProcessQrcodeData() local 115 data[i * width + j] = qrCode.getModule(i / blockWidth, j / blockWidth) in ProcessQrcodeData() 136 int32_t blockWidth = width / qrCode.getSize(); in ProcessQrcodeData() local 139 data[i * width + j] = qrCode.getModule(i / blockWidth, j / blockWidth) in ProcessQrcodeData()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_modifier.cpp | 83 int32_t blockWidth = width / qrCode.getSize(); in CreateBitMap() local 88 if (qrCode.getModule(i / blockWidth, j / blockWidth)) { in CreateBitMap() 100 if (!qrCode.getModule(i / blockWidth, j / blockWidth)) { in CreateBitMap()
|
/foundation/arkui/ace_engine/advanced_ui_component/gridobjectsortcomponent/interfaces/ |
H A D | gridobjectsortcomponent.js | 92 this.__blockWidth = new ObservedPropertySimplePU(0, this, "blockWidth"); 197 if (s16.blockWidth !== undefined) { 198 this.blockWidth = s16.blockWidth; 525 get blockWidth() { 528 set blockWidth(d16) { 830 this.textItemEditWidth = this.gridComState ? this.blockWidth - 24 : this.blockWidth - 16; 906 if (!this.gridComState || (j13.x < this.blockWidth / 3 && j13.y < this.blockHeight / 3)) { 1013 a12 = a12 + this.blockWidth * (c1 [all...] |
/foundation/multimedia/player_framework/frameworks/native/avcodeclist/ |
H A D | avcodec_info.cpp | 210 void VideoCaps::UpdateBlockParams(const int32_t &blockWidth, const int32_t &blockHeight,
in UpdateBlockParams() argument 214 if (blockWidth > blockWidth_ && blockHeight > blockHeight_) {
in UpdateBlockParams() 216 factor = blockWidth * blockHeight / blockWidth_ / blockHeight_;
in UpdateBlockParams() 218 horizontalBlockRange_ = DivRange(horizontalBlockRange_, blockWidth / blockWidth_);
in UpdateBlockParams() 220 } else if (blockWidth < blockWidth_ && blockHeight < blockHeight_) {
in UpdateBlockParams() 221 CHECK_AND_RETURN(blockWidth != 0 && blockHeight != 0);
in UpdateBlockParams() 222 factor = blockWidth_ * blockHeight_ / blockWidth / blockHeight;
in UpdateBlockParams() 227 blockWidth_ = std::max(blockWidth_, blockWidth);
in UpdateBlockParams()
|
/foundation/multimedia/av_codec/frameworks/native/avcodeclist/ |
H A D | avcodec_info.cpp | 315 void VideoCaps::UpdateBlockParams(const int32_t &blockWidth, const int32_t &blockHeight, Range &blockPerFrameRange, in UpdateBlockParams() argument 319 if (blockWidth > blockWidth_ && blockHeight > blockHeight_) { in UpdateBlockParams() 323 factor = blockWidth * blockHeight / blockWidth_ / blockHeight_; in UpdateBlockParams() 326 horizontalBlockRange_ = DivRange(horizontalBlockRange_, blockWidth / blockWidth_); in UpdateBlockParams() 328 } else if (blockWidth < blockWidth_ && blockHeight < blockHeight_) { in UpdateBlockParams() 329 if (blockWidth == 0 || blockHeight == 0) { in UpdateBlockParams() 332 factor = blockWidth_ * blockHeight_ / blockWidth / blockHeight; in UpdateBlockParams() 337 blockWidth_ = std::max(blockWidth_, blockWidth); in UpdateBlockParams()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/ |
H A D | image_loader_ktx.cpp | 214 const auto blockWidth = formatInfo.blockWidth; in ProcessMipmapLevel() local 216 const auto widthBlockCount = (elementWidth + (blockWidth - 1)) / blockWidth; in ProcessMipmapLevel() 218 image->imageBuffers_[imageBufferIndex].bufferRowLength = widthBlockCount * blockWidth; in ProcessMipmapLevel() 311 desc.blockPixelWidth = formatInfo.blockWidth; in ResolveImageDesc()
|
H A D | gl_util.h | 301 uint8_t blockWidth; member
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_utils.cpp | 891 uint32_t blockWidth = 0; in GetAstcBytesCount() local 896 blockWidth = ASTC_4X4_BLOCK; in GetAstcBytesCount() 900 blockWidth = ASTC_6X6_BLOCK; in GetAstcBytesCount() 904 blockWidth = ASTC_8X8_BLOCK; in GetAstcBytesCount() 912 if ((blockWidth >= ASTC_4X4_BLOCK) && (blockHeight >= ASTC_4X4_BLOCK)) { in GetAstcBytesCount() 913 astcBytesCount = ((imageInfo.size.width + blockWidth - 1) / blockWidth) * in GetAstcBytesCount()
|
/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/ |
H A D | avcodec_info_coverage_unit_test.cpp | 305 * @tc.desc: blockWidth equals zero 309 constexpr int32_t blockWidth = 0; in HWTEST_F() local 312 videoCaps_->UpdateBlockParams(blockWidth, blockHeight, range, range); in HWTEST_F() 323 constexpr int32_t blockWidth = 1; in HWTEST_F() local 326 videoCaps_->UpdateBlockParams(blockWidth, blockHeight, range, range); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_slider_modifier.cpp | 105 Dimension blockWidth = Dimension(static_cast<double>(widthVal), in SetBlockSize() local 110 if (LessNotEqual(blockWidth.Value(), 0.0)) { in SetBlockSize() 111 blockWidth.SetValue(0.0); in SetBlockSize() 116 SliderModelNG::SetBlockSize(frameNode, blockWidth, blockHeight); in SetBlockSize()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_layout_algorithm.cpp | 120 auto blockWidth = direction == Axis::HORIZONTAL ? blockSize_.Height() : blockSize_.Width(); in CalculateSliderWidth() local 126 sliderWidth = std::max(sliderWidth, blockWidth + static_cast<float>(hotBlockShadowWidth.ConvertToPx()) / HALF); in CalculateSliderWidth()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_slider_bridge.cpp | 131 CalcDimension blockWidth;
in SetBlockSize() local 133 bool hasBlockWidth = ArkTSUtils::ParseJsDimensionVp(vm, secondArg, blockWidth);
in SetBlockSize() 141 blockWidth.Value(), static_cast<int>(blockWidth.Unit()),
in SetBlockSize()
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | avcodec_info.h | 485 void UpdateBlockParams(const int32_t &blockWidth, const int32_t &blockHeight, Range &blockPerFrameRange,
|