Home
last modified time | relevance | path

Searched refs:rotation_ (Results 1 - 25 of 65) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_light.h40 position_(position), rotation_(rotation) {}; in ModelLight()
82 rotation_ = rotation; in SetRotation()
112 return rotation_; in GetRotation()
123 Quaternion rotation_; member in OHOS::Ace::NG::ModelLight
H A Dmodel_pattern.cpp97 config.contentSizeChange, modelAdapter_->GetSurfaceType(), rotation_, in OnDirtyLayoutWrapperSwap() local
115 if (rotation_ != rotation) { in OnAttachToFrameNode()
116 rotation_ = rotation; in OnAttachToFrameNode()
121 pattern->rotation_ = rotation; in OnAttachToFrameNode()
H A Dmodel_pattern.h89 uint32_t rotation_ = 0; // Transform member in OHOS::Ace::NG::ModelPattern
H A Dmodel_adapter_wrapper.h46 Render3D::Quaternion rotation_ { std::numeric_limits<float>::max(), std::numeric_limits<float>::max(),
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/
H A Dlight.h29 : type_(type), color_(color), intensity_(intensity), shadow_(shadow), position_(position), rotation_(rotation) in Light()
62 rotation_ = rotation; in SetRotation()
92 return rotation_; in GetRotation()
101 OHOS::Render3D::Quaternion rotation_ { -999999.0f, -999999.0f, -999999.0f, -999999.0f };
/foundation/window/window_manager/dmserver/src/
H A Dabstract_display.cpp45 static_cast<void>(RequestRotation(absScreen->rotation_)); in AbstractDisplay()
195 WLOGD("request rotation from %{public}u to %{public}u, display %{public}" PRIu64"", rotation_, rotation, id_); in RequestRotation()
196 if (rotation_ == rotation) { in RequestRotation()
200 if (IsVertical(rotation) != IsVertical(rotation_)) { in RequestRotation()
203 rotation_ = rotation; in RequestRotation()
209 return rotation_; in GetRotation()
285 displayInfo->SetRotation(rotation_); in ConvertToDisplayInfo()
H A Dabstract_screen_controller.cpp342 absScreen->rotation_ = rotationAfter; in ProcessScreenConnected()
600 WLOGD("AddAsSuccedentScreenLocked. defaultScreen rotation:%d", child->rotation_); in AddAsSuccedentScreenLocked()
601 if (child->rotation_ == Rotation::ROTATION_90 || child->rotation_ == Rotation::ROTATION_270) { in AddAsSuccedentScreenLocked()
764 screen->rotation_ = rotationAfter; in SetOrientation()
822 if (screen->rotation_ == Rotation::ROTATION_90 || in UpdateScreenGroupLayout()
823 screen->rotation_ == Rotation::ROTATION_270) { in UpdateScreenGroupLayout()
851 if (rotationAfter == Rotation::ROTATION_0 && screen->rotation_ == Rotation::ROTATION_270) { in SetScreenRotateAnimation()
855 } else if (rotationAfter == Rotation::ROTATION_270 && screen->rotation_ == Rotation::ROTATION_0) { in SetScreenRotateAnimation()
930 if (rotationAfter == screen->rotation_) { in SetRotation()
[all...]
/foundation/arkui/ace_engine/frameworks/core/common/
H A Ddisplay_info.h94 return rotation_; in GetRotation()
99 rotation_ = rotation; in SetRotation()
145 Rotation rotation_ = Rotation::ROTATION_0; member in OHOS::Ace::DisplayInfo
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_property.cpp32 rotation_ = rotation; in SetRotation()
37 return rotation_; in GetRotation()
235 rotation_ = 90.f; in SetScreenRotation()
238 rotation_ = 180.f; in SetScreenRotation()
241 rotation_ = 270.f; in SetScreenRotation()
244 rotation_ = 0.f; in SetScreenRotation()
/foundation/multimedia/player_framework/services/include/
H A Di_avmetadatahelper_service.h33 rotation_(0) in OutputFrame()
52 int32_t rotation_; member
/foundation/window/window_manager/utils/src/
H A Dscreen_info.cpp24 parcel.WriteBool(isScreenGroup_) && parcel.WriteUint32(static_cast<uint32_t>(rotation_)) && in Marshalling()
98 rotation_ = static_cast<Rotation>(rotation); in InnerUnmarshalling()
H A Ddisplay_info.cpp32 parcel.WriteUint32(static_cast<uint32_t>(rotation_)) && in Marshalling()
82 displayInfo->rotation_ = static_cast<Rotation>(rotation); in Unmarshalling()
/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Dmoving_photo_video_cache.cpp137 : encodedEndCbFunc_(encodedEndCbFunc), isAbort_(false), taskName_(taskName), rotation_(rotation) in CachedFrameCallbackHandle()
172 encodedEndCbFunc_(successCacheRecords_, taskName_, rotation_); in OnCacheFrameFinish()
185 encodedEndCbFunc_(successCacheRecords_, taskName_, rotation_); in AbortCapture()
/foundation/window/window_manager/wmserver/include/
H A Danimation_config.h34 Vector4f rotation_ { 0, 0, 1, 0 };
/foundation/window/window_manager/dmserver/test/unittest/
H A Dabstract_display_controller_test.cpp224 display->rotation_ = absScreen_->rotation_; in HWTEST_F()
225 EXPECT_EQ(false, display->RequestRotation(absScreen->rotation_)); in HWTEST_F()
227 display->rotation_ = Rotation::ROTATION_270; in HWTEST_F()
228 EXPECT_EQ(true, display->RequestRotation(absScreen_->rotation_)); in HWTEST_F()
264 displayInfo->rotation_ = static_cast<Rotation>(Rotation::ROTATION_90); in HWTEST_F()
H A Dabstract_screen_controller_test.cpp131 screen->rotation_ = Rotation::ROTATION_270; in HWTEST_F()
133 ASSERT_EQ(Rotation::ROTATION_270, screen->rotation_); in HWTEST_F()
145 screen->rotation_ = Rotation::ROTATION_0; in HWTEST_F()
147 ASSERT_EQ(Rotation::ROTATION_0, screen->rotation_); in HWTEST_F()
159 screen->rotation_ = Rotation::ROTATION_0; in HWTEST_F()
161 ASSERT_EQ(Rotation::ROTATION_0, screen->rotation_); in HWTEST_F()
587 absController_->dmsScreenMap_[1]->rotation_ = Rotation::ROTATION_180; in HWTEST_F()
1189 screen->rotation_ = Rotation::ROTATION_0; in HWTEST_F()
1191 ASSERT_EQ(Rotation::ROTATION_0, screen->rotation_); in HWTEST_F()
1201 absController_->dmsScreenMap_[1]->rotation_ in HWTEST_F()
[all...]
/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/
H A Dvideo_encoder.h57 int32_t rotation_ = 0; member in OHOS::CameraStandard::VideoEncoder
H A Dmoving_photo_video_cache.h77 int32_t rotation_; member in OHOS::CameraStandard::CachedFrameCallbackHandle
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_obj_geometry.h38 float rotation_ { 0.0f };
177 trans_->rotation_ = rotation; in SetRotation()
289 return trans_ ? trans_->rotation_ : 0.f; in GetRotation()
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/
H A Dav_thumbnail_generator.cpp160 if (trackInfos[index]->Get<Tag::VIDEO_ROTATION>(rotation_)) { in GetVideoTrackInfo()
161 MEDIA_LOGI("rotation %{public}d", static_cast<int32_t>(rotation_)); in GetVideoTrackInfo()
307 avBuffer_->meta_->Set<Tag::VIDEO_ROTATION>(rotation_); in FetchFrameYuv()
345 frame->rotation_ = static_cast<int32_t>(rotation_); in ConvertToAVSharedMemory()
368 frame->rotation_ = static_cast<int32_t>(rotation_); in ConvertToAVSharedMemory()
H A Dav_thumbnail_generator.h60 Plugins::VideoRotation rotation_ = Plugins::VideoRotation::VIDEO_ROTATION_0; member in OHOS::Media::AVThumbnailGenerator
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_obj_abs_geometry.cpp122 return !ROSEN_EQ(std::remainder(trans_->rotation_, 90.f), 0.f, EPSILON); in IsNeedClientCompose()
190 if (!ROSEN_EQ(trans_->rotation_, 0.f, EPSILON)) { in UpdateAbsMatrix2D()
191 matrix_.PreRotate(trans_->rotation_, trans_->pivotX_ * width_, trans_->pivotY_ * height_); in UpdateAbsMatrix2D()
264 camera.RotateZDegrees(-trans_->rotation_); in UpdateAbsMatrix3D()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/
H A Dffmpeg_muxer_plugin.cpp274 param->Get<Tag::VIDEO_ROTATION>(rotation_); // rotation in SetRotation()
275 if (rotation_ != VIDEO_ROTATION_0 && rotation_ != VIDEO_ROTATION_90 && in SetRotation()
276 rotation_ != VIDEO_ROTATION_180 && rotation_ != VIDEO_ROTATION_270) { in SetRotation()
277 MEDIA_LOG_W("Invalid rotation: %{public}d, keep default 0", rotation_); in SetRotation()
278 rotation_ = VIDEO_ROTATION_0; in SetRotation()
546 if (rotation_ == VIDEO_ROTATION_90) { in SetDisplayMatrix()
552 } else if (rotation_ == VIDEO_ROTATION_180) { in SetDisplayMatrix()
557 } else if (rotation_ in SetDisplayMatrix()
[all...]
H A Dffmpeg_muxer_plugin.h100 VideoRotation rotation_ { VIDEO_ROTATION_0 };
/foundation/window/window_manager/dmserver/include/
H A Dabstract_display.h84 Rotation rotation_ { Rotation::ROTATION_0 };

Completed in 16 milliseconds

123