/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ability_component/ |
H A D | ability_component_model_ng.cpp | 22 void AbilityComponentModelNG::Create(const std::string& bundleName, const std::string& abilityName) in Create() 35 void AbilityComponentModelNG::SetWant(const std::string& want) in SetWant() 40 void AbilityComponentModelNG::SetOnConnect(std::function<void()>&& onConnect) in SetOnConnect() 46 eventHub->SetOnConnect(std::move(onConnect)); in SetOnConnect() 49 void AbilityComponentModelNG::SetOnDisConnect(std::function<void()>&& onDisConnect) in SetOnDisConnect() 55 eventHub->SetOnDisConnect(std::move(onDisConnect)); in SetOnDisConnect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_util.cpp | 22 std::string GetMimeType(const std::string& type) in GetMimeType() 25 std::string str = type; in GetMimeType() 27 std::transform(str.begin(), str.end(), str.begin(), [](unsigned char c) { return std::tolower(c); }); in GetMimeType() 31 double GetQuality(const std::string& type, const double quality) in GetQuality() 45 bool EncodeImage(std::string& type, const double quality, SkPixmap& src, SkDynamicMemoryWStream& dst) in EncodeImage()
|
/foundation/CastEngine/castengine_wifi_display/services/scheduler/ |
H A D | scheduler.cpp | 31 EventManager::GetInstance().AddListener(std::make_shared<SchedulerEventListener>()); in Scheduler() 42 std::string(magic_enum::enum_name(event.eventMsg->type)).c_str()); in HandleEvent() 45 std::string(magic_enum::enum_name(event.eventMsg->type)).c_str()); in HandleEvent() 49 std::string(magic_enum::enum_name(event.eventMsg->type)).c_str()); in HandleEvent() 52 std::string(magic_enum::enum_name(event.eventMsg->type)).c_str()); in HandleEvent() 56 std::string(magic_enum::enum_name(event.eventMsg->type)).c_str()); in HandleEvent() 59 std::string(magic_enum::enum_name(event.eventMsg->type)).c_str()); in HandleEvent()
|
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | render_state_observer_manager.h | 27 class RenderStateObserverManager : public std::enable_shared_from_this<RenderStateObserverManager> { 33 int32_t OnRenderStateChanged(const std::shared_ptr<RenderRecord> &renderRecord, int32_t state); 38 void HandleOnRenderStateChanged(const std::shared_ptr<RenderRecord> &renderRecord, int32_t state); 39 RenderStateData WrapRenderStateData(const std::shared_ptr<RenderRecord> &renderRecord, 43 std::vector<sptr<IRenderStateObserver>> observerList_; 44 std::shared_ptr<AAFwk::TaskHandlerWrap> handler_; 49 using RemoteDiedHandler = std::function<void(const wptr<IRemoteObject> &)>;
|
/foundation/arkui/ace_engine/frameworks/core/components/popup/ |
H A D | popup_element_v2.h | 35 std::string GetMessage() const in GetMessage() 53 std::string GetPrimaryButtonValue() const in GetPrimaryButtonValue() 62 std::string GetSecondaryButtonValue() const in GetSecondaryButtonValue() 80 std::function<void(const std::string&)> onStateChange_; 81 std::function<void(const std::string&)> changeEvent_;
|
/foundation/arkui/ace_engine/frameworks/core/accessibility/ |
H A D | accessibility_provider.h | 37 std::vector<ArkUI_AccessibilityElementInfo>& infos) = 0; 39 const int64_t elementId, std::string text, const int32_t requestId, 40 std::vector<ArkUI_AccessibilityElementInfo>& infos) = 0; 49 const std::map<std::string, std::string>& actionArguments) = 0; 57 const std::weak_ptr<ThirdAccessibilityManager>& thirdAccessibilityManager) {}; in SendThirdAccessibilityProvider()
|
/foundation/arkui/ace_engine/adapter/ohos/capability/interaction/ |
H A D | interaction_impl.h | 35 std::function<void(const OHOS::Ace::DragNotifyMsg&)> callback) override; 46 int32_t GetUdKey(std::string& udKey) override; 52 int32_t GetDragSummary(std::map<std::string, int64_t>& summary) override; 54 int32_t GetDragExtraInfo(std::string& extraInfo) override; 60 int32_t RegisterCoordinationListener(std::function<void()> dragOutCallback) override; 65 std::shared_ptr<CoordinationListenerImpl> consumer_;
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | drawing_lattice_preview.cpp | 35 auto* lattice = reinterpret_cast<std::shared_ptr<OHOS::Rosen::Drawing::Lattice>*>(sptrAddr); in CreateDrawingLatticeFromNative() 44 std::string DrawingLatticePreview::DumpToString() in DumpToString() 47 std::string drawingConfigStr; in DumpToString() 48 drawingConfigStr.append("fXCount = " + std::to_string(lattice_->fXCount)); in DumpToString() 51 drawingConfigStr.append(std::to_string(lattice_->fXDivs[idx]) + " "); in DumpToString() 54 drawingConfigStr.append("fYCount = " + std::to_string(lattice_->fYCount)); in DumpToString() 57 drawingConfigStr.append(std::to_string(lattice_->fYDivs[idx]) + " "); in DumpToString()
|
/foundation/arkui/ace_engine/frameworks/component_test/ |
H A D | component_test_manager_impl.h | 35 void PostUITask(std::function<void(void*)>&& task, std::function<void(void*)>&& onFinish, void* data = nullptr, 37 void PostJSTask(std::function<void(void*)>&& task, std::function<void(void*)>&& onFinish, void* data = nullptr, 40 void Record(std::string info, std::string position, Result result) override; 54 static std::mutex mtx_;
|
/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/ |
H A D | stage_app_info.cpp | 19 void StageAppInfo::Parse(const std::unique_ptr<JsonValue>& root) in Parse() 41 const std::string& StageAppInfo::GetApiReleaseType() const in GetApiReleaseType() 46 const std::string& StageAppInfo::GetBundleName() const in GetBundleName() 51 const std::string& StageAppInfo::GetIcon() const in GetIcon() 56 const std::string& StageAppInfo::GetLabel() const in GetLabel() 61 const std::string& StageAppInfo::GetVendor() const in GetVendor() 66 const std::string& StageAppInfo::GetVersionName() const in GetVersionName()
|
/foundation/arkui/ace_engine/frameworks/core/components/chart/ |
H A D | render_chart.cpp | 74 std::vector<std::pair<std::string, double>> info; in UpdateAccessibilityAttr() 77 info.emplace_back(std::make_pair<std::string, double>(std::to_string(point.GetX()), point.GetY())); in UpdateAccessibilityAttr() 79 accessibilityNode->PutChartValue(std::to_string(index), info); in UpdateAccessibilityAttr()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/timepicker/ |
H A D | timepicker_haptic_controller.h | 64 std::recursive_mutex threadMutex_; 65 std::condition_variable_any threadCv_; 70 std::shared_ptr<Media::AudioHapticPlayer> effectAudioHapticPlayer_ = nullptr; 71 std::shared_ptr<Media::AudioHapticManager> audioHapticManager_ = nullptr; 72 std::unique_ptr<std::thread> playThread_ = nullptr; 73 std::shared_ptr<AudioStandard::AudioGroupManager> audioGroupMngr_ = nullptr;
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | thread_model_impl.cpp | 21 std::unique_ptr<ThreadModelImpl> ThreadModelImpl::CreateThreadModel( in CreateThreadModel() 26 auto threadLabel = std::to_string(sCount++); in CreateThreadModel() 55 return std::make_unique<ThreadModelImpl>(std::move(threadContainer), std::move(taskRunners)); in CreateThreadModel() 64 : threadContainer_(std::move(threadContainer)), taskRunners_(std::move(taskRunners)) in ThreadModelImpl()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | drawing_lattice_ohos.cpp | 32 auto* lattice = reinterpret_cast<std::shared_ptr<OHOS::Rosen::Drawing::Lattice>*>(sptrAddr); in CreateDrawingLatticeFromNative() 41 std::string DrawingLatticeOhos::DumpToString() in DumpToString() 44 std::string drawingConfigStr; in DumpToString() 45 drawingConfigStr.append("fXCount = " + std::to_string(lattice_->fXCount)); in DumpToString() 48 drawingConfigStr.append(std::to_string(lattice_->fXDivs[idx]) + " "); in DumpToString() 51 drawingConfigStr.append("fYCount = " + std::to_string(lattice_->fYCount)); in DumpToString() 54 drawingConfigStr.append(std::to_string(lattice_->fYDivs[idx]) + " "); in DumpToString()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | ability_component_model_impl.cpp | 21 void AbilityComponentModelImpl::Create(const std::string& bundleName, const std::string& abilityName) in Create() 38 void AbilityComponentModelImpl::SetWant(const std::string& want) in SetWant() 62 void AbilityComponentModelImpl::SetOnConnect(std::function<void()>&& onConnect) in SetOnConnect() 66 component->SetOnConnected(std::move(onConnect)); in SetOnConnect() 69 void AbilityComponentModelImpl::SetOnDisConnect(std::function<void()>&& onDisConnect) in SetOnDisConnect() 73 component->SetOnDisconnected(std::move(onDisConnect)); in SetOnDisConnect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | inner_xcomponent_controller.h | 27 using OnAnalyzedCallback = std::optional<std::function<void(ImageAnalyzerState)>>; 33 using ConfigSurfaceImpl = std::function<void(uint32_t, uint32_t)>; 35 std::string GetSurfaceId() in GetSurfaceId() 40 void SetSurfaceId(const std::string& surfaceId) in SetSurfaceId() 54 configSurfaceImpl_ = std::move(ConfigSurfaceImpl); in SetConfigSurfaceImpl() 76 std::string surfaceId_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_content_node.h | 29 TabContentNode(const std::string& tag, int32_t nodeId, const RefPtr<Pattern>& pattern, bool isRoot = false) in TabContentNode() 33 void ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const override; 40 const std::string& tag, int32_t nodeId, const std::function<RefPtr<Pattern>(void)>& patternCreator); 63 std::string ConvertFlexAlignToString(FlexAlign verticalAlign) const; 64 std::string ConvertLayoutModeToString(LayoutMode layoutMode) const; 66 std::optional<int32_t> tabBarItemId_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_overlay_modifier.h | 42 void SetSelectedRects(const std::vector<RectF>& selectedRects); 49 void SetSelectedForegroundColorAndRects(const std::vector<RectF>& selectedUrlRects, 60 std::vector<RectF> GetSelectedRects() const; 62 std::optional<RectF> contentRect_; 66 bool IsSelectedRectsChanged(const std::vector<RectF>& selectedRects); 73 std::vector<RectF> selectedRects_; 75 std::vector<RectF> selectedUrlRects_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/ |
H A D | window_event_process.h | 32 const std::shared_ptr<MMI::PointerEvent>& pointerEvent); 34 const std::shared_ptr<MMI::PointerEvent>& pointerEvent); 39 const std::shared_ptr<MMI::PointerEvent>& pointerEvent); 42 const std::shared_ptr<MMI::PointerEvent>& pointerEvent); 44 const std::shared_ptr<MMI::PointerEvent>& pointerEvent); 48 std::shared_ptr<MMI::PointerEvent> lastPointEvent_ { nullptr }; 52 std::shared_ptr<MMI::PointerEvent> lastDragPointEvent_ { nullptr };
|
/foundation/arkui/ace_engine/interfaces/inner_api/ace/stylus/ |
H A D | stylus_detector_interface.h | 29 std::string bundleName; 34 std::string errorMessage; 35 std::string resultData; 85 virtual int32_t OnDetector(const CommandType& command, void* data, std::shared_ptr<IAceStylusCallback> callback); 92 virtual bool RegisterStylusInteractionListener(const std::string& bundleName, 93 const std::shared_ptr<IStylusDetectorCallback>& callback) = 0; 94 virtual void UnRegisterStylusInteractionListener(const std::string& bundleName) = 0;
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_monitor/ |
H A D | event_listener.h | 30 explicit EventListener(napi_env env, const std::string& type);
36 void Emit(std::string &bundleName, int32_t userId, int32_t appIndex);
40 void EmitOnUV(const std::string &bundleName, int32_t userId, int32_t appIndex, napi_ref callbackRef);
43 std::string type_;
44 std::list<napi_ref> callbackRefs_;
46 std::mutex validMutex_;
51 std::string bundleName;
|
/foundation/arkui/ace_engine/interfaces/inner_api/form_render/include/ |
H A D | form_renderer_dispatcher_proxy.h | 37 const std::shared_ptr<OHOS::MMI::PointerEvent>& pointerEvent, 43 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, float borderWidth = 0.0) override; 48 void OnAccessibilityDumpChildInfo(const std::vector<std::string>& params, std::vector<std::string>& info) override; 54 int32_t GetParcelableInfos(MessageParcel &reply, std::vector<T> &parcelableInfos);
|
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/ |
H A D | accessibility_caption.h | 39 bool CheckProperty(const std::string &property); 45 void SetFontFamily(const std::string &family); 51 const std::string &GetFontFamily() const; 81 void SetFontEdgeType(const std::string &type); 87 const std::string &GetFontEdgeType() const; 114 std::string fontFamily_ = "default"; 117 std::string fontEdgeType_ = "none";
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/ |
H A D | free_install.h | 29 std::string bundleName; 30 std::string moduleName; 36 std::string bundleName; 37 std::string moduleName; 43 std::string bundleName; 50 std::string version; 51 std::string dispatchAPI;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/free_install/ |
H A D | bms_ecological_rule_mgr_service_param.h | 31 std::string sceneCode = ""; 53 std::string packageName; 64 std::string targetAppDistType = ""; 65 std::string targetLinkFeature = ""; 66 std::string callerAppProvisionType; 67 std::string targetAppProvisionType; 75 std::string ToString() const;
|