Searched refs:JsDisplayListener (Results 1 – 4 of 4) sorted by relevance
32 JsDisplayListener::JsDisplayListener(napi_env env) : env_(env) in JsDisplayListener() function in OHOS::Rosen::JsDisplayListener38 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 …]
28 class JsDisplayListener : public DisplayManager::IDisplayListener,36 explicit JsDisplayListener(napi_env env);37 ~JsDisplayListener() override;
148 std::map<std::string, std::map<std::unique_ptr<NativeReference>, sptr<JsDisplayListener>>> jsCbMap_;287 sptr<JsDisplayListener> displayListener = new(std::nothrow) JsDisplayListener(env); in RegisterDisplayListenerWithType()
155 std::map<std::string, std::map<std::unique_ptr<NativeReference>, sptr<JsDisplayListener>>> jsCbMap_;427 sptr<JsDisplayListener> displayListener = new(std::nothrow) JsDisplayListener(env); in RegisterDisplayListenerWithType()