Searched refs:XComponentControllerErrorCode (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/xcomponent_controller/ |
H A D | xcomponent_controller.h | 29 enum XComponentControllerErrorCode { enum 60 static XComponentControllerErrorCode SetSurfaceCallbackMode( 70 virtual XComponentControllerErrorCode GetGlobalPosition(float& offsetX, float& offsetY) = 0; 76 virtual XComponentControllerErrorCode GetSize(float& width, float& height) = 0; 83 virtual XComponentControllerErrorCode SetExtController( 91 virtual XComponentControllerErrorCode ResetExtController(
|
H A D | xcomponent_controller.cpp | 46 XComponentControllerErrorCode XComponentController::SetSurfaceCallbackMode( in SetSurfaceCallbackMode() 52 return XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_BAD_PARAMETER; in SetSurfaceCallbackMode() 57 return XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_BAD_PARAMETER; in SetSurfaceCallbackMode() 61 return XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_BAD_PARAMETER; in SetSurfaceCallbackMode() 65 return XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_BAD_PARAMETER; in SetSurfaceCallbackMode() 68 return XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_NO_ERROR; in SetSurfaceCallbackMode()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | xcomponent_controller_impl.h | 29 …XComponentControllerErrorCode GetGlobalPosition(float& /* offsetX */, float& /* offsetY */) overri… in GetGlobalPosition() 34 XComponentControllerErrorCode GetSize(float& /* width */, float& /* height */) override in GetSize() 39 XComponentControllerErrorCode SetExtController( in SetExtController() 45 XComponentControllerErrorCode ResetExtController( in ResetExtController()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_controller_ng.h | 30 XComponentControllerErrorCode GetGlobalPosition(float& offsetX, float& offsetY) override; 32 XComponentControllerErrorCode GetSize(float& width, float& height) override; 34 …XComponentControllerErrorCode SetExtController(std::shared_ptr<XComponentController> xcomponentCon… 36 XComponentControllerErrorCode ResetExtController(
|
H A D | xcomponent_controller_ng.cpp | 24 XComponentControllerErrorCode XComponentControllerNG::GetGlobalPosition(float& offsetX, float& offs… in GetGlobalPosition() 39 XComponentControllerErrorCode XComponentControllerNG::GetSize(float& width, float& height) in GetSize() 54 XComponentControllerErrorCode XComponentControllerNG::SetExtController( in SetExtController() 78 XComponentControllerErrorCode XComponentControllerNG::ResetExtController( in ResetExtController()
|
H A D | xcomponent_pattern.h | 225 XComponentControllerErrorCode SetExtController(const RefPtr<XComponentPattern>& extPattern); 226 XComponentControllerErrorCode ResetExtController(const RefPtr<XComponentPattern>& extPattern);
|
H A D | xcomponent_pattern.cpp | 1340 XComponentControllerErrorCode XComponentPattern::SetExtController(const RefPtr<XComponentPattern>& … in SetExtController() 1358 XComponentControllerErrorCode XComponentPattern::ResetExtController(const RefPtr<XComponentPattern>… in ResetExtController()
|
/ohos5.0/foundation/window/window_manager/wm/test/unittest/ |
H A D | picture_in_picture_controller_test.cpp | 46 MOCK_METHOD2(GetGlobalPosition, XComponentControllerErrorCode(float& offsetX, float& offsetY)); 47 MOCK_METHOD2(GetSize, XComponentControllerErrorCode(float& width, float& height)); 49 XComponentControllerErrorCode(std::shared_ptr<XComponentController> xComponentController)); 51 XComponentControllerErrorCode(std::shared_ptr<XComponentController> xComponentController)); 873 .WillOnce(Return(XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_TYPE_ERROR)); 876 .WillOnce(Return(XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_NO_ERROR)); 963 .WillOnce(Return(XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_TYPE_ERROR)); 966 .WillOnce(Return(XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_NO_ERROR));
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | picture_in_picture_controller.cpp | 648 XComponentControllerErrorCode errorCode = in ResetExtController() 650 if (errorCode != XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_NO_ERROR) { in ResetExtController() 671 XComponentControllerErrorCode errorCode = in SetXComponentController() 673 if (errorCode != XComponentControllerErrorCode::XCOMPONENT_CONTROLLER_NO_ERROR) { in SetXComponentController()
|