Home
last modified time | relevance | path

Searched refs:imageInfo_ (Results 1 – 9 of 9) sorted by relevance

/foundation/graphic/ui/frameworks/components/
Dui_qrcode.cpp27 imageInfo_ = {{0}}; in UIQrcode()
37 if (imageInfo_.data != nullptr) { in ~UIQrcode()
38 ImageCacheFree(imageInfo_); in ~UIQrcode()
39 imageInfo_.data = nullptr; in ~UIQrcode()
96 SetSrc(&imageInfo_); in ReMeasure()
125 imageInfo_.header.width = width; in SetImageInfo()
126 imageInfo_.header.height = height; in SetImageInfo()
127 imageInfo_.header.colorMode = ARGB8888; in SetImageInfo()
128 imageInfo_.dataSize = imageInfo_.header.width * imageInfo_.header.height * QRCODE_FACTOR_NUM; in SetImageInfo()
129 if (imageInfo_.data != nullptr) { in SetImageInfo()
[all …]
Dui_analog_clock.cpp56 hand->imageInfo_ = entry.GetImageInfo(); in SetHandImage()
58 hand->imageInfo_ = *(img.GetImageInfo()); in SetHandImage()
235 int16_t imgWidth = hand.imageInfo_.header.width; in CalculateRedrawArea()
236 int16_t imgHeight = hand.imageInfo_.header.height; in CalculateRedrawArea()
275 if (hand.imageInfo_.data == nullptr) { in DrawHandImage()
278 uint8_t pxSize = DrawUtils::GetPxSizeByColorMode(hand.imageInfo_.header.colorMode); in DrawHandImage()
279 …TransformDataInfo imageTranDataInfo = {hand.imageInfo_.header, hand.imageInfo_.data, pxSize, BlurL… in DrawHandImage()
/foundation/aafwk/standard/services/abilitymgr/test/unittest/phone/info_test/
Dinfo_test.cpp40 ImageInfo imageInfo_ {}; member in OHOS::AAFwk::InfoTest
239 imageInfo_.width = 8;
240 imageInfo_.height = 24;
241 imageInfo_.format = 10;
242 imageInfo_.size = 10;
243 imageInfo_.shmKey = 30;
245 imageInfo_.Marshalling(parcel);
246 ImageInfo *obj = imageInfo_.Unmarshalling(parcel);
251 EXPECT_EQ(obj->width, imageInfo_.width);
252 EXPECT_EQ(obj->height, imageInfo_.height);
[all …]
/foundation/multimedia/image_standard/frameworks/innerkitsimpl/common/src/
Dpixel_map.cpp502 imageInfo_ = info; in SetImageInfo()
663 return rowDataSize_ * imageInfo_.size.height; in GetByteCount()
668 return imageInfo_.size.width; in GetWidth()
673 return imageInfo_.size.height; in GetHeight()
678 return imageInfo_.baseDensity; in GetBaseDensity()
683 imageInfo = imageInfo_; in GetImageInfo()
688 return imageInfo_.pixelFormat; in GetPixelFormat()
693 return imageInfo_.colorSpace; in GetColorSpace()
698 return imageInfo_.alphaType; in GetAlphaType()
732 if (imageInfo_.size.width != other.imageInfo_.size.width || in IsSameImage()
[all …]
/foundation/graphic/ui/frameworks/common/
Dimage.cpp29 Image::Image() : imageInfo_(nullptr), path_(nullptr), srcType_(IMG_SRC_UNKNOWN), mallocFlag_(false)… in Image()
48 if ((srcType_ == IMG_SRC_VARIABLE) && (imageInfo_ != nullptr)) { in GetHeader()
49 header = imageInfo_->header; in GetHeader()
185 imageInfo_ = nullptr; in SetSrc()
188 imageInfo_ = static_cast<ImageInfo*>(UIMalloc(static_cast<uint32_t>(sizeof(ImageInfo)))); in SetSrc()
189 if (imageInfo_ == nullptr) { in SetSrc()
193 …if (memcpy_s(const_cast<ImageInfo*>(imageInfo_), sizeof(ImageInfo), src, sizeof(ImageInfo)) != EOK… in SetSrc()
210 DrawImage::DrawCommon(gfxDstBuffer, coords, mask, imageInfo_, style, opaScale); in DrawImage()
410 if (imageInfo_->data != nullptr) { in ReInitImageInfo()
411 UIFree(reinterpret_cast<void*>(const_cast<uint8_t*>(imageInfo_->data))); in ReInitImageInfo()
[all …]
/foundation/graphic/ui/interfaces/kits/common/
Dimage.h79 return imageInfo_; in GetImageInfo()
143 const ImageInfo* imageInfo_;
/foundation/graphic/ui/interfaces/kits/components/
Dui_analog_clock.h109 imageInfo_{{0, 0, 0}},
155 ImageInfo imageInfo_; variable
Dui_qrcode.h121 ImageInfo imageInfo_; variable
/foundation/multimedia/image_standard/interfaces/innerkits/include/
Dpixel_map.h162 …return (data_ == nullptr) || (x >= imageInfo_.size.width) || (x < 0) || (y >= imageInfo_.size.heig… in CheckValidParam()
163 … (y < 0) || (pixelsSize_ < static_cast<uint64_t>(rowDataSize_) * imageInfo_.size.height) in CheckValidParam()
178 ImageInfo imageInfo_; variable