/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_modifier.cpp | 94 int32_t blockWidth = width / qrCode.getSize(); in CreateBitMap() local 99 if (qrCode.getModule(i / blockWidth, j / blockWidth)) { in CreateBitMap() 111 if (!qrCode.getModule(i / blockWidth, j / blockWidth)) { in CreateBitMap()
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/gridobjectsortcomponent/source/ |
H A D | GridObjectSortComponent.ets | 120 @State blockWidth: number = 0; 285 this.textItemEditWidth = this.gridComState ? this.blockWidth - 24 : this.blockWidth - 16; 424 return blockWidth; 496 x = x - this.blockWidth; 507 x = x + this.blockWidth; 552 xNew = index % this.colNum === 0 ? this.blockWidth * (this.colNum - 1) : -this.blockWidth; 605 xNew = lastCol ? this.blockWidth * (this.colNum - 1) : -this.blockWidth; 616 let x: number = this.blockWidth; 759 .width(this.blockWidth * 1.2) 812 x: this.blockWidth - 40, [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/gridobjectsortcomponent/interfaces/ |
H A D | gridobjectsortcomponent.js | 198 this.blockWidth = s16.blockWidth; 525 get blockWidth() { 528 set blockWidth(d16) { 830 this.textItemEditWidth = this.gridComState ? this.blockWidth - 24 : this.blockWidth - 16; 1070 l11 = k11 % this.colNum === 0 ? this.blockWidth * (this.colNum - 1) : -this.blockWidth; 1119 u10 = w10 ? this.blockWidth * (this.colNum - 1) : -this.blockWidth; 1128 let q10 = this.blockWidth; 1399 x: this.blockWidth - 40, 1446 x: this.blockWidth - 40, 1539 x: this.blockWidth - 52, [all …]
|
/ohos5.0/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 &blo… 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()
|
/ohos5.0/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
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_utils.cpp | 823 uint32_t blockWidth = 0; in GetAstcBytesCount() local 828 blockWidth = ASTC_4X4_BLOCK; in GetAstcBytesCount() 832 blockWidth = ASTC_6X6_BLOCK; in GetAstcBytesCount() 836 blockWidth = ASTC_8X8_BLOCK; in GetAstcBytesCount() 844 if ((blockWidth >= ASTC_4X4_BLOCK) && (blockHeight >= ASTC_4X4_BLOCK)) { in GetAstcBytesCount() 845 astcBytesCount = ((imageInfo.size.width + blockWidth - 1) / blockWidth) * in GetAstcBytesCount()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/ |
H A D | avcodec_info_coverage_unit_test.cpp | 309 constexpr int32_t blockWidth = 0; variable 312 videoCaps_->UpdateBlockParams(blockWidth, blockHeight, range, range); 323 constexpr int32_t blockWidth = 1; variable 326 videoCaps_->UpdateBlockParams(blockWidth, blockHeight, range, range);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_layout_algorithm.cpp | 123 auto blockWidth = direction == Axis::HORIZONTAL ? blockSize_.Height() : blockSize_.Width(); in CalculateSliderWidth() local 129 …sliderWidth = std::max(sliderWidth, blockWidth + static_cast<float>(hotBlockShadowWidth.ConvertToP… in CalculateSliderWidth()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_slider_modifier.cpp | 109 Dimension blockWidth = Dimension(static_cast<double>(widthVal), in SetBlockSize() local 114 if (LessNotEqual(blockWidth.Value(), 0.0)) { in SetBlockSize() 115 blockWidth.SetValue(0.0); in SetBlockSize() 120 SliderModelNG::SetBlockSize(frameNode, blockWidth, blockHeight); in SetBlockSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_slider_bridge.cpp | 128 CalcDimension blockWidth; in SetBlockSize() local 130 bool hasBlockWidth = ArkTSUtils::ParseJsDimensionVp(vm, secondArg, blockWidth); in SetBlockSize() 138 blockWidth.Value(), static_cast<int>(blockWidth.Unit()), in SetBlockSize()
|
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | avcodec_info.h | 486 …void UpdateBlockParams(const int32_t &blockWidth, const int32_t &blockHeight, Range &blockPerFrame…
|