Home
last modified time | relevance | path

Searched refs:ImageRotateOrientation (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_object.h47 ImageRotateOrientation GetOrientation() const;
48 ImageRotateOrientation GetUserOrientation() const;
54 void SetOrientation(ImageRotateOrientation orientation);
55 void SetUserOrientation(ImageRotateOrientation orientation);
80 ImageRotateOrientation orientation_ = ImageRotateOrientation::UP;
81 ImageRotateOrientation userOrientation_ = ImageRotateOrientation::UP;
H A Dimage_object.cpp61 void ImageObject::SetOrientation(ImageRotateOrientation orientation) in SetOrientation()
66 ImageRotateOrientation ImageObject::GetOrientation() const in GetOrientation()
71 void ImageObject::SetUserOrientation(ImageRotateOrientation orientation) in SetUserOrientation()
76 ImageRotateOrientation ImageObject::GetUserOrientation() const in GetUserOrientation()
H A Dimage_loading_context.cpp506 … if (orientation == ImageRotateOrientation::LEFT || orientation == ImageRotateOrientation::RIGHT) { in GetImageSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/rosen/
H A Ddrawing_image_data.cpp110 ImageRotateOrientation orientation = ImageRotateOrientation::UP; in Parse()
115 return { imageSize, ASTC_FRAME_COUNT, ImageRotateOrientation::UP }; in Parse()
126 orientation = ImageRotateOrientation::RIGHT; in Parse()
131 orientation = ImageRotateOrientation::LEFT; in Parse()
134 orientation = ImageRotateOrientation::DOWN; in Parse()
137 orientation = ImageRotateOrientation::UP; in Parse()
H A Ddrawing_image_data.h29 ImageRotateOrientation orientation = ImageRotateOrientation::UP;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.h145 void SetOrientation(ImageRotateOrientation orientation) in SetOrientation()
151 ImageRotateOrientation GetOrientation() in GetOrientation()
534 ImageRotateOrientation userOrientation_ = ImageRotateOrientation::UP;
535 ImageRotateOrientation selfOrientation_ = ImageRotateOrientation::UP;
536 ImageRotateOrientation joinOrientation_ = ImageRotateOrientation::UP;
H A Dimage_layout_property.h174 …ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(ImageRotateOrientation, ImageRotateOrientation, PROPERTY_UP…
H A Dimage_model_ng.h71 void SetOrientation(ImageRotateOrientation orientation) override;
94 static void SetOrientation(FrameNode *frameNode, ImageRotateOrientation orientation);
H A Dimage_pattern.cpp77 std::string ConvertOrientationToString(ImageRotateOrientation orientation) in ConvertOrientationToString()
80 case ImageRotateOrientation::UP: in ConvertOrientationToString()
82 case ImageRotateOrientation::RIGHT: in ConvertOrientationToString()
84 case ImageRotateOrientation::DOWN: in ConvertOrientationToString()
86 case ImageRotateOrientation::LEFT: in ConvertOrientationToString()
88 case ImageRotateOrientation::AUTO: in ConvertOrientationToString()
485 imageObj->SetOrientation(ImageRotateOrientation::UP); in UpdateOrientation()
490 if (userOrientation_ == ImageRotateOrientation::UP) { in UpdateOrientation()
491 joinOrientation_ = ImageRotateOrientation::UP; in UpdateOrientation()
494 if (userOrientation_ == ImageRotateOrientation::AUTO) { in UpdateOrientation()
H A Dimage_model.h108 virtual void SetOrientation(ImageRotateOrientation orientation) = 0;
H A Dimage_model_ng.cpp1055 void ImageModelNG::SetOrientation(ImageRotateOrientation orientation) in SetOrientation()
1057 ACE_UPDATE_LAYOUT_PROPERTY(ImageLayoutProperty, ImageRotateOrientation, orientation); in SetOrientation()
1063 void ImageModelNG::SetOrientation(FrameNode *frameNode, ImageRotateOrientation orientation) in SetOrientation()
1065 …ACE_UPDATE_NODE_LAYOUT_PROPERTY(ImageLayoutProperty, ImageRotateOrientation, orientation, frameNod… in SetOrientation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dcanvas_image.h55 ImageRotateOrientation orientation_ = ImageRotateOrientation::UP;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/
H A Dimage_decoder.cpp114 if (width == 0 || height == 0 || obj_->GetUserOrientation() == ImageRotateOrientation::UP) { in SwapDecodeSize()
118 … if (orientation == ImageRotateOrientation::LEFT || orientation == ImageRotateOrientation::RIGHT) { in SwapDecodeSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dpixelmap_image.cpp138 int32_t CalculateRotateDegree(ImageRotateOrientation orientation) in CalculateRotateDegree()
141 case ImageRotateOrientation::LEFT: in CalculateRotateDegree()
143 case ImageRotateOrientation::RIGHT: in CalculateRotateDegree()
145 case ImageRotateOrientation::DOWN: in CalculateRotateDegree()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_skia_image_data.cpp63 return { SizeF(1, 1), frameCount, ImageRotateOrientation::UP }; in Parse()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js249 var ImageRotateOrientation; variable
250 (function (ImageRotateOrientation) {
251 ImageRotateOrientation[ImageRotateOrientation["AUTO"] = 0] = "AUTO";
252 ImageRotateOrientation[ImageRotateOrientation["UP"] = 1] = "UP";
253 ImageRotateOrientation[ImageRotateOrientation["RIGHT"] = 2] = "RIGHT";
254 ImageRotateOrientation[ImageRotateOrientation["DOWN"] = 3] = "DOWN";
255 ImageRotateOrientation[ImageRotateOrientation["LEFT"] = 4] = "LEFT";
256 })(ImageRotateOrientation || (ImageRotateOrientation = {}));
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_image.cpp792 ImageModel::GetInstance()->SetOrientation(ImageRotateOrientation::UP); in SetOrientation()
797 if (parseRes < static_cast<int>(ImageRotateOrientation::AUTO) || in SetOrientation()
798 parseRes > static_cast<int>(ImageRotateOrientation::LEFT)) { in SetOrientation()
799 parseRes = static_cast<int>(ImageRotateOrientation::UP); in SetOrientation()
801 auto res = static_cast<ImageRotateOrientation>(parseRes); in SetOrientation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_image_modifier.cpp870 auto orientationValue = static_cast<ImageRotateOrientation>(orientation); in SetImageRotateOrientation()
871 …if (orientationValue < ImageRotateOrientation::AUTO || orientationValue > ImageRotateOrientation::… in SetImageRotateOrientation()
872 orientationValue = ImageRotateOrientation::UP; in SetImageRotateOrientation()
881 ImageModelNG::SetOrientation(frameNode, ImageRotateOrientation::UP); in ResetImageRotateOrientation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dimage_model_impl.h74 void SetOrientation(ImageRotateOrientation orientation) override {} in SetOrientation()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-image.md469 orientation(orientation: ImageRotateOrientation)
481 | orientation | [ImageRotateOrientation](#imagerotateorientation14) | 是 | 图像内容的显示方向。<br/>默认值:Ima…
567 ## ImageRotateOrientation<sup>14+</sup>
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dconstants.h362 enum class ImageRotateOrientation { enum
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkImage.ts569 class ImageRotateOrientationModifier extends ModifierWithKey<ImageRotateOrientation> {
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/export/
H A DarkComponent.d.ts337 orientation(value: ImageRotateOrientation): this;