Searched refs:desiredSize_ (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/ |
H A D | image_decoder.cpp | 44 : obj_(obj), desiredSize_(size), forceResize_(forceResize) in ImageDecoder() 82 auto width = static_cast<int32_t>(std::lround(desiredSize_.Width())); in MakePixmapImage() 83 auto height = static_cast<int32_t>(std::lround(desiredSize_.Height())); in MakePixmapImage() 104 desiredSize_.ToString().c_str(), in MakePixmapImage() 149 CHECK_NULL_RETURN(desiredSize_.IsPositive(), encodedImage); in ResizeDrawingImage() 151 auto width = std::lround(desiredSize_.Width()); in ResizeDrawingImage() 152 auto height = std::lround(desiredSize_.Height()); in ResizeDrawingImage() 195 auto key = ImageUtils::GenerateImageKey(obj_->GetSourceInfo(), desiredSize_); in QueryCompressedCache() 212 int32_t dstWidth = std::lround(desiredSize_.Width()); in QueryCompressedCache() 213 int32_t dstHeight = std::lround(desiredSize_.Height()); in QueryCompressedCache() [all …]
|
H A D | image_decoder.h | 44 const SizeF desiredSize_; variable
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_thumbnail/include/ |
H A D | thumbnail_source_loading.h | 165 SourceLoader(Size &desiredSize, ThumbnailData &data) : data_(data), desiredSize_(desiredSize) in SourceLoader() 190 Size &desiredSize_; variable
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | thumbnail_source_loading.cpp | 266 return ThumbnailUtils::LoadVideoFile(data_, desiredSize_); in CreateVideoFramePixelMap() 357 Size targetSize = ConvertDecodeSize(data_, imageInfo.size, desiredSize_); in CreateImagePixelMap()
|