Home
last modified time | relevance | path

Searched refs:JsDisplayListener (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display_listener.cpp32 JsDisplayListener::JsDisplayListener(napi_env env) : env_(env) in JsDisplayListener() function in OHOS::Rosen::JsDisplayListener
38 JsDisplayListener::~JsDisplayListener() in ~JsDisplayListener()
45 void JsDisplayListener::CleanEnv(void* obj) in CleanEnv()
47 JsDisplayListener* thisObj = reinterpret_cast<JsDisplayListener*>(obj); in CleanEnv()
73 void JsDisplayListener::RemoveAllCallback() in RemoveAllCallback()
122 void JsDisplayListener::OnCreate(DisplayId id) in OnCreate()
148 void JsDisplayListener::OnDestroy(DisplayId id) in OnDestroy()
174 void JsDisplayListener::OnChange(DisplayId id) in OnChange()
203 void JsDisplayListener::OnPrivateWindow(bool hasPrivate) in OnPrivateWindow()
283 void JsDisplayListener::OnCaptureStatusChanged(bool isCapture) in OnCaptureStatusChanged()
[all …]
H A Djs_display_listener.h28 class JsDisplayListener : public DisplayManager::IDisplayListener,
36 explicit JsDisplayListener(napi_env env);
37 ~JsDisplayListener() override;
H A Djs_display.cpp148 std::map<std::string, std::map<std::unique_ptr<NativeReference>, sptr<JsDisplayListener>>> jsCbMap_;
287 sptr<JsDisplayListener> displayListener = new(std::nothrow) JsDisplayListener(env); in RegisterDisplayListenerWithType()
H A Djs_display_manager.cpp155 std::map<std::string, std::map<std::unique_ptr<NativeReference>, sptr<JsDisplayListener>>> jsCbMap_;
427 sptr<JsDisplayListener> displayListener = new(std::nothrow) JsDisplayListener(env); in RegisterDisplayListenerWithType()