Searched refs:JsSessionType (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.h | 31 enum class JsSessionType : uint32_t { enum 71 const std::map<WindowType, JsSessionType> WINDOW_TO_JS_SESSION_TYPE_MAP { 72 … { WindowType::WINDOW_TYPE_APP_MAIN_WINDOW, JsSessionType::TYPE_APP }, 73 … { WindowType::WINDOW_TYPE_APP_SUB_WINDOW, JsSessionType::TYPE_SUB_APP }, 74 … { WindowType::WINDOW_TYPE_SYSTEM_ALARM_WINDOW, JsSessionType::TYPE_SYSTEM_ALERT }, 75 … { WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT, JsSessionType::TYPE_INPUT_METHOD }, 76 … { WindowType::WINDOW_TYPE_STATUS_BAR, JsSessionType::TYPE_STATUS_BAR }, 77 … { WindowType::WINDOW_TYPE_PANEL, JsSessionType::TYPE_PANEL }, 78 … { WindowType::WINDOW_TYPE_KEYGUARD, JsSessionType::TYPE_KEYGUARD }, 110 const std::map<JsSessionType, WindowType> JS_SESSION_TO_WINDOW_TYPE_MAP { [all …]
|
H A D | js_scene_utils.cpp | 869 JsSessionType GetApiType(WindowType type) in GetApiType() 874 return JsSessionType::TYPE_UNDEFINED; in GetApiType() 1512 SetTypeProperty(objValue, env, "TYPE_APP", JsSessionType::TYPE_APP); in SessionTypeInit() 1513 SetTypeProperty(objValue, env, "TYPE_SUB_APP", JsSessionType::TYPE_SUB_APP); in SessionTypeInit() 1517 SetTypeProperty(objValue, env, "TYPE_PANEL", JsSessionType::TYPE_PANEL); in SessionTypeInit() 1521 SetTypeProperty(objValue, env, "TYPE_FLOAT", JsSessionType::TYPE_FLOAT); in SessionTypeInit() 1523 SetTypeProperty(objValue, env, "TYPE_DESKTOP", JsSessionType::TYPE_DESKTOP); in SessionTypeInit() 1526 SetTypeProperty(objValue, env, "TYPE_DIALOG", JsSessionType::TYPE_DIALOG); in SessionTypeInit() 1528 SetTypeProperty(objValue, env, "TYPE_TOAST", JsSessionType::TYPE_TOAST); in SessionTypeInit() 1529 SetTypeProperty(objValue, env, "TYPE_POINTER", JsSessionType::TYPE_POINTER); in SessionTypeInit() [all …]
|