/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/ |
H A D | image_object.h | 47 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 D | image_object.cpp | 61 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 D | image_loading_context.cpp | 506 … 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 D | drawing_image_data.cpp | 110 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 D | drawing_image_data.h | 29 ImageRotateOrientation orientation = ImageRotateOrientation::UP;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_pattern.h | 145 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 D | image_layout_property.h | 174 …ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(ImageRotateOrientation, ImageRotateOrientation, PROPERTY_UP…
|
H A D | image_model_ng.h | 71 void SetOrientation(ImageRotateOrientation orientation) override; 94 static void SetOrientation(FrameNode *frameNode, ImageRotateOrientation orientation);
|
H A D | image_pattern.cpp | 77 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 D | image_model.h | 108 virtual void SetOrientation(ImageRotateOrientation orientation) = 0;
|
H A D | image_model_ng.cpp | 1055 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 D | canvas_image.h | 55 ImageRotateOrientation orientation_ = ImageRotateOrientation::UP;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/ |
H A D | image_decoder.cpp | 114 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 D | pixelmap_image.cpp | 138 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 D | mock_skia_image_data.cpp | 63 return { SizeF(1, 1), frameCount, ImageRotateOrientation::UP }; in Parse()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsEnumStyle.js | 249 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 D | js_image.cpp | 792 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 D | node_image_modifier.cpp | 870 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 D | image_model_impl.h | 74 void SetOrientation(ImageRotateOrientation orientation) override {} in SetOrientation()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-image.md | 469 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 D | constants.h | 362 enum class ImageRotateOrientation { enum
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkImage.ts | 569 class ImageRotateOrientationModifier extends ModifierWithKey<ImageRotateOrientation> {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/export/ |
H A D | arkComponent.d.ts | 337 orientation(value: ImageRotateOrientation): this;
|