Home
last modified time | relevance | path

Searched refs:pipWindowListener (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
H A Djs_pip_controller.cpp348 auto pipWindowListener = sptr<JsPiPWindowListener>::MakeSptr(env, callbackRef); in RegisterListenerWithType() local
349 if (pipWindowListener == nullptr) { in RegisterListenerWithType()
353 jsCbMap_[type].insert(pipWindowListener); in RegisterListenerWithType()
357 ProcessStateChangeRegister(pipWindowListener); in RegisterListenerWithType()
360 ProcessActionEventRegister(pipWindowListener); in RegisterListenerWithType()
363 ProcessControlEventRegister(pipWindowListener); in RegisterListenerWithType()
527 const sptr<JsPiPWindowListener>& pipWindowListener) in UnRegisterListener() argument
531 ProcessStateChangeUnRegister(pipWindowListener); in UnRegisterListener()
534 ProcessActionEventUnRegister(pipWindowListener); in UnRegisterListener()
537 ProcessControlEventUnRegister(pipWindowListener); in UnRegisterListener()
H A Djs_pip_controller.h61 …de UnRegisterListener(const std::string& type, const sptr<JsPiPWindowListener>& pipWindowListener);