Lines Matching defs:std
30 std::map<std::string, std::pair<uint32_t, sptr<Window>>> WindowImpl::windowMap_;
31 std::map<uint32_t, std::vector<sptr<WindowImpl>>> WindowImpl::subWindowMap_;
32 std::map<uint32_t, std::vector<sptr<IWindowSystemBarEnableListener>>> WindowImpl::systemBarEnableListeners_;
33 std::map<uint32_t, std::vector<sptr<IIgnoreViewSafeAreaListener>>> WindowImpl::ignoreSafeAreaListeners_;
34 std::map<uint32_t, std::vector<sptr<IAvoidAreaChangedListener>>> WindowImpl::avoidAreaChangeListeners_;
35 std::mutex WindowImpl::globalMutex_;
56 void WindowImpl::CreateSurfaceNode(const std::string name, const SendRenderDataCallback& callback)
64 vsyncStation_ = std::make_shared<VsyncStation>(surfaceNode_->GetId());
73 sptr<Window> WindowImpl::Find(const std::string& name)
78 const std::shared_ptr<AbilityRuntime::Context> WindowImpl::GetContext() const
85 std::lock_guard<std::mutex> lock(globalMutex_);
105 sptr<Window> WindowImpl::GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context)
110 std::vector<sptr<Window>> WindowImpl::GetSubWindow(uint32_t parentId)
112 return std::vector<sptr<Window>>();
115 void WindowImpl::UpdateConfigurationForAll(const std::shared_ptr<AppExecFwk::Configuration>& configuration)
117 std::lock_guard<std::mutex> lock(globalMutex_);
124 std::shared_ptr<RSSurfaceNode> WindowImpl::GetSurfaceNode() const
179 const std::string& WindowImpl::GetWindowName() const
211 std::lock_guard<std::mutex> lock(mutex_);
221 std::lock_guard<std::mutex> lock(mutex_);
277 WMError WindowImpl::NapiSetUIContent(const std::string& contentInfo, napi_env env, napi_value storage,
284 std::unique_ptr<Ace::UIContent> uiContent;
300 uiContent_ = std::move(uiContent);
320 std::string WindowImpl::GetContentInfo(BackupAndRestoreType type)
340 std::shared_ptr<Media::PixelMap> WindowImpl::Snapshot()
345 void WindowImpl::DumpInfo(const std::vector<std::string>& params, std::vector<std::string>& info)
365 std::lock_guard<std::mutex> lock(mutex_);
397 WMError WindowImpl::SetSystemBarProperties(const std::map<WindowType, SystemBarProperty>& properties,
398 const std::map<WindowType, SystemBarPropertyFlag>& propertyFlags)
403 WMError WindowImpl::GetSystemBarProperties(std::map<WindowType, SystemBarProperty>& properties)
430 WMError WindowImpl::Create(uint32_t parentId, const std::shared_ptr<AbilityRuntime::Context>& context)
435 static std::atomic<uint32_t> tempWindowId = 0;
438 std::lock_guard<std::mutex> lock(globalMutex_);
439 windowMap_.insert(std::make_pair(name_, std::pair<uint32_t, sptr<Window>>(windowId, self)));
458 std::lock_guard<std::mutex> lock(globalMutex_);
513 WMError WindowImpl::SetBackgroundColor(const std::string& color)
602 void WindowImpl::SetInputEventConsumer(const std::shared_ptr<IInputEventConsumer>& inputEventConsumer)
630 std::lock_guard<std::mutex> lock(globalMutex_);
638 std::lock_guard<std::mutex> lock(globalMutex_);
726 std::lock_guard<std::mutex> lock(globalMutex_);
734 std::lock_guard<std::mutex> lock(globalMutex_);
742 std::lock_guard<std::mutex> lock(globalMutex_);
750 std::lock_guard<std::mutex> lock(globalMutex_);
756 WMError WindowImpl::RegisterListener(std::vector<sptr<T>>& holder, const sptr<T>& listener)
762 if (std::find(holder.begin(), holder.end(), listener) != holder.end()) {
771 WMError WindowImpl::UnregisterListener(std::vector<sptr<T>>& holder, const sptr<T>& listener)
777 holder.erase(std::remove_if(holder.begin(), holder.end(),
794 void WindowImpl::ConsumeKeyEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
803 void WindowImpl::ConsumePointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
813 void WindowImpl::RequestVsync(const std::shared_ptr<VsyncCallback>& vsyncCallback)
827 void WindowImpl::UpdateConfiguration(const std::shared_ptr<AppExecFwk::Configuration>& configuration)
853 std::lock_guard<std::mutex> lock(mutex_);
923 WMError WindowImpl::SetTouchHotAreas(const std::vector<Rect>& rects)
927 void WindowImpl::GetRequestedTouchHotAreas(std::vector<Rect>& rects) const
931 WMError WindowImpl::SetAPPWindowLabel(const std::string& label)
941 WMError WindowImpl::SetAPPWindowIcon(const std::shared_ptr<Media::PixelMap>& icon)
965 WMError WindowImpl::SetShadowColor(std::string color)