Lines Matching refs:width
68 void UIQrcode::SetWidth(int16_t width)
70 if (GetWidth() != width) {
71 UIView::SetWidth(width);
118 int16_t width = GetWidth();
120 width_ = (width >= height) ? height : width;
122 GRAPHIC_LOGE("UIQrcode::SetImageInfo width is less than the minimum qrcode width!\n");
125 imageInfo_.header.width = width;
128 width = UI_ALIGN_UP(width);
129 imageInfo_.dataSize = width * imageInfo_.header.height * QRCODE_FACTOR_NUM;
156 int16_t width = imageInfo_.header.width;
159 int32_t offsetX = (width - outFilePixelPrescaler * qrWidth) / 2; // 2: half
162 width = UI_ALIGN_UP(width);
164 int64_t oneLinePixel = width * QRCODE_FACTOR_NUM * outFilePixelPrescaler;
165 int64_t oneLineOffsetPixel = (offsetY * width * QRCODE_FACTOR_NUM) + (offsetX * QRCODE_FACTOR_NUM);
185 uint32_t width = imageInfo_.header.width;
186 width = UI_ALIGN_UP(width);
189 for (int16_t col = 1; col < width; ++col) {
197 int32_t deltaWidth = QRCODE_FACTOR_NUM * width;
209 uint32_t width = imageInfo_.header.width;
210 width = UI_ALIGN_UP(width);
213 uint8_t* tempData = destData + width * QRCODE_FACTOR_NUM * x;