Home
last modified time | relevance | path

Searched refs:imageSize (Results 1 - 25 of 139) sorted by relevance

123456

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Djpg_yuv_test.cpp77 void YuvWriteToFile(std::string outpath, ImageSize &imageSize, std::string outname, uint8_t *data, uint32_t &size);
78 void YuvCrop(std::string srcjpg, PixelFormat outfmt, std::string outname, ImageSize &imageSize);
79 void YuvP010Crop(PixelFormat outfmt, std::string outname, ImageSize &imageSize);
80 void YuvRotate(std::string srcjpg, PixelFormat outfmt, std::string outname, ImageSize &imageSize, float degrees);
81 void YuvP010Rotate(PixelFormat outfmt, std::string outname, ImageSize &imageSize, float degrees);
82 void YuvWriteConvert(std::string srcjpg, PixelFormat outfmt, std::string outname, ImageSize &imageSize);
84 ImageSize &imageSize, AntiAliasingOption option);
85 void ScaleYuv420P010(PixelFormat outfmt, std::string &outname, ImageSize &imageSize, AntiAliasingOption option);
86 void ResizeYuv420(std::string &srcjpg, PixelFormat outfmt, std::string &outname, ImageSize &imageSize);
87 void ResizeYuv420P010(PixelFormat outfmt, std::string &outname, ImageSize &imageSize);
214 YuvWriteToFile(std::string outpath, ImageSize &imageSize, std::string outname, uint8_t *data, uint32_t &size) YuvWriteToFile() argument
234 YuvRotate(std::string srcjpg, PixelFormat outfmt, std::string outname, ImageSize &imageSize, float degrees) YuvRotate() argument
268 YuvCrop(std::string srcjpg, PixelFormat outfmt, std::string outname, ImageSize &imageSize) YuvCrop() argument
303 YuvWriteConvert(std::string srcjpg, PixelFormat outfmt, std::string outname, ImageSize &imageSize) YuvWriteConvert() argument
348 ScaleYuv420(std::string &srcjpg, PixelFormat outfmt, std::string &outname, ImageSize &imageSize, AntiAliasingOption option) ScaleYuv420() argument
381 ResizeYuv420(std::string &srcjpg, PixelFormat outfmt, std::string &outname, ImageSize &imageSize) ResizeYuv420() argument
427 FlipYuv420(std::string &srcjpg, PixelFormat outfmt, std::string &outname, ImageSize &imageSize, size_t i) FlipYuv420() argument
463 TranslateYuv420(std::string &srcjpg, PixelFormat outfmt, std::string &outname, ImageSize &imageSize, Coordinate &coordinate) TranslateYuv420() argument
496 ReadYuv420(std::string &srcjpg, PixelFormat outfmt, std::string &outname, Position &pos, ImageSize &imageSize) ReadYuv420() argument
529 WriteYuv420(std::string &srcjpg, PixelFormat outfmt, std::string &outname, Position &pos, ImageSize &imageSize) WriteYuv420() argument
564 WritesYuv420(std::string &srcjpg, PixelFormat outfmt, std::string &outname, ImageSize &imageSize) WritesYuv420() argument
620 YuvP010Crop(PixelFormat outfmt, std::string outname, ImageSize &imageSize) YuvP010Crop() argument
662 YuvP010Rotate(PixelFormat outfmt, std::string outname, ImageSize &imageSize, float degrees) YuvP010Rotate() argument
701 ScaleYuv420P010(PixelFormat outfmt, std::string &outname, ImageSize &imageSize, AntiAliasingOption option) ScaleYuv420P010() argument
741 ResizeYuv420P010(PixelFormat outfmt, std::string &outname, ImageSize &imageSize) ResizeYuv420P010() argument
779 FlipYuv420P010(PixelFormat outfmt, std::string &outname, ImageSize &imageSize, size_t i) FlipYuv420P010() argument
821 TranslateYuv420P010(PixelFormat outfmt, std::string &outname, ImageSize &imageSize, Coordinate &coordinate) TranslateYuv420P010() argument
861 RGBA1010102Crop(PixelFormat outfmt, std::string outname, ImageSize &imageSize) RGBA1010102Crop() argument
901 RGBA1010102Rotate(PixelFormat outfmt, std::string outname, ImageSize &imageSize, float degrees) RGBA1010102Rotate() argument
938 RGBA1010102Scale(PixelFormat outfmt, std::string &outname, ImageSize &imageSize, AntiAliasingOption option) RGBA1010102Scale() argument
977 RGBA1010102Resize(PixelFormat outfmt, std::string &outname, ImageSize &imageSize) RGBA1010102Resize() argument
1014 RGBA1010102Flip(PixelFormat outfmt, std::string &outname, ImageSize &imageSize, size_t i) RGBA1010102Flip() argument
1055 RGBA1010102Translate(PixelFormat outfmt, std::string &outname, ImageSize &imageSize, Coordinate &coordinate) RGBA1010102Translate() argument
1322 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1338 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1354 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1392 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, NUM_2, NUM_2, 0, 0}; HWTEST_F() local
1412 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, NUM_2, NUM_2, 0, 0}; HWTEST_F() local
1449 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1457 ApplyColorSpaceYuv420(std::string &srcjpg, PixelFormat outfmt, std::string &outname, ImageSize &imageSize, const OHOS::ColorManager::ColorSpace &grColorSpace) ApplyColorSpaceYuv420() argument
1526 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1547 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1570 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1592 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1611 ImageSize imageSize = {ODDTREE_ORIGINAL_WIDTH, ODDTREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1624 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1642 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1680 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, NUM_2, NUM_2, 0, 0}; HWTEST_F() local
1700 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, NUM_2, NUM_2, 0, 0}; HWTEST_F() local
1737 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1757 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1772 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1789 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1827 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, NUM_2, NUM_2, 0, 0}; HWTEST_F() local
1846 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, NUM_2, NUM_2, 0, 0}; HWTEST_F() local
1883 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
1903 ImageSize imageSize = {P101TREE_ORIGINAL_WIDTH, P101TREE_ORIGINAL_HEIGHT, 0, 0, 0, 0}; HWTEST_F() local
[all...]
H A Dpixel_yuv_ext_utils_test.cpp118 info.imageSize.width = 0; in HWTEST_F()
119 info.imageSize.height = 0; in HWTEST_F()
197 info.imageSize.width = 0; in HWTEST_F()
198 info.imageSize.height = 0; in HWTEST_F()
220 info.imageSize.width = NUM_2; in HWTEST_F()
221 info.imageSize.height = NUM_2; in HWTEST_F()
248 info.imageSize.width = NUM_2; in HWTEST_F()
249 info.imageSize.height = NUM_2; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_object_animated.cpp29 const Size& imageSize, in AnimatedImageObject()
32 : ImageObject(source, imageSize, frameCount), skData_(data) in AnimatedImageObject()
37 const Size& imageSize, in AnimatedImageObject()
40 : ImageObject(source, imageSize, frameCount), drawingData_(data) in AnimatedImageObject()
50 const Size& imageSize,
101 const Size& imageSize, in UploadToGpuForRender()
117 dstWidth = static_cast<int32_t>(imageSize.Width() + SizeOffset); in UploadToGpuForRender()
118 dstHeight = static_cast<int32_t>(imageSize.Height() + SizeOffset); in UploadToGpuForRender()
128 } else if (animatedPlayer_ && forceResize && imageSize.IsValid()) { in UploadToGpuForRender()
129 LOGI("animated player has been constructed, forceResize: %{private}s", imageSize in UploadToGpuForRender()
27 AnimatedImageObject( ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkData>& data) AnimatedImageObject() argument
35 AnimatedImageObject( ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const std::shared_ptr<RSData>& data) AnimatedImageObject() argument
97 UploadToGpuForRender( const WeakPtr<PipelineBase>& context, const UploadSuccessCallback& successCallback, const FailedCallback& failedCallback, const Size& imageSize, bool forceResize, bool syncMode) UploadToGpuForRender() argument
145 CreateAnimatedImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkData>& data) UploadToGpuForRender() argument
[all...]
H A Dimage_object.cpp95 Size imageSize = apngDecoder->GetImageSize(); in BuildImageObject() local
98 return MakeRefPtr<ApngImageObject>(source, imageSize, frameCount, skData, apngDecoder); in BuildImageObject()
100 return MakeRefPtr<ApngImageObject>(source, imageSize, frameCount, data, apngDecoder); in BuildImageObject()
117 Size imageSize; in BuildImageObject() local
125 imageSize.SetSize(Size(codec->dimensions().fHeight, codec->dimensions().fWidth)); in BuildImageObject()
128 imageSize.SetSize(Size(codec->dimensions().fWidth, codec->dimensions().fHeight)); in BuildImageObject()
133 return MakeRefPtr<StaticImageObject>(source, imageSize, totalFrames, skData); in BuildImageObject()
135 return CreateAnimatedImageObject(source, imageSize, totalFrames, skData); in BuildImageObject()
139 return MakeRefPtr<StaticImageObject>(source, imageSize, totalFrames, rsData); in BuildImageObject()
141 return CreateAnimatedImageObject(source, imageSize, totalFrame in BuildImageObject()
168 UploadToGpuForRender(const WeakPtr<PipelineBase>& context, const UploadSuccessCallback& successCallback, const FailedCallback& failedCallback, const Size& imageSize, bool forceResize, bool syncMode) global() argument
[all...]
H A Dimage_object.h44 ImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, bool isSvg = false) in ImageObject() argument
45 : imageSource_(source), imageSize_(imageSize), frameCount_(frameCount), isSvg_(isSvg) in ImageObject()
92 const UploadSuccessCallback& successCallback, const FailedCallback& failedCallback, const Size& imageSize, in UploadToGpuForRender()
129 ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkSVGDOM>& skiaDom) in SvgSkiaImageObject()
130 : ImageObject(source, imageSize, frameCount, true), skiaDom_(skiaDom) in SvgSkiaImageObject()
156 SvgImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const RefPtr<SvgDom>& svgDom) in SvgImageObject() argument
157 : ImageObject(source, imageSize, frameCount, true), svgDom_(svgDom) in SvgImageObject()
185 StaticImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkData>& data) in StaticImageObject() argument
186 : ImageObject(source, imageSize, frameCount), skData_(data) in StaticImageObject()
190 ImageSourceInfo source, const Size& imageSize, int32_
91 UploadToGpuForRender(const WeakPtr<PipelineBase>& context, const UploadSuccessCallback& successCallback, const FailedCallback& failedCallback, const Size& imageSize, bool forceResize, bool syncMode = false) UploadToGpuForRender() argument
128 SvgSkiaImageObject( ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkSVGDOM>& skiaDom) SvgSkiaImageObject() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/image/apng/
H A Dapng_image_object.cpp24 const Size& imageSize, in UploadToGpuForRender()
34 dstWidth = static_cast<int32_t>(imageSize.Width() + SizeOffset); in UploadToGpuForRender()
35 dstHeight = static_cast<int32_t>(imageSize.Height() + SizeOffset); in UploadToGpuForRender()
46 } else if (animatedPlayer_ && forceResize && imageSize.IsValid()) { in UploadToGpuForRender()
47 LOGI("apng image player has been constructed, forceResize: %{public}s", imageSize.ToString().c_str()); in UploadToGpuForRender()
48 int32_t dstWidth = static_cast<int32_t>(imageSize.Width() + SizeOffset); in UploadToGpuForRender()
49 int32_t dstHeight = static_cast<int32_t>(imageSize.Height() + SizeOffset); in UploadToGpuForRender()
20 UploadToGpuForRender( const WeakPtr<PipelineBase>& context, const UploadSuccessCallback& successCallback, const FailedCallback& failedCallback, const Size& imageSize, bool forceResize, bool syncMode) UploadToGpuForRender() argument
H A Dapng_image_object.h31 const Size& imageSize, in ApngImageObject()
35 : ImageObject(source, imageSize, frameCount), skData_(data) in ApngImageObject()
43 const Size& imageSize,
47 : ImageObject(source, imageSize, frameCount), drawingData_(data)
58 const Size& imageSize,
29 ApngImageObject( ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkData>& data, const RefPtr<PNGImageDecoder>& decoder) ApngImageObject() argument
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/test/
H A Dstorage_stats_test.cpp48 int64_t imageSize = 1004; in HWTEST_F() local
51 StorageStats res(totalSize, audioSize, videoSize, imageSize, fileSize, appSize); in HWTEST_F()
57 EXPECT_EQ(parcel.ReadInt64(), imageSize); in HWTEST_F()
78 int64_t imageSize = 2004; in HWTEST_F() local
85 parcel.WriteInt64(imageSize); in HWTEST_F()
93 EXPECT_EQ(res.image_, imageSize); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/
H A Dskia_image_data.cpp92 SizeF imageSize; in Parse() local
95 imageSize.SetSizeT(SizeF(astcSize.first, astcSize.second)); in Parse()
96 return { imageSize, ASTC_FRAME_COUNT }; in Parse()
106 imageSize.SetSizeT(SizeF(codec->dimensions().fHeight, codec->dimensions().fWidth)); in Parse()
109 imageSize.SetSizeT(SizeF(codec->dimensions().fWidth, codec->dimensions().fHeight)); in Parse()
111 return { imageSize, codec->getFrameCount() }; in Parse()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Doffscreen_canvas_rendering_context_2d_model_ng.cpp134 std::unique_ptr<Ace::ImageData> OffscreenCanvasRenderingContext2DModelNG::GetImageData(const ImageSize& imageSize) in GetImageData() argument
136 return pattern_ ? pattern_->GetImageData(imageSize.left, imageSize.top, imageSize.width, imageSize.height) in GetImageData()
442 RefPtr<Ace::PixelMap> OffscreenCanvasRenderingContext2DModelNG::GetPixelMap(const ImageSize& imageSize) in GetPixelMap() argument
450 options.size.width = static_cast<int32_t>(std::abs(imageSize.width)); in GetPixelMap()
451 options.size.height = static_cast<int32_t>(std::abs(imageSize.height)); in GetPixelMap()
457 imageData->dirtyX = static_cast<int32_t>(imageSize.left); in GetPixelMap()
458 imageData->dirtyY = static_cast<int32_t>(imageSize in GetPixelMap()
468 GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) GetImageDataModel() argument
[all...]
H A Dcanvas_rendering_context_2d_model_ng.cpp229 std::unique_ptr<Ace::ImageData> CanvasRenderingContext2DModelNG::GetImageData(const ImageSize& imageSize) in GetImageData() argument
234 return pattern->GetImageData(imageSize.left, imageSize.top, imageSize.width, imageSize.height); in GetImageData()
586 RefPtr<Ace::PixelMap> CanvasRenderingContext2DModelNG::GetPixelMap(const ImageSize& imageSize) in GetPixelMap() argument
594 options.size.width = static_cast<int32_t>(std::abs(imageSize.width)); in GetPixelMap()
595 options.size.height = static_cast<int32_t>(std::abs(imageSize.height)); in GetPixelMap()
601 imageData->dirtyX = static_cast<int32_t>(imageSize.left); in GetPixelMap()
602 imageData->dirtyY = static_cast<int32_t>(imageSize in GetPixelMap()
612 GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) GetImageDataModel() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/rosen/
H A Ddrawing_image_data.cpp124 SizeF imageSize; in Parse() local
128 imageSize.SetSizeT(SizeF(astcSize.first, astcSize.second)); in Parse()
129 return { imageSize, ASTC_FRAME_COUNT }; in Parse()
152 imageSize.SetSizeT(SizeF(codec->dimensions().fHeight, codec->dimensions().fWidth)); in Parse()
155 imageSize.SetSizeT(SizeF(codec->dimensions().fWidth, codec->dimensions().fHeight)); in Parse()
157 return { imageSize, codec->getFrameCount() }; in Parse()
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_object.h34 ImageObject(const ImageSourceInfo& sourceInfo, const SizeF& imageSize, const RefPtr<ImageData>& data) in ImageObject() argument
35 : src_(sourceInfo), imageSize_(imageSize), data_(data) in ImageObject()
45 void SetImageSize(const SizeF& imageSize);
H A Dimage_object.cpp24 void ImageObject::SetImageSize(const SizeF& imageSize) in SetImageSize() argument
26 imageSize_ = imageSize; in SetImageSize()
H A Dpixel_map_image_object.h29 PixelMapImageObject(const RefPtr<PixelMap>& pixmap, const ImageSourceInfo& src, const SizeF& imageSize) in PixelMapImageObject() argument
30 : ImageObject(src, imageSize, nullptr), pixmap_(pixmap) in PixelMapImageObject()
H A Danimated_image_object.h26 AnimatedImageObject(const ImageSourceInfo& src, const SizeF& imageSize, const RefPtr<ImageData>& data) in AnimatedImageObject() argument
27 : ImageObject(src, imageSize, data) in AnimatedImageObject()
H A Dsvg_image_object.h28 SvgImageObject(const ImageSourceInfo& src, const SizeF& imageSize) : ImageObject(src, imageSize, nullptr) {} in SvgImageObject() argument
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/big_data_statistics/
H A Dgallery_download_file_stat.cpp132 if (index >= stat_.imageSize.size()) { in UpdateDownloadSizeStat()
135 stat_.imageSize[index]++; in UpdateDownloadSizeStat()
189 SumTwoVector(dataOne.imageSize, dataTwo.imageSize); in SumTwoDownloadFileStat()
205 lines.emplace_back(VectorToString(stat_.imageSize)); in OutputToFile()
239 tmpStat.imageSize = vec; in ReadVecFromLocal()
262 std::fill(stat_.imageSize.begin(), stat_.imageSize.end(), 0); in ClearDownloadFileStat()
283 "image_size", stat_.imageSize, in Report()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/
H A Dcanvas_rendering_context_2d_model_impl.cpp131 std::unique_ptr<ImageData> CanvasRenderingContext2DModelImpl::GetImageData(const ImageSize& imageSize) in GetImageData() argument
133 return pattern_ ? pattern_->GetImageData(imageSize.left, imageSize.top, imageSize.width, imageSize.height) in GetImageData()
446 RefPtr<Ace::PixelMap> CanvasRenderingContext2DModelImpl::GetPixelMap(const ImageSize& imageSize) in GetPixelMap() argument
450 std::unique_ptr<ImageData> canvasData = GetImageData(imageSize); in GetPixelMap()
453 uint32_t finalHeight = static_cast<uint32_t>(std::abs(imageSize.height)); in GetPixelMap()
454 uint32_t finalWidth = static_cast<uint32_t>(std::abs(imageSize.width)); in GetPixelMap()
484 void CanvasRenderingContext2DModelImpl::GetImageDataModel(const ImageSize& imageSize, uint8_ argument
[all...]
H A Doffscreen_canvas_rendering_context_2d_model_impl.cpp133 std::unique_ptr<ImageData> OffscreenCanvasRenderingContext2DModelImpl::GetImageData(const ImageSize& imageSize) in GetImageData() argument
135 return pattern_ ? pattern_->GetImageData(imageSize.left, imageSize.top, imageSize.width, imageSize.height) in GetImageData()
446 RefPtr<Ace::PixelMap> OffscreenCanvasRenderingContext2DModelImpl::GetPixelMap(const ImageSize& imageSize) in GetPixelMap() argument
450 std::unique_ptr<ImageData> canvasData = GetImageData(imageSize); in GetPixelMap()
453 uint32_t finalHeight = static_cast<uint32_t>(std::abs(imageSize.height)); in GetPixelMap()
454 uint32_t finalWidth = static_cast<uint32_t>(std::abs(imageSize.width)); in GetPixelMap()
484 void OffscreenCanvasRenderingContext2DModelImpl::GetImageDataModel(const ImageSize& imageSize, uint8_ argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_renderer.cpp400 ImageSize imageSize; in GetImageData() local
401 imageSize.left = left; in GetImageData()
402 imageSize.top = top; in GetImageData()
403 imageSize.width = width; in GetImageData()
404 imageSize.height = height; in GetImageData()
405 canvasData = renderingContext2DModel_->GetImageData(imageSize); in GetImageData()
416 ImageSize imageSize; in GetPixelMap() local
417 imageSize.left = left; in GetPixelMap()
418 imageSize.top = top; in GetPixelMap()
419 imageSize in GetPixelMap()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_particle_test.cpp58 Vector2f imageSize = Vector2f(1.f, 1.f); in SetUp() local
60 EmitterConfig(emitRate, emitShape, position, emitSize, particleCount, lifeTime, type, radius, image, imageSize); in SetUp()
137 Vector2f imageSize = Vector2f(200.f, 300.f); in HWTEST_F() local
139 emitRate, emitShape, position, emitSize, particleCount, lifeTime, type, radius, rsImage, imageSize); in HWTEST_F()
175 Vector2f imageSize = Vector2f(200.f, 300.f); in HWTEST_F() local
177 emitRate, emitShape, position, emitSize, particleCount, lifeTime, type, radius, rsImage, imageSize); in HWTEST_F()
216 Vector2f imageSize = Vector2f(200.f, 300.f); in HWTEST_F() local
218 emitRate, emitShape, position, emitSize, particleCount, lifeTime, type, radius, rsImage, imageSize); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Drender_image.cpp671 void RenderImage::GenerateImageRects(const Size& srcSize, const BackgroundImageSize& imageSize, ImageRepeat imageRepeat, in GenerateImageRects() argument
681 imageRenderSize_ = CalculateImageRenderSize(srcSize, imageSize); in GenerateImageRects()
726 Size RenderImage::CalculateImageRenderSize(const Size& srcSize, const BackgroundImageSize& imageSize) const in CalculateImageRenderSize()
734 if (!imageSize.IsValid()) { in CalculateImageRenderSize()
738 if (imageSize.GetSizeTypeX() == BackgroundImageSizeType::CONTAIN || in CalculateImageRenderSize()
739 imageSize.GetSizeTypeX() == BackgroundImageSizeType::COVER) { in CalculateImageRenderSize()
740 renderSize = CalculateImageRenderSizeWithSingleParam(srcSize, imageSize); in CalculateImageRenderSize()
742 renderSize = CalculateImageRenderSizeWithDoubleParam(srcSize, imageSize); in CalculateImageRenderSize()
749 const Size& srcSize, const BackgroundImageSize& imageSize) const in CalculateImageRenderSizeWithSingleParam()
758 if (imageSize in CalculateImageRenderSizeWithSingleParam()
896 PrintImageLog(const Size& srcSize, const BackgroundImageSize& imageSize, ImageRepeat imageRepeat, const BackgroundImagePosition& imagePosition) const PrintImageLog() argument
[all...]
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_image_animator_unit_test.cpp125 const uint8_t imageSize = IMAGE_SIZE; in HWTEST_F() local
127 imageAnimator_->SetImageAnimatorSrc(g_imageAnimatorInfo, imageSize); in HWTEST_F()
128 EXPECT_EQ(imageAnimator_->GetImageAnimatorImageNum(), imageSize); in HWTEST_F()
378 const uint8_t imageSize = IMAGE_SIZE; in HWTEST_F() local
381 imageAnimator_->SetImageAnimatorSrc(g_imageAnimatorInfo, imageSize, timeOfUpdate); in HWTEST_F()
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/big_data_statistics/
H A Dgallery_download_file_stat.h34 imageSize(GALLERY_DOWNLOAD_IMAGE_SIZE_LEN), in DownloadFileStatInfo()
44 std::vector<uint64_t> imageSize; member

Completed in 16 milliseconds

123456