Home
last modified time | relevance | path

Searched refs:SetOrientation (Results 1 - 25 of 78) sorted by relevance

1234

/foundation/window/window_manager/utils/test/unittest/
H A Dwindow_transition_info_test.cpp402 winTransitionInfo->SetOrientation(orientationIn); in HWTEST_F()
407 winTransitionInfo->SetOrientation(orientationIn); in HWTEST_F()
412 winTransitionInfo->SetOrientation(orientationIn); in HWTEST_F()
417 winTransitionInfo->SetOrientation(orientationIn); in HWTEST_F()
422 winTransitionInfo->SetOrientation(orientationIn); in HWTEST_F()
427 winTransitionInfo->SetOrientation(orientationIn); in HWTEST_F()
432 winTransitionInfo->SetOrientation(orientationIn); in HWTEST_F()
450 winTransitionInfo->SetOrientation(orientationIn); in HWTEST_F()
455 winTransitionInfo->SetOrientation(orientationIn); in HWTEST_F()
460 winTransitionInfo->SetOrientation(orientationI in HWTEST_F()
[all...]
/foundation/window/window_manager/test/fuzztest/dms/screen_fuzzer/
H A Dscreen_fuzzer.cpp89 screen->SetOrientation(orientation); in ScreenFuzzTest()
92 screen->SetOrientation(Orientation::UNSPECIFIED); in ScreenFuzzTest()
117 screen->SetOrientation(orientation); in ScreenFuzzTestNoDisplay()
120 screen->SetOrientation(Orientation::UNSPECIFIED); in ScreenFuzzTestNoDisplay()
/foundation/arkui/ace_engine/test/unittest/core/pattern/folder_stack/
H A Dfolder_stack_test_ng.cpp430 container->SetOrientation(Orientation::HORIZONTAL); in HWTEST_F()
464 container->SetOrientation(Orientation::HORIZONTAL); in HWTEST_F()
497 container->SetOrientation(Orientation::HORIZONTAL); in HWTEST_F()
530 container->SetOrientation(Orientation::HORIZONTAL); in HWTEST_F()
563 container->SetOrientation(Orientation::SENSOR); in HWTEST_F()
596 container->SetOrientation(Orientation::SENSOR); in HWTEST_F()
629 container->SetOrientation(Orientation::SENSOR); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dviewport_config_test.cpp55 * @tc.desc: Verify SetSize, SetPosition, SetDensity and SetOrientation api for ViewportConfig
72 viewConfig.SetOrientation(1); in HWTEST_F()
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_rotation_test.cpp200 screen->SetOrientation(Orientation::UNSPECIFIED); in HWTEST_F()
253 defaultScreen->SetOrientation(Orientation::REVERSE_HORIZONTAL); in HWTEST_F()
280 defaultScreen->SetOrientation(Orientation::UNSPECIFIED); in HWTEST_F()
296 defaultScreen->SetOrientation(Orientation::REVERSE_HORIZONTAL); in HWTEST_F()
330 defaultScreen->SetOrientation(Orientation::UNSPECIFIED); in HWTEST_F()
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_service_test.cpp255 ASSERT_TRUE(DMError::DM_OK != dms_->SetOrientation(0, orientation)); in HWTEST_F()
257 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetOrientation(0, orientation)); in HWTEST_F()
260 ASSERT_TRUE(DMError::DM_OK != dms_->SetOrientation(0, orientation)); in HWTEST_F()
562 * @tc.name: SetOrientation
563 * @tc.desc: DMS SetOrientation
566 HWTEST_F(DisplayManagerServiceTest, SetOrientation, Function | SmallTest | Level3) in HWTEST_F()
570 auto ret = dms_->SetOrientation(screenId, orientation); in HWTEST_F()
H A Dabstract_screen_controller_test.cpp545 * @tc.name: SetOrientation
546 * @tc.desc: SetOrientation test
553 ASSERT_EQ(DMError::DM_ERROR_NULLPTR, absController_->SetOrientation(1, orientation, true)); in HWTEST_F()
556 * @tc.name: SetOrientation
557 * @tc.desc: SetOrientation test
566 DMError ret = absController_->SetOrientation(1, orientation, isFromWindow); in HWTEST_F()
570 ret = absController_->SetOrientation(1, orientation, isFromWindow); in HWTEST_F()
574 ret = absController_->SetOrientation(1, orientation, isFromWindow); in HWTEST_F()
577 ret = absController_->SetOrientation(1, orientation, isFromWindow, false); in HWTEST_F()
/foundation/window/window_manager/dm/src/
H A Dscreen.cpp123 DMError Screen::SetOrientation(Orientation orientation) const in SetOrientation() function in OHOS::Rosen::Screen
126 return SingletonContainer::Get<ScreenManagerAdapter>().SetOrientation(GetId(), orientation); in SetOrientation()
/foundation/window/window_manager/dmserver/src/
H A Dabstract_display.cpp183 void AbstractDisplay::SetOrientation(Orientation orientation) in SetOrientation() function in OHOS::Rosen::AbstractDisplay
286 displayInfo->SetOrientation(orientation_); in ConvertToDisplayInfo()
/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dviewport_config.h73 void SetOrientation(int32_t orientation) in SetOrientation() function in OHOS::Ace::ViewportConfig
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/
H A Djs_screen.h38 static napi_value SetOrientation(napi_env env, napi_callback_info info);
H A Djs_screen.cpp71 napi_value JsScreen::SetOrientation(napi_env env, napi_callback_info info) in SetOrientation() function in OHOS::Rosen::JsScreen
129 DmErrorCode ret = DM_JS_TO_ERROR_CODE_MAP.at(screen_->SetOrientation(orientation)); in OnSetOrientation()
327 BindNativeFunction(env, objValue, "setOrientation", moduleName, JsScreen::SetOrientation); in CreateJsScreenObject()
/foundation/window/window_manager/dm/test/unittest/
H A Dscreen_test.cpp261 * @tc.name: SetOrientation
262 * @tc.desc: SetOrientation
265 HWTEST_F(ScreenTest, SetOrientation, Function | SmallTest | Level2) in HWTEST_F()
268 EXPECT_CALL(m->Mock(), SetOrientation(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
270 auto res = screen_->SetOrientation(orientation); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dresource_configuration.h48 void SetOrientation(const DeviceOrientation& orientation) in SetOrientation() function in OHOS::Ace::ResourceConfiguration
/foundation/window/window_manager/dmserver/include/
H A Dabstract_display.h67 void SetOrientation(Orientation orientation);
H A Dabstract_screen.h46 bool SetOrientation(Orientation orientation);
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Dscreen.h157 DMError SetOrientation(Orientation orientation) const;
/foundation/window/window_manager/utils/include/
H A Dwindow_transition_info.h74 void SetOrientation(AppExecFwk::DisplayOrientation orientation);
/foundation/window/window_manager/previewer/src/
H A Dwindow_scene.cpp59 config.SetOrientation(static_cast<int32_t>(Previewer::PreviewerWindow::TransOrientation(windowModel.orientation))); in Init()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/
H A Dfolder_stack_pattern.cpp244 container->SetOrientation(Orientation::SENSOR); in SetAutoRotate()
266 container->SetOrientation(lastOrientation_); in RestoreScreenState()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/
H A Dfile_asset_test.cpp107 fileAsset.SetOrientation(TEST_ORIENTATION); in HWTEST_F()
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_property.h101 void SetOrientation(Orientation orientation);
/foundation/window/window_manager/wm/src/
H A Dscreen_scene.cpp110 config.SetOrientation(orientation_); in UpdateViewportConfig()
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmetadata.cpp80 memberFuncMap_[MEDIA_DATA_DB_ORIENTATION] = make_pair(ResultSetDataType::TYPE_INT32, &Metadata::SetOrientation); in Init()
285 void Metadata::SetOrientation(const VariantData &orientation) in SetOrientation() function in OHOS::Media::Metadata
/foundation/multimedia/media_library/frameworks/native/c_api/
H A Dmedia_asset_helper_impl.cpp147 fileAsset->SetOrientation(orientation); in UpdateFileAsset()

Completed in 14 milliseconds

1234