Home
last modified time | relevance | path

Searched refs:VsyncCallback (Results 1 – 19 of 19) sorted by relevance

/foundation/graphic/standard/frameworks/vsync/test/unittest/
Dvsync_remote_manager_stub_test.h39 class VsyncCallback : public VsyncCallbackStub {
41 explicit VsyncCallback(int &count);
42 virtual ~VsyncCallback() = default;
Dvsync_remote_manager_stub_test.cpp84 sptr<IVsyncCallback> cb = new VsyncCallback(count);
102 sptr<IVsyncCallback> cb = new VsyncCallback(count);
120 sptr<IVsyncCallback> cb = new VsyncCallback(count);
133 sptr<IVsyncCallback> cb = new VsyncCallback(count);
142 VsyncCallback::VsyncCallback(int &count) : count_(&count) in VsyncCallback() function in OHOS::Vsync::VsyncCallback
146 GSError VsyncCallback::OnVsync(int64_t timestamp) in OnVsync()
Dvsync_remote_manager_proxy_test.cpp101 sptr<IVsyncCallback> cb = new VsyncCallback();
110 sptr<IVsyncCallback> cb = new VsyncCallback();
119 sptr<IVsyncCallback> cb = new VsyncCallback();
150 GSError VsyncCallback::OnVsync(int64_t timestamp) in OnVsync()
Dvsync_remote_callback_test.cpp49 sptr<VsyncCallback> vcqp = new VsyncCallback(); in SetUpTestCase()
127 GSError VsyncCallback::OnVsync(int64_t timestamp) in OnVsync()
Dvsync_remote_callback_stub_test.cpp35 vc_ = new VsyncCallback(); in SetUpTestCase()
87 GSError VsyncCallback::OnVsync(int64_t timestamp) in OnVsync()
Dvsync_remote_manager_proxy_test.h42 class VsyncCallback : public VsyncCallbackStub {
Dvsync_remote_callback_test.h41 class VsyncCallback : public VsyncCallbackStub {
Dvsync_remote_callback_stub_test.h42 class VsyncCallback : public VsyncCallbackStub {
/foundation/windowmanager/wm/include/
Dvsync_station.h41 struct VsyncCallback { struct
45 void RequestVsync(CallbackType type, const std::shared_ptr<VsyncCallback>& vsyncCallback); argument
46 void RemoveCallback(CallbackType type, const std::shared_ptr<VsyncCallback>& vsyncCallback);
64 std::map<CallbackType, std::unordered_set<std::shared_ptr<VsyncCallback>>> vsyncCallbacks_ = {
Dwindow_input_channel.h41 std::shared_ptr<VsyncStation::VsyncCallback> callback_ =
42 std::make_shared<VsyncStation::VsyncCallback>(VsyncStation::VsyncCallback());
Dwindow_impl.h269 std::shared_ptr<VsyncStation::VsyncCallback> callback_ =
270 std::make_shared<VsyncStation::VsyncCallback>(VsyncStation::VsyncCallback());
/foundation/graphic/standard/rosen/modules/render_service_base/src/platform/ohos/
Drs_vsync_client_ohos.h35 void SetVsyncCallback(VsyncCallback callback) override;
40 void VsyncCallback(int64_t nanoTimestamp);
45 RSVsyncClient::VsyncCallback vsyncCallback_ = nullptr;
Drs_vsync_client_ohos.cpp58 void RSVsyncClientOhos::SetVsyncCallback(RSVsyncClient::VsyncCallback callback) in SetVsyncCallback()
63 void RSVsyncClientOhos::VsyncCallback(int64_t nanoTimestamp) in VsyncCallback() function in OHOS::Rosen::RSVsyncClientOhos
75 vsyncClient->VsyncCallback(nanoTimestamp); in OnVsync()
/foundation/graphic/standard/rosen/modules/render_service_base/include/platform/drawing/
Drs_vsync_client.h26 using VsyncCallback = std::function<void(int64_t)>;
32 virtual void SetVsyncCallback(VsyncCallback callback) = 0;
/foundation/graphic/standard/rosen/modules/render_service_base/src/platform/darwin/
Drs_vsync_client_darwin.h28 void SetVsyncCallback(VsyncCallback callback) override {} in SetVsyncCallback()
33 void VsyncCallback(int64_t nanoTimestamp) {} in VsyncCallback() function
/foundation/graphic/standard/rosen/modules/render_service_base/src/platform/windows/
Drs_vsync_client_windows.h28 void SetVsyncCallback(VsyncCallback callback) override {} in SetVsyncCallback()
33 void VsyncCallback(int64_t nanoTimestamp) {} in VsyncCallback() function
/foundation/windowmanager/wm/src/
Dvsync_station.cpp29 void VsyncStation::RequestVsync(CallbackType type, const std::shared_ptr<VsyncCallback>& vsyncCallb… in WM_IMPLEMENT_SINGLE_INSTANCE()
69 void VsyncStation::RemoveCallback(CallbackType type, const std::shared_ptr<VsyncCallback>& vsyncCal… in RemoveCallback()
83 std::map<CallbackType, std::unordered_set<std::shared_ptr<VsyncCallback>>> vsyncCallbacks; in VsyncCallbackInner()
/foundation/graphic/standard/frameworks/vsync/include/
Dvsync_helper_impl.h98 class VsyncCallback : public VsyncCallbackStub {
/foundation/graphic/standard/frameworks/vsync/src/
Dvsync_helper_impl.cpp158 listener_ = new VsyncCallback(); in InitListener()
371 GSError VsyncCallback::OnVsync(int64_t timestamp) in OnVsync()