/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_paint_method.h | 37 ImageInterpolation interpolation = ImageInterpolation::NONE; 66 ImageInterpolation interpolationDefault_ = ImageInterpolation::NONE;
|
H A D | image_render_property.h | 32 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 D | image_pattern.h | 156 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 D | image_model_ng.h | 51 void SetImageInterpolation(ImageInterpolation interpolation) override; 98 static void SetImageInterpolation(FrameNode *frameNode, ImageInterpolation interpolation); 117 static ImageInterpolation GetInterpolation(FrameNode* frameNode);
|
H A D | image_model_ng.cpp | 458 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 D | image_model.h | 82 virtual void SetImageInterpolation(ImageInterpolation interpolation) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | image_painter_utils.cpp | 83 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 D | pixelmap_image.cpp | 187 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 D | image_base.h | 87 constexpr ImageInterpolation IMAGE_INTERPOLATION_DEFAULT = ImageInterpolation::HIGH; 99 constexpr ImageInterpolation IMAGE_NO_INTERPOLATION = ImageInterpolation::NONE;
|
H A D | image_testtwo_ng.cpp | 169 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 D | cj_image_ffi.cpp | 42 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 D | image_component.h | 61 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 D | render_image.h | 115 ImageInterpolation GetImageInterpolation() const in GetImageInterpolation() 391 ImageInterpolation imageInterpolation_ = ImageInterpolation::NONE;
|
H A D | image_component.cpp | 154 void ImageComponent::SetImageInterpolation(ImageInterpolation imageInterpolation) in SetImageInterpolation() 232 ImageInterpolation ImageComponent::GetImageInterpolation() const in GetImageInterpolation()
|
H A D | rosen_render_image.cpp | 788 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 D | drawing_image.cpp | 286 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 D | canvas_image.h | 58 ImageInterpolation imageInterpolation_ = ImageInterpolation::NONE;
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | utils.h | 345 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 D | image_composed_element.cpp | 152 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 D | image_model_impl.h | 47 void SetImageInterpolation(ImageInterpolation iterpolation) override;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsEnumStyle.js | 250 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 D | customtitle.js | 133 Image.interpolation(ImageInterpolation.Medium);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_image_modifier.cpp | 415 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 D | window_pattern.cpp | 276 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 D | js_image.cpp | 578 auto interpolation = static_cast<ImageInterpolation>(imageInterpolation); in SetImageInterpolation() 579 if (interpolation < ImageInterpolation::NONE || interpolation > ImageInterpolation::HIGH) { in SetImageInterpolation() 580 interpolation = ImageInterpolation::NONE; in SetImageInterpolation()
|