Home
last modified time | relevance | path

Searched refs:ImageInterpolation (Results 1 - 25 of 34) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_paint_method.h37 ImageInterpolation interpolation = ImageInterpolation::NONE;
66 ImageInterpolation interpolationDefault_ = ImageInterpolation::NONE;
H A Dimage_render_property.h32 ACE_DEFINE_PROPERTY_GROUP_ITEM(ImageInterpolation, ImageInterpolation);
49 static const char* INTERPOLATIONVALUE[] = { "ImageInterpolation.None", "ImageInterpolation.Low", in ToJsonValue()
50 "ImageInterpolation.Medium", "ImageInterpolation.High" }; in ToJsonValue()
55 INTERPOLATIONVALUE[static_cast<int32_t>(propImageInterpolation.value_or(ImageInterpolation::NONE))], in ToJsonValue()
102 ImagePaintStyle, ImageInterpolation, ImageInterpolation, PROPERTY_UPDATE_RENDER);
H A Dimage_pattern.h156 void SetImageInterpolation(ImageInterpolation value) in SetImageInterpolation()
164 case ImageInterpolation::LOW: in GetImageInterpolation()
166 case ImageInterpolation::MEDIUM: in GetImageInterpolation()
168 case ImageInterpolation::HIGH: in GetImageInterpolation()
391 ImageInterpolation GetDefaultInterpolation() in GetDefaultInterpolation()
526 ImageInterpolation interpolation_ = ImageInterpolation::LOW;
559 ImageInterpolation interpolationDefault_ = ImageInterpolation::NONE;
H A Dimage_model_ng.h51 void SetImageInterpolation(ImageInterpolation interpolation) override;
98 static void SetImageInterpolation(FrameNode *frameNode, ImageInterpolation interpolation);
117 static ImageInterpolation GetInterpolation(FrameNode* frameNode);
H A Dimage_model_ng.cpp458 void ImageModelNG::SetImageInterpolation(ImageInterpolation interpolation) in SetImageInterpolation()
460 ACE_UPDATE_PAINT_PROPERTY(ImageRenderProperty, ImageInterpolation, interpolation); in SetImageInterpolation()
755 void ImageModelNG::SetImageInterpolation(FrameNode *frameNode, ImageInterpolation interpolation) in SetImageInterpolation()
757 ACE_UPDATE_NODE_PAINT_PROPERTY(ImageRenderProperty, ImageInterpolation, interpolation, frameNode); in SetImageInterpolation()
769 ACE_UPDATE_NODE_PAINT_PROPERTY(ImageRenderProperty, ImageInterpolation, defaultInterpolation, frameNode); in ResetImageInterpolation()
876 ImageInterpolation ImageModelNG::GetInterpolation(FrameNode* frameNode) in GetInterpolation()
878 CHECK_NULL_RETURN(frameNode, ImageInterpolation::NONE); in GetInterpolation()
880 CHECK_NULL_RETURN(imagePattern, ImageInterpolation::NONE); in GetInterpolation()
H A Dimage_model.h82 virtual void SetImageInterpolation(ImageInterpolation interpolation) = 0;
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dimage_painter_utils.cpp83 case ImageInterpolation::LOW: { in AddFilter()
87 case ImageInterpolation::MEDIUM: { in AddFilter()
91 case ImageInterpolation::HIGH: { in AddFilter()
110 case ImageInterpolation::LOW: { in AddFilter()
114 case ImageInterpolation::MEDIUM: { in AddFilter()
118 case ImageInterpolation::HIGH: { in AddFilter()
H A Dpixelmap_image.cpp187 case ImageInterpolation::LOW: in StretchImageWithLattice()
188 case ImageInterpolation::MEDIUM: in StretchImageWithLattice()
191 case ImageInterpolation::HIGH: in StretchImageWithLattice()
240 case ImageInterpolation::LOW: in StretchImageWithSlice()
241 case ImageInterpolation::MEDIUM: in StretchImageWithSlice()
244 case ImageInterpolation::HIGH: in StretchImageWithSlice()
/foundation/arkui/ace_engine/test/unittest/core/pattern/image/
H A Dimage_base.h87 constexpr ImageInterpolation IMAGE_INTERPOLATION_DEFAULT = ImageInterpolation::HIGH;
99 constexpr ImageInterpolation IMAGE_NO_INTERPOLATION = ImageInterpolation::NONE;
H A Dimage_testtwo_ng.cpp169 imageRenderProperty->UpdateImageInterpolation(ImageInterpolation::NONE); in HWTEST_F()
171 EXPECT_EQ(imageRenderProperty->GetImageInterpolation(), ImageInterpolation::NONE); in HWTEST_F()
176 imageRenderProperty->UpdateImageInterpolation(ImageInterpolation::LOW); in HWTEST_F()
178 EXPECT_EQ(imageRenderProperty->GetImageInterpolation(), ImageInterpolation::LOW); in HWTEST_F()
183 imageRenderProperty->UpdateImageInterpolation(ImageInterpolation::MEDIUM); in HWTEST_F()
185 EXPECT_EQ(imageRenderProperty->GetImageInterpolation(), ImageInterpolation::MEDIUM); in HWTEST_F()
190 imageRenderProperty->UpdateImageInterpolation(ImageInterpolation::HIGH); in HWTEST_F()
192 EXPECT_EQ(imageRenderProperty->GetImageInterpolation(), ImageInterpolation::HIGH); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_image_ffi.cpp42 const std::vector<ImageInterpolation> IMAGE_INTERPOLATIONS = {
43 ImageInterpolation::NONE,
44 ImageInterpolation::HIGH,
45 ImageInterpolation::MEDIUM,
46 ImageInterpolation::LOW
/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Dimage_component.h61 void SetImageInterpolation(ImageInterpolation imageInterpolation);
84 ImageInterpolation GetImageInterpolation() const;
232 // set default value to [ImageInterpolation::LOW] to keep consistent for the old frontend
233 ImageInterpolation imageInterpolation_ = ImageInterpolation::LOW;
H A Drender_image.h115 ImageInterpolation GetImageInterpolation() const in GetImageInterpolation()
391 ImageInterpolation imageInterpolation_ = ImageInterpolation::NONE;
H A Dimage_component.cpp154 void ImageComponent::SetImageInterpolation(ImageInterpolation imageInterpolation) in SetImageInterpolation()
232 ImageInterpolation ImageComponent::GetImageInterpolation() const in GetImageInterpolation()
H A Drosen_render_image.cpp788 case ImageInterpolation::LOW:
791 case ImageInterpolation::MEDIUM:
794 case ImageInterpolation::HIGH:
797 case ImageInterpolation::NONE:
807 case ImageInterpolation::LOW:
810 case ImageInterpolation::MEDIUM:
813 case ImageInterpolation::HIGH:
816 case ImageInterpolation::NONE:
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_image.cpp286 case ImageInterpolation::LOW: in DrawImageLattice()
287 case ImageInterpolation::MEDIUM: in DrawImageLattice()
290 case ImageInterpolation::HIGH: in DrawImageLattice()
339 case ImageInterpolation::LOW: in DrawImageNine()
340 case ImageInterpolation::MEDIUM: in DrawImageNine()
343 case ImageInterpolation::HIGH: in DrawImageNine()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dcanvas_image.h58 ImageInterpolation imageInterpolation_ = ImageInterpolation::NONE;
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dutils.h345 inline std::string ConvertWrapImageInterpolationToString(ImageInterpolation imageInterpolation) in ConvertWrapImageInterpolationToString()
347 static const LinearEnumMapNode<ImageInterpolation, std::string> imageInterpolationTable[] = { in ConvertWrapImageInterpolationToString()
348 { ImageInterpolation::NONE, "ImageInterpolation.None" }, in ConvertWrapImageInterpolationToString()
349 { ImageInterpolation::LOW, "ImageInterpolation.Low" }, in ConvertWrapImageInterpolationToString()
350 { ImageInterpolation::MEDIUM, "ImageInterpolation.Medium" }, in ConvertWrapImageInterpolationToString()
351 { ImageInterpolation::HIGH, "ImageInterpolation in ConvertWrapImageInterpolationToString()
[all...]
H A Dimage_composed_element.cpp152 return "ImageInterpolation.None"; in GetInterpolation()
155 renderImage ? renderImage->GetImageInterpolation() : ImageInterpolation::NONE; in GetInterpolation()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dimage_model_impl.h47 void SetImageInterpolation(ImageInterpolation iterpolation) override;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js250 var ImageInterpolation; variable
251 (function (ImageInterpolation) {
252 ImageInterpolation[ImageInterpolation["None"] = 0] = "None";
253 ImageInterpolation[ImageInterpolation["Low"] = 1] = "Low";
254 ImageInterpolation[ImageInterpolation["Medium"] = 2] = "Medium";
255 ImageInterpolation[ImageInterpolation["Hig
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/interfaces/
H A Dcustomtitle.js133 Image.interpolation(ImageInterpolation.Medium);
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_image_modifier.cpp415 auto interpolation = static_cast<Ace::ImageInterpolation>(value); in SetImageInterpolation()
416 if (interpolation < Ace::ImageInterpolation::NONE || interpolation > Ace::ImageInterpolation::HIGH) { in SetImageInterpolation()
417 interpolation = Ace::ImageInterpolation::NONE; in SetImageInterpolation()
424 int32_t defaultInterpolation = static_cast<int32_t>(ImageInterpolation::NONE); in GetImageInterpolation()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dwindow_pattern.cpp276 animatePaintProperty->UpdateImageInterpolation(ImageInterpolation::HIGH); in BuildAnimateNode()
321 staticPaintProperty->UpdateImageInterpolation(ImageInterpolation::HIGH); in BuildStaticImageNode()
491 imagePaintProperty->UpdateImageInterpolation(ImageInterpolation::MEDIUM); in CreateSnapshotWindow()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_image.cpp578 auto interpolation = static_cast<ImageInterpolation>(imageInterpolation); in SetImageInterpolation()
579 if (interpolation < ImageInterpolation::NONE || interpolation > ImageInterpolation::HIGH) { in SetImageInterpolation()
580 interpolation = ImageInterpolation::NONE; in SetImageInterpolation()

Completed in 24 milliseconds

12