Home
last modified time | relevance | path

Searched refs:rsTransaction (Results 1 - 25 of 106) sorted by relevance

12345

/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/transaction/
H A Drs_transaction_test.cpp61 RSTransaction rsTransaction; in HWTEST_F() local
62 rsTransaction.Begin(); in HWTEST_F()
63 rsTransaction.OpenSyncTransaction(); in HWTEST_F()
64 rsTransaction.CloseSyncTransaction(); in HWTEST_F()
65 rsTransaction.Commit(); in HWTEST_F()
67 EXPECT_TRUE(rsTransaction.Marshalling(parcel)); in HWTEST_F()
68 EXPECT_NE(rsTransaction.Unmarshalling(parcel), nullptr); in HWTEST_F()
/foundation/arkui/ace_engine/interfaces/inner_api/form_render/src/
H A Dform_renderer_dispatcher_impl.cpp98 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, float borderWidth) in DispatchSurfaceChangeEvent()
106 handler->PostTask([content = uiContent_, width, height, reason, rsTransaction, borderWidth, this]() { in DispatchSurfaceChangeEvent()
115 if (rsTransaction && rsTransaction->GetSyncId() > 0) { in DispatchSurfaceChangeEvent()
117 auto SyncTransactionPid = static_cast<int32_t>(rsTransaction->GetSyncId() >> 32); in DispatchSurfaceChangeEvent()
118 if (rsTransaction->IsOpenSyncTransaction() || SyncTransactionPid != rsTransaction->GetParentPid()) { in DispatchSurfaceChangeEvent()
124 duration = rsTransaction->GetDuration() ? rsTransaction->GetDuration() : duration; in DispatchSurfaceChangeEvent()
126 rsTransaction in DispatchSurfaceChangeEvent()
97 DispatchSurfaceChangeEvent(float width, float height, uint32_t reason, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, float borderWidth) DispatchSurfaceChangeEvent() argument
[all...]
H A Dform_renderer_dispatcher_proxy.cpp92 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, float borderWidth) in DispatchSurfaceChangeEvent()
115 bool hasRSTransaction = rsTransaction != nullptr; in DispatchSurfaceChangeEvent()
121 auto pid = rsTransaction->GetParentPid(); in DispatchSurfaceChangeEvent()
122 rsTransaction->SetParentPid(getprocpid()); in DispatchSurfaceChangeEvent()
123 if (!data.WriteParcelable(rsTransaction.get())) { in DispatchSurfaceChangeEvent()
127 rsTransaction->SetParentPid(pid); in DispatchSurfaceChangeEvent()
91 DispatchSurfaceChangeEvent(float width, float height, uint32_t reason, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, float borderWidth) DispatchSurfaceChangeEvent() argument
/foundation/window/window_manager/window_scene/session/host/src/
H A Dkeyboard_session.cpp156 std::shared_ptr<RSTransaction> rsTransaction) in NotifyClientToUpdateRect()
158 auto task = [weakThis = wptr(this), rsTransaction, updateReason]() { in NotifyClientToUpdateRect()
165 WSError ret = session->NotifyClientToUpdateRectTask(updateReason, rsTransaction); in NotifyClientToUpdateRect()
339 const WSRect& occupiedArea, const std::shared_ptr<RSTransaction>& rsTransaction) in NotifyOccupiedAreaChangeInfo()
361 callingSession->NotifyOccupiedAreaChangeInfo(info, rsTransaction); in NotifyOccupiedAreaChangeInfo()
404 const std::shared_ptr<RSTransaction>& rsTransaction) in RaiseCallingSession()
431 NotifyOccupiedAreaChangeInfo(callingSession, callingSessionRect, keyboardPanelRect, rsTransaction); in RaiseCallingSession()
445 NotifyOccupiedAreaChangeInfo(callingSession, newRect, keyboardPanelRect, rsTransaction); in RaiseCallingSession()
448 NotifyOccupiedAreaChangeInfo(callingSession, newRect, keyboardPanelRect, rsTransaction); in RaiseCallingSession()
457 void KeyboardSession::RestoreCallingSession(const std::shared_ptr<RSTransaction>& rsTransaction) in RestoreCallingSession() argument
155 NotifyClientToUpdateRect(const std::string& updateReason, std::shared_ptr<RSTransaction> rsTransaction) NotifyClientToUpdateRect() argument
338 NotifyOccupiedAreaChangeInfo(const sptr<SceneSession>& callingSession, const WSRect& rect, const WSRect& occupiedArea, const std::shared_ptr<RSTransaction>& rsTransaction) NotifyOccupiedAreaChangeInfo() argument
403 RaiseCallingSession(const WSRect& keyboardPanelRect, const std::shared_ptr<RSTransaction>& rsTransaction) RaiseCallingSession() argument
616 std::shared_ptr<RSTransaction> rsTransaction = nullptr; GetRSTransaction() local
[all...]
/foundation/window/window_manager/wm/src/zidl/
H A Dwindow_stub.cpp74 auto rsTransaction = data.ReadParcelable<RSTransaction>(); in OnRemoteRequest() local
75 if (!rsTransaction) { in OnRemoteRequest()
79 std::shared_ptr<RSTransaction> transaction(rsTransaction); in OnRemoteRequest()
164 auto rsTransaction = data.ReadParcelable<RSTransaction>(); in OnRemoteRequest() local
165 if (!rsTransaction) { in OnRemoteRequest()
169 std::shared_ptr<RSTransaction> transaction(rsTransaction); in OnRemoteRequest()
198 auto rsTransaction = data.ReadParcelable<RSTransaction>(); in OnRemoteRequest() local
199 if (!rsTransaction) { in OnRemoteRequest()
203 std::shared_ptr<RSTransaction> transaction(rsTransaction); in OnRemoteRequest()
H A Dwindow_proxy.cpp31 const std::shared_ptr<RSTransaction>& rsTransaction) in UpdateWindowRect()
54 bool hasRSTransaction = rsTransaction != nullptr; in UpdateWindowRect()
60 if (!data.WriteParcelable(rsTransaction.get())) { in UpdateWindowRect()
275 const std::shared_ptr<RSTransaction>& rsTransaction) in UpdateOccupiedAreaChangeInfo()
289 bool hasRSTransaction = rsTransaction != nullptr; in UpdateOccupiedAreaChangeInfo()
295 if (!data.WriteParcelable(rsTransaction.get())) { in UpdateOccupiedAreaChangeInfo()
315 const std::shared_ptr<RSTransaction>& rsTransaction) in UpdateOccupiedAreaAndRect()
335 bool hasRSTransaction = rsTransaction != nullptr; in UpdateOccupiedAreaAndRect()
341 if (!data.WriteParcelable(rsTransaction.get())) { in UpdateOccupiedAreaAndRect()
30 UpdateWindowRect(const struct Rect& rect, bool decoStatus, WindowSizeChangeReason reason, const std::shared_ptr<RSTransaction>& rsTransaction) UpdateWindowRect() argument
274 UpdateOccupiedAreaChangeInfo(const sptr<OccupiedAreaChangeInfo>& info, const std::shared_ptr<RSTransaction>& rsTransaction) UpdateOccupiedAreaChangeInfo() argument
314 UpdateOccupiedAreaAndRect(const sptr<OccupiedAreaChangeInfo>& info, const Rect& rect, const std::shared_ptr<RSTransaction>& rsTransaction) UpdateOccupiedAreaAndRect() argument
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/transaction/
H A Drs_transaction.cpp116 auto rsTransaction = new RSTransaction(); in Unmarshalling() local
117 if (rsTransaction->UnmarshallingParam(parcel)) { in Unmarshalling()
118 return rsTransaction; in Unmarshalling()
121 delete rsTransaction; in Unmarshalling()
/foundation/window/window_manager/window_scene/session/host/include/
H A Dkeyboard_session.h45 std::shared_ptr<RSTransaction> rsTransaction) override;
65 const WSRect& occupiedArea, const std::shared_ptr<RSTransaction>& rsTransaction = nullptr);
67 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr);
68 void RestoreCallingSession(const std::shared_ptr<RSTransaction>& rsTransaction = nullptr);
/foundation/window/window_manager/wm/src/
H A Dwindow_agent.cpp32 const std::shared_ptr<RSTransaction>& rsTransaction) in UpdateWindowRect()
38 window_->UpdateRect(rect, decoStatus, reason, rsTransaction); in UpdateWindowRect()
113 const std::shared_ptr<RSTransaction>& rsTransaction) in UpdateOccupiedAreaChangeInfo()
119 window_->UpdateOccupiedAreaChangeInfo(info, rsTransaction); in UpdateOccupiedAreaChangeInfo()
124 const std::shared_ptr<RSTransaction>& rsTransaction) in UpdateOccupiedAreaAndRect()
134 window_->UpdateOccupiedAreaChangeInfo(info, rsTransaction); in UpdateOccupiedAreaAndRect()
31 UpdateWindowRect(const struct Rect& rect, bool decoStatus, WindowSizeChangeReason reason, const std::shared_ptr<RSTransaction>& rsTransaction) UpdateWindowRect() argument
112 UpdateOccupiedAreaChangeInfo(const sptr<OccupiedAreaChangeInfo>& info, const std::shared_ptr<RSTransaction>& rsTransaction) UpdateOccupiedAreaChangeInfo() argument
123 UpdateOccupiedAreaAndRect(const sptr<OccupiedAreaChangeInfo>& info, const Rect& rect, const std::shared_ptr<RSTransaction>& rsTransaction) UpdateOccupiedAreaAndRect() argument
H A Dwindow_extension_session_impl.cpp571 const std::shared_ptr<RSTransaction>& rsTransaction = config.rsTransaction_; in UpdateRect() local
572 UpdateRectForRotation(wmRect, preRect, wmReason, rsTransaction); in UpdateRect()
583 WindowSizeChangeReason wmReason, const std::shared_ptr<RSTransaction>& rsTransaction) in UpdateRectForRotation()
588 auto task = [weak = wptr(this), wmReason, wmRect, preRect, rsTransaction]() mutable { in UpdateRectForRotation()
596 if (rsTransaction && rsTransaction->GetSyncId() > 0) { in UpdateRectForRotation()
598 auto SyncTransactionPid = static_cast<int32_t>(rsTransaction->GetSyncId() >> 32); in UpdateRectForRotation()
599 if (rsTransaction->IsOpenSyncTransaction() || SyncTransactionPid != rsTransaction->GetParentPid()) { in UpdateRectForRotation()
605 duration = rsTransaction in UpdateRectForRotation()
582 UpdateRectForRotation(const Rect& wmRect, const Rect& preRect, WindowSizeChangeReason wmReason, const std::shared_ptr<RSTransaction>& rsTransaction) UpdateRectForRotation() argument
823 NotifyOccupiedAreaChangeInfo(sptr<OccupiedAreaChangeInfo> info, const std::shared_ptr<RSTransaction>& rsTransaction) NotifyOccupiedAreaChangeInfo() argument
[all...]
/foundation/window/window_manager/test/common/mock/
H A Dmock_IWindow.h32 const std::shared_ptr<RSTransaction>& rsTransaction));
41 const std::shared_ptr<RSTransaction>& rsTransaction));
43 const Rect& rect, const std::shared_ptr<RSTransaction>& rsTransaction));
/foundation/window/window_manager/wm/include/
H A Dwindow_agent.h31 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
40 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
42 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dform_manager.cpp61 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction) in NotifyIsSizeChangeByRotate()
63 rsTransaction_ = rsTransaction; in NotifyIsSizeChangeByRotate()
60 NotifyIsSizeChangeByRotate(bool isRotate, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction) NotifyIsSizeChangeByRotate() argument
/foundation/window/window_manager/wm/include/zidl/
H A Dwindow_interface.h59 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) = 0;
68 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) = 0;
82 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) = 0;
H A Dwindow_proxy.h33 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
42 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
44 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_ability.h46 const std::shared_ptr<OHOS::Rosen::RSTransaction>& rsTransaction = nullptr) override;
54 const std::shared_ptr<OHOS::Rosen::RSTransaction>& rsTransaction = nullptr) override;
98 const std::shared_ptr<OHOS::Rosen::RSTransaction>& rsTransaction = nullptr);
103 const std::shared_ptr<OHOS::Rosen::RSTransaction>& rsTransaction = nullptr);
H A Dace_viewport_config.h26 std::shared_ptr<OHOS::Rosen::RSTransaction> rsTransaction) in AceViewportConfig()
27 : config_(cfg), reason_(reason), rsTransaction_(rsTransaction) {} in AceViewportConfig()
/foundation/window/window_manager/interfaces/kits/napi/extension_window/
H A Djs_extension_window_listener.h43 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
54 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
/foundation/multimodalinput/input/intention/drag/data/src/
H A Ddrag_params.cpp254 RotateDragWindowSyncParam::RotateDragWindowSyncParam(const std::shared_ptr<Rosen::RSTransaction>& rsTransaction) in RotateDragWindowSyncParam() argument
255 : rsTransaction_(rsTransaction) in RotateDragWindowSyncParam()
273 std::shared_ptr<Rosen::RSTransaction> rsTransaction(parcel.ReadParcelable<Rosen::RSTransaction>()); in Unmarshalling()
274 if (rsTransaction == nullptr) { in Unmarshalling()
275 FI_HILOGE("UnMarshalling rsTransaction failed"); in Unmarshalling()
278 rsTransaction_ = rsTransaction; in Unmarshalling()
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.h123 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction)>& callback) in SetSizeChangeByRotateCallback()
129 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction) in FireSizeChangeByRotateCallback()
132 sizeChangeByRotateCallback_(isRotate, rsTransaction); in FireSizeChangeByRotateCallback()
280 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr) override;
359 WindowSizeChangeReason type, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr);
377 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, bool forceChange = false);
970 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr);
972 int32_t width, int32_t height, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr);
974 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr);
985 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction
128 FireSizeChangeByRotateCallback(bool isRotate, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction) FireSizeChangeByRotateCallback() argument
[all...]
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_view_preview.cpp47 WindowSizeChangeReason type, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction) in NotifySurfaceChanged()
52 viewChangeCallback_(width, height, type, rsTransaction); in NotifySurfaceChanged()
46 NotifySurfaceChanged(int32_t width, int32_t height, WindowSizeChangeReason type, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction) NotifySurfaceChanged() argument
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/
H A Dui_extension_manager_test.cpp209 std::shared_ptr<Rosen::RSTransaction> rsTransaction; in HWTEST_F() local
210 uiExtensionManager->NotifySizeChangeReason(WindowSizeChangeReason::RESIZE, rsTransaction); in HWTEST_F()
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/
H A Dwindow_listener.h69 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
80 const std::shared_ptr<RSTransaction>& rsTransaction = nullptr) override;
H A Dwindow_listener.cpp61 const std::shared_ptr<RSTransaction>& rsTransaction) in OnSizeChange()
102 const std::shared_ptr<RSTransaction>& rsTransaction) in OnSizeChange()
60 OnSizeChange(Rect rect, WindowSizeChangeReason reason, const std::shared_ptr<RSTransaction>& rsTransaction) OnSizeChange() argument
101 OnSizeChange(const sptr<OccupiedAreaChangeInfo>& info, const std::shared_ptr<RSTransaction>& rsTransaction) OnSizeChange() argument
/foundation/window/window_manager/wm/test/mock/
H A Dmock_window.h26 const std::shared_ptr<RSTransaction>& rsTransaction));
63 const std::shared_ptr<RSTransaction>& rsTransaction));

Completed in 15 milliseconds

12345