/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_offscreen_canvas_bridge.h | 37 shared_ptr<JsValue> GetBridge(const shared_ptr<JsRuntime>& runtime); 50 static shared_ptr<JsValue> JsGetContext(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& value, 51 const std::vector<shared_ptr<JsValue>>& argv, int32_t argc); 52 static shared_ptr<JsValue> JsTransferToImageBitmap(const shared_ptr<JsRuntime>& runtime, 53 const shared_ptr<JsValue>& value, const std::vector<shared_ptr<JsValu [all...] |
H A D | jsi_canvas_bridge.h | 33 void HandleJsContext(const shared_ptr<JsRuntime>& runtime, NodeId id, const std::string& args); 34 void HandleToDataURL(const shared_ptr<JsRuntime>& runtime, NodeId id, const std::string& args); 41 const shared_ptr<JsValue>& GetRenderContext() const in GetRenderContext() 46 const shared_ptr<JsValue>& GetDataURL() const in GetDataURL() 51 static shared_ptr<JsValue> JsCreateLinearGradient(const shared_ptr<JsRuntime>& runtime, 52 const shared_ptr<JsValue>& value, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc); 53 static shared_ptr<JsValue> JsCreateRadialGradient(const shared_ptr<JsRuntim [all...] |
H A D | js_value.h | 25 using std::shared_ptr; 36 virtual int32_t ToInt32(shared_ptr<JsRuntime> runtime) = 0; 37 virtual double ToDouble(shared_ptr<JsRuntime> runtime) = 0; 38 virtual std::string ToString(shared_ptr<JsRuntime> runtime) = 0; 39 virtual bool ToBoolean(shared_ptr<JsRuntime> runtime) = 0; 41 virtual bool IsObject(shared_ptr<JsRuntime> runtime) = 0; 42 virtual bool IsArray(shared_ptr<JsRuntime> runtime) = 0; 43 virtual bool IsUndefined(shared_ptr<JsRuntime> runtime) = 0; 44 virtual bool IsNull(shared_ptr<JsRuntime> runtime) = 0; 45 virtual bool IsNumber(shared_ptr<JsRuntim [all...] |
H A D | ark_js_value.h | 40 ArkJSValue(const shared_ptr<ArkJSRuntime> &runtime, Local<JSValueRef> value) : value_(runtime->GetEcmaVm(), value) in ArkJSValue() 48 int32_t ToInt32(shared_ptr<JsRuntime> runtime) override; 49 double ToDouble(shared_ptr<JsRuntime> runtime) override; 50 std::string ToString(shared_ptr<JsRuntime> runtime) override; 51 bool ToBoolean(shared_ptr<JsRuntime> runtime) override; 53 bool IsUndefined(shared_ptr<JsRuntime> runtime) override; 54 bool IsNull(shared_ptr<JsRuntime> runtime) override; 55 bool IsBoolean(shared_ptr<JsRuntime> runtime) override; 56 bool IsInt32(shared_ptr<JsRuntime> runtime) override; 57 bool WithinInt32(shared_ptr<JsRuntim [all...] |
H A D | jsi_animation_bridge.h | 28 using std::shared_ptr; 32 static shared_ptr<JsValue> CreateAnimationContext(shared_ptr<JsRuntime> runtime, int32_t pageId, NodeId nodeId); 33 static shared_ptr<JsValue> JsAnimationPlay(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj, 34 const std::vector<shared_ptr<JsValue>>& argv, int32_t argc); 35 static shared_ptr<JsValue> JsAnimationFinish(shared_ptr<JsRuntime> runtime, shared_ptr<JsValu [all...] |
H A D | jsi_animator_bridge.h | 26 using std::shared_ptr; 30 static shared_ptr<JsValue> CreateAnimatorContext(shared_ptr<JsRuntime> runtime, int32_t pageId, int32_t bridgeId); 31 static shared_ptr<JsValue> JsAnimatorPlay(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj, 32 const std::vector<shared_ptr<JsValue>>& argv, int32_t argc); 33 static shared_ptr<JsValue> JsAnimatorFinish(shared_ptr<JsRuntime> runtime, shared_ptr<JsValu [all...] |
H A D | jsi_base_utils.h | 39 static void ReportJsErrorEvent(std::shared_ptr<JsValue> error, std::shared_ptr<JsRuntime> runtime); 42 static shared_ptr<JsValue> AppDebugLogPrint(const shared_ptr<JsRuntime>& runtime, 43 const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc); 45 static shared_ptr<JsValue> AppInfoLogPrint(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, 46 const std::vector<shared_ptr<JsValu [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | declaration_constants.h | 81 static const std::shared_ptr<CommonAttribute> DEFAULT_COMMON_ATTR; 82 static const std::shared_ptr<CommonDisabledAttribute> DEFAULT_DISABLED_ATTR; 83 static const std::shared_ptr<CommonFocusableAttribute> DEFAULT_FOCUSABLE_ATTR; 84 static const std::shared_ptr<CommonTouchableAttribute> DEFAULT_TOUCHABLE_ATTR; 85 static const std::shared_ptr<CommonDataAttribute> DEFAULT_DATA_ATTR; 86 static const std::shared_ptr<CommonClickEffectAttribute> DEFAULT_CLICK_EFFECT_ATTR; 87 static const std::shared_ptr<CommonRenderAttribute> DEFAULT_RENDER_ATTR; 88 static const std::shared_ptr<CommonMultimodalAttribute> DEFAULT_MULTI_MODAL_ATTR; 91 static const std::shared_ptr<CommonStyle> DEFAULT_COMMON_STYLE; 92 static const std::shared_ptr<CommonSizeStyl [all...] |
H A D | declaration_constants.cpp | 41 const std::shared_ptr<CommonAttribute> DeclarationConstants::DEFAULT_COMMON_ATTR = std::make_shared<CommonAttribute>(); 42 const std::shared_ptr<CommonDisabledAttribute> DeclarationConstants::DEFAULT_DISABLED_ATTR = 44 const std::shared_ptr<CommonFocusableAttribute> DeclarationConstants::DEFAULT_FOCUSABLE_ATTR = 46 const std::shared_ptr<CommonTouchableAttribute> DeclarationConstants::DEFAULT_TOUCHABLE_ATTR = 48 const std::shared_ptr<CommonDataAttribute> DeclarationConstants::DEFAULT_DATA_ATTR = 50 const std::shared_ptr<CommonClickEffectAttribute> DeclarationConstants::DEFAULT_CLICK_EFFECT_ATTR = 52 const std::shared_ptr<CommonRenderAttribute> DeclarationConstants::DEFAULT_RENDER_ATTR = 54 const std::shared_ptr<CommonMultimodalAttribute> DeclarationConstants::DEFAULT_MULTI_MODAL_ATTR = 58 const std::shared_ptr<CommonStyle> DeclarationConstants::DEFAULT_COMMON_STYLE = std::make_shared<CommonStyle>(); 59 const std::shared_ptr<CommonSizeStyl [all...] |
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/ |
H A D | ability_lifecycle_callback.h | 39 virtual void OnAbilityCreate(const std::shared_ptr<NativeReference> &ability) = 0; 50 virtual void OnWindowStageCreate(const std::shared_ptr<NativeReference> &ability, 51 const std::shared_ptr<NativeReference> &windowStage) = 0; 62 virtual void OnWindowStageDestroy(const std::shared_ptr<NativeReference> &ability, 63 const std::shared_ptr<NativeReference> &windowStage) = 0; 74 virtual void OnWindowStageActive(const std::shared_ptr<NativeReference> &ability, 75 const std::shared_ptr<NativeReference> &windowStage) = 0; 86 virtual void OnWindowStageInactive(const std::shared_ptr<NativeReference> &ability, 87 const std::shared_ptr<NativeReference> &windowStage) = 0; 97 virtual void OnAbilityDestroy(const std::shared_ptr<NativeReferenc [all...] |
/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/ |
H A D | pasteboard_utils.h | 31 std::shared_ptr<PasteData> Convert(const UnifiedData& unifiedData); 32 std::shared_ptr<UnifiedData> Convert(const PasteData& pasteData); 35 using Convert2URecord = std::function<std::shared_ptr<UnifiedRecord>(std::shared_ptr<PasteDataRecord>)>; 36 using Convert2PRecord = std::function<std::shared_ptr<PasteDataRecord>(std::shared_ptr<UnifiedRecord>)>; 40 std::vector<std::shared_ptr<PasteDataRecord>> Convert(const std::vector<std::shared_ptr<UnifiedRecord>>& records); 42 static std::shared_ptr<UnifiedDataProperties> Convert(const PasteDataProperty& properties); 49 static std::shared_ptr<UnifiedRecor [all...] |
H A D | paste_data_record.h | 52 PasteDataRecord(std::string mimeType, std::shared_ptr<std::string> htmlText, 53 std::shared_ptr<OHOS::AAFwk::Want> want, std::shared_ptr<std::string> plainText, 54 std::shared_ptr<OHOS::Uri> uri); 56 static std::shared_ptr<PasteDataRecord> NewHtmlRecord(const std::string &htmlText); 57 static std::shared_ptr<PasteDataRecord> NewWantRecord(std::shared_ptr<OHOS::AAFwk::Want> want); 58 static std::shared_ptr<PasteDataRecord> NewPlaintTextRecord(const std::string &text); 59 static std::shared_ptr<PasteDataRecord> NewPixelMapRecord(std::shared_ptr<OHO [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | testcasefactory.cpp | 69 std::unordered_map<std::string, std::function<std::shared_ptr<TestBase>()>> FunctionalCpuMap = { 71 { "aarectmodes", []() -> std::shared_ptr<TestBase> { return std::make_shared<AARectModes>(); } }, 72 { "blurcircles", []() -> std::shared_ptr<TestBase> { return std::make_shared<BlurCircles>(); } }, 73 { "blur_large_rrects", []() -> std::shared_ptr<TestBase> { return std::make_shared<BlurLargeRrects>(); } }, 74 { "addarc_meas", []() -> std::shared_ptr<TestBase> { return std::make_shared<AddArcMeas>(); } }, 75 { "addarc", []() -> std::shared_ptr<TestBase> { return std::make_shared<AddArc>(); } }, 77 []() -> std::shared_ptr<TestBase> { return std::make_shared<BadApple>(); } }, // 字体相关问题,函数缺失 78 { "alpha_image_alpha_tint", []() -> std::shared_ptr<TestBase> { return std::make_shared<AlphaImageAlphaTint>(); } }, 80 []() -> std::shared_ptr<TestBase> { 84 []() -> std::shared_ptr<TestBas [all...] |
/foundation/multimodalinput/input/frameworks/proxy/events/include/ |
H A D | input_manager_util.h | 34 static std::shared_ptr<KeyOption> InitOption( 36 static std::shared_ptr<PointerEvent> SetupPointerEvent001(); 37 static std::shared_ptr<PointerEvent> SetupPointerEvent002(); 38 static std::shared_ptr<PointerEvent> SetupPointerEvent003(); 39 static std::shared_ptr<PointerEvent> SetupPointerEvent005(); 40 static std::shared_ptr<PointerEvent> SetupPointerEvent006(); 41 static std::shared_ptr<PointerEvent> SetupPointerEvent007(); 42 static std::shared_ptr<PointerEvent> SetupPointerEvent009(); 43 static std::shared_ptr<PointerEvent> SetupPointerEvent010(); 44 static std::shared_ptr<PointerEven [all...] |
/foundation/multimedia/media_foundation/services/media_monitor/server/include/ |
H A D | event_aggregate.h | 48 void WriteEvent(std::shared_ptr<EventBean> &bean); 53 void UpdateAggregateEventList(std::shared_ptr<EventBean> &bean); 54 void HandleDeviceChangeEvent(std::shared_ptr<EventBean> &bean); 55 void HandleStreamChangeEvent(std::shared_ptr<EventBean> &bean); 57 void HandleStreamExhaustedErrorEvent(std::shared_ptr<EventBean> &bean); 58 void HandleStreamCreateErrorEvent(std::shared_ptr<EventBean> &bean); 59 void HandleBackgroundSilentPlayback(std::shared_ptr<EventBean> &bean); 60 void HandleUnderrunStatistic(std::shared_ptr<EventBean> &bean); 61 void HandleForceUseDevice(std::shared_ptr<EventBean> &bean); 62 void HandleCaptureMutedStatusChange(std::shared_ptr<EventBea [all...] |
H A D | media_event_base_writer.h | 36 void WriteLoadConfigError(std::shared_ptr<EventBean> &bean); 37 void WriteLoadEffectEngineError(std::shared_ptr<EventBean> &bean); 38 void WriteAudioStartupError(std::shared_ptr<EventBean> &bean); 39 void WriteStreamExhastedError(std::shared_ptr<EventBean> &bean); 40 void WriteStreamCreateError(std::shared_ptr<EventBean> &bean); 41 void WriteBackgoundSilentPlayback(std::shared_ptr<EventBean> &bean); 42 void WriteBGSilentPlayback(std::shared_ptr<EventBean> &bean); 43 void WriteUnderrunStatistic(std::shared_ptr<EventBean> &bean); 44 void WriteHeasetChange(std::shared_ptr<EventBean> &bean); 45 void WriteVolumeChange(std::shared_ptr<EventBea [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_modifier_property.h | 24 bool CreateOrSetModifierValue(std::shared_ptr<Rosen::RSAnimatableProperty<T>>& property, const T& value); 26 void AddOrChangeScaleModifier(std::shared_ptr<Rosen::RSNode>& rsNode, 27 std::shared_ptr<Rosen::RSScaleModifier>& modifier, 28 std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value); 30 void AddOrChangeSkewModifier(std::shared_ptr<Rosen::RSNode>& rsNode, 31 std::shared_ptr<Rosen::RSSkewModifier>& modifier, 32 std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value); 34 void AddOrChangeTranslateZModifier(std::shared_ptr<Rosen::RSNode>& rsNode, 35 std::shared_ptr<Rosen::RSTranslateZModifier>& modifier, 36 std::shared_ptr<Rose [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | sub_managers_helper.h | 38 SubManagersHelper(std::shared_ptr<TaskHandlerWrap> taskHandler, std::shared_ptr<AbilityEventHandler> eventHandler); 50 std::shared_ptr<DataAbilityManager> GetCurrentDataAbilityManager(); 51 std::shared_ptr<DataAbilityManager> GetDataAbilityManager(const sptr<IAbilityScheduler> &scheduler); 52 std::unordered_map<int, std::shared_ptr<DataAbilityManager>> GetDataAbilityManagers(); 53 std::shared_ptr<DataAbilityManager> GetDataAbilityManagerByUserId(int32_t userId); 54 std::shared_ptr<DataAbilityManager> GetDataAbilityManagerByToken(const sptr<IRemoteObject> &token); 56 std::unordered_map<int, std::shared_ptr<AbilityConnectManager>> GetConnectManagers(); 57 std::shared_ptr<AbilityConnectManager> GetCurrentConnectManager(); 58 std::shared_ptr<AbilityConnectManage [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/mission/ |
H A D | mission_list_manager.h | 75 int MoveMissionToFront(int32_t missionId, std::shared_ptr<StartOptions> startOptions = nullptr) override; 78 std::shared_ptr<AbilityRecord> callerAbility, std::shared_ptr<StartOptions> startOptions = nullptr) override; 113 * @return std::shared_ptr<AbilityRecord> the AbilityRecord of the token 115 std::shared_ptr<AbilityRecord> GetAbilityRecordByToken(const sptr<IRemoteObject> &token) override; 123 std::shared_ptr<Mission> GetMissionById(int missionId) const; 131 int MoveAbilityToBackground(const std::shared_ptr<AbilityRecord> &abilityRecord) override; 142 int32_t BackToCallerAbilityWithResult(std::shared_ptr<AbilityRecord> abilityRecord, 154 int TerminateAbility(const std::shared_ptr<AbilityRecord> &abilityRecord, 162 void RemoveMissionList(const std::shared_ptr<MissionLis [all...] |
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_track_meta.h | 37 void ConvertRawAudioStreamToMetaInfo(const AVStream& avStream, const std::shared_ptr<AVFormatContext>& avFormatContext, 38 const std::shared_ptr<AVCodecContext>& avCodecContext, Meta& meta); 40 void ConvertMP1StreamToMetaInfo(const AVStream& avStream, const std::shared_ptr<AVFormatContext>& avFormatContext, 41 const std::shared_ptr<AVCodecContext>& avCodecContext, Meta& meta); 43 void ConvertMP2StreamToMetaInfo(const AVStream& avStream, const std::shared_ptr<AVFormatContext>& avFormatContext, 44 const std::shared_ptr<AVCodecContext>& avCodecContext, Meta& meta); 46 void ConvertMP3StreamToMetaInfo(const AVStream& avStream, const std::shared_ptr<AVFormatContext>& avFormatContext, 47 const std::shared_ptr<AVCodecContext>& avCodecContext, Meta& meta); 49 void ConvertAACStreamToMetaInfo(const AVStream& avStream, const std::shared_ptr<AVFormatContext>& avFormatContext, 50 const std::shared_ptr<AVCodecContex [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/include/ |
H A D | socperf_plugin.h | 35 void DispatchResource(const std::shared_ptr<ResData>& resData) override;
40 std::unordered_map<uint32_t, std::function<void(const std::shared_ptr<ResData>& data)>> functionMap;
53 void HandleWindowFocus(const std::shared_ptr<ResData>& data);
54 void HandleEventClick(const std::shared_ptr<ResData>& data);
55 void HandleLoadPage(const std::shared_ptr<ResData>& data);
56 void HandlePopPage(const std::shared_ptr<ResData>& data);
57 void HandleEventSlide(const std::shared_ptr<ResData>& data);
58 void HandleEventWebGesture(const std::shared_ptr<ResData>& data);
59 void HandleAppAbilityStart(const std::shared_ptr<ResData>& data);
60 void HandleResizeWindow(const std::shared_ptr<ResDat [all...] |
/foundation/multimodalinput/input/service/subscriber/include/ |
H A D | key_subscriber_handler.h | 42 void HandleKeyEvent(const std::shared_ptr<KeyEvent> keyEvent) override; 47 void HandlePointerEvent(const std::shared_ptr<PointerEvent> pointerEvent) override; 50 void HandleTouchEvent(const std::shared_ptr<PointerEvent> pointerEvent) override; 52 int32_t SubscribeKeyEvent(SessionPtr sess, int32_t subscribeId, const std::shared_ptr<KeyOption> keyOption); 54 int32_t SubscribeHotkey(SessionPtr sess, int32_t subscribeId, std::shared_ptr<KeyOption> keyOption); 62 Subscriber(int32_t id, SessionPtr sess, std::shared_ptr<KeyOption> keyOption) in Subscriber() 66 std::shared_ptr<KeyOption> keyOption_ { nullptr }; 72 std::shared_ptr<KeyEvent> keyEvent_ { nullptr }; 74 using SubscriberCollection = std::map<std::shared_ptr<KeyOption>, std::list<std::shared_ptr<Subscribe [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/include/mpd_parser/ |
H A D | dash_mpd_parser.h | 35 std::shared_ptr<XmlElement> segBaseElement_; 36 std::shared_ptr<XmlElement> segListElement_; 37 std::shared_ptr<XmlElement> segTmplElement_; 51 void ParsePeriod(std::shared_ptr<XmlParser> xmlParser, std::shared_ptr<XmlElement> rootElement); 52 void ParseAdaptationSet(std::shared_ptr<XmlParser> xmlParser, std::shared_ptr<XmlElement> rootElement, 54 void ParseRepresentation(std::shared_ptr<XmlParser> xmlParser, std::shared_ptr<XmlElement> rootElement, 57 void ParseSegmentBase(std::shared_ptr<XmlParse [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_implicit_animation_param.h | 52 void ApplyTimingProtocol(const std::shared_ptr<RSAnimation>& animation) const; 65 void AddPropertyToPendingSyncList(const std::shared_ptr<RSPropertyBase>& property); 68 std::shared_ptr<RSAnimation> CreateEmptyAnimation(std::shared_ptr<RSPropertyBase> property, 69 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const; 74 std::vector<std::shared_ptr<RSPropertyBase>> pendingSyncList_; 84 std::shared_ptr<RSAnimation> CreateAnimation(std::shared_ptr<RSPropertyBase> property, 85 const std::shared_ptr<RSPropertyBas [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/ |
H A D | heif_parser.h | 43 explicit HeifParser(const std::shared_ptr<HeifInputStream> &inputStream) : inputStream_(inputStream) {}; in HeifParser() 47 static heif_error MakeFromStream(const std::shared_ptr<HeifInputStream> &stream, std::shared_ptr<HeifParser> *out); 49 static heif_error MakeFromMemory(const void *data, size_t size, bool isNeedCopy, std::shared_ptr<HeifParser> *out); 53 std::shared_ptr<HeifImage> GetImage(heif_item_id itemId); 55 std::shared_ptr<HeifImage> GetPrimaryImage(); 57 std::shared_ptr<HeifImage> GetGainmapImage(); 59 std::shared_ptr<HeifImage> GetAuxiliaryMapImage(const std::string type); 61 std::shared_ptr<HeifImage> GetTmapImage(); 68 void GetTileImages(heif_item_id gridItemId, std::vector<std::shared_ptr<HeifImag [all...] |