MCPcopy Create free account

hub / github.com/AGenUI/AGenUI / functions

Functions4,245 in github.com/AGenUI/AGenUI

↓ 7 callersFunctionrun_command
执行命令并返回 (returncode, stdout, stderr)
scripts/run_tests.py:78
↓ 7 callersMethodsetFillColor
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:812
↓ 7 callersMethodsetPercentHeight
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:67
↓ 7 callersMethodsetPropertyValue
tests/cpp/surface/component_property_spec_test.cpp:27
↓ 7 callersMethodsetTextAlign
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:558
↓ 7 callersMethodsetValue
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:904
↓ 7 callersMethodshouldUseMeasureFunc
core/src/surface/yoga_node/agenui_measurement_manager.cpp:76
↓ 7 callersMethodyieldMessages
yieldMessages validates and appends messages to the final output list.
agent_sdks/go/parser/streaming.go:598
↓ 6 callersMethodAddMsgType
AddMsgType adds a message type if not already present.
agent_sdks/go/parser/streaming.go:214
↓ 6 callersFunctionAnalyzeTopology
AnalyzeTopology analyzes the component tree topology and returns reachable IDs.
agent_sdks/go/schema/validator.go:545
↓ 6 callersMethodappendData
core/src/surface/datamodel/agenui_data_model.cpp:69
↓ 6 callersMethodbitmap
Creates a result with BITMAP format.
platforms/android/src/main/java/com/amap/agenui/render/image/ImageLoadResult.java:57
↓ 6 callersFunctionbuildAudioIconSrc
platforms/harmony/agenui/src/main/cpp/a2ui/render/components/audio_player_component.cpp:25
↓ 6 callersMethodclearMeasureFunc
core/src/surface/yoga_node/agenui_yoga_node.cpp:98
↓ 6 callersFunctioncollectA2UIMessages
collectA2UIMessages extracts all A2UI JSON messages from response parts.
agent_sdks/go/parser/streaming_test.go:101
↓ 6 callersFunctioncollectText
collectText extracts all text from response parts.
agent_sdks/go/parser/streaming_test.go:110
↓ 6 callersMethodcreateError
Creates an error result. @param error Human-readable error message
platforms/android/src/main/java/com/amap/agenui/function/FunctionResult.java:46
↓ 6 callersFunctiondeepCopyMap
deepCopyMap creates a deep copy of a map[string]any using recursive traversal.
agent_sdks/go/schema/catalog.go:438
↓ 6 callersFunctiondisposeNodeIfNeeded
platforms/harmony/agenui/src/main/cpp/a2ui/render/components/choicepicker_component.cpp:51
↓ 6 callersMethoddpToPx
Convert dp to px
platforms/android/src/main/java/com/amap/agenui/render/component/impl/CarouselComponent.java:510
↓ 6 callersMethoddrawCircle
(float cx, float cy, float radius, Paint paint)
platforms/android/src/main/java/com/amap/agenui/render/component/widget/A2UITextView.java:331
↓ 6 callersFunctionextractCalcContent
Helper: extract the content inside calc(...)
core/src/style_parser/agenui_color_parser.cpp:1678
↓ 6 callersMethodfirstStyleValue
(JSONObject styles, String... keys)
platforms/android/src/main/java/com/amap/agenui/render/measurement/TextMeasurer.java:538
↓ 6 callersMethodgetBindingPath
core/src/surface/component_manager/data_value/agenui_data_binding_data_value.cpp:50
↓ 6 callersMethodgetComponentStyle
Reads the default style config shipped for a component type.
platforms/android/src/main/java/com/amap/agenui/render/measurement/MeasurementSupport.java:71
↓ 6 callersMethodgetDataModel
core/src/surface/component_manager/agenui_component_model.cpp:495
↓ 6 callersMethodgetEventDispatcher
core/src/module/agenui_surface_manager.cpp:265
↓ 6 callersFunctiongetExeCodeString
core/src/agenui_errorcode_define.cpp:5
↓ 6 callersMethodgetInstance
Returns the singleton instance. @return ImageLoaderConfig singleton
platforms/android/src/main/java/com/amap/agenui/render/image/ImageLoaderConfig.java:41
↓ 6 callersMethodgetName
()
platforms/android/src/main/java/com/amap/agenui/function/FunctionConfig.java:39
↓ 6 callersMethodgetParent
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_component.h:56
↓ 6 callersFunctionisImageFadeInEnabled
platforms/harmony/agenui/src/main/cpp/a2ui/measure/a2ui_platform_layout_bridge.cpp:269
↓ 6 callersMethodisInitialized
Checks whether the Engine has been initialized @return true if the Engine is initialized
platforms/android/src/main/java/com/amap/agenui/AGenUI.java:142
↓ 6 callersFunctionisValidColorSpace
Helper: check if a string is a valid CSS color interpolation space
core/src/style_parser/agenui_color_parser.cpp:1629
↓ 6 callersMethodloadThemeConfig
core/src/module/agenui_engine_impl.cpp:194
↓ 6 callersMethodmeasureTextValue
(Context context, CharSequence text,
platforms/android/src/main/java/com/amap/agenui/render/measurement/TextMeasurer.java:151
↓ 6 callersMethodnetworkError
Creates a network error.
platforms/android/src/main/java/com/amap/agenui/render/image/ImageLoaderError.java:72
↓ 6 callersMethodoptStyles
Returns the `styles` object from the snapshot JSON when present.
platforms/android/src/main/java/com/amap/agenui/render/measurement/MeasurementSupport.java:43
↓ 6 callersMethodparseDimensionFloat
Parses a dimension value as a float (used for shadow offsets, etc.). Note: the px unit is converted following dp conversion rules.
platforms/android/src/main/java/com/amap/agenui/render/style/StyleHelper.java:565
↓ 6 callersFunctionparseJSON
parseJSON parses the payload and returns a list of A2UI JSON objects.
agent_sdks/go/parser/payload_fixer.go:39
↓ 6 callersFunctionparsePercentageValue
Helper: parse percentage value (e.g. "50%" -> 0.5)
core/src/style_parser/agenui_color_parser.cpp:1766
↓ 6 callersMethodrelease
Releases resources
platforms/android/src/main/java/com/amap/agenui/render/component/impl/VideoComponent.java:187
↓ 6 callersMethodremoveChild
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_component.cpp:214
↓ 6 callersMethodreset
core/src/stream/agenui_text_stream_plugin.cpp:435
↓ 6 callersMethodresolveTextMaxWidth
Calculates the text area width left after subtracting fixed-width accessory UI.
platforms/android/src/main/java/com/amap/agenui/render/measurement/MeasurementSupport.java:228
↓ 6 callersMethodselectTab
(Tab tab)
platforms/android/src/main/java/com/amap/agenui/render/component/impl/CustomTabLayout.java:185
↓ 6 callersMethodsetChildren
core/src/surface/component_manager/agenui_component_model.cpp:107
↓ 6 callersMethodsetCustomShadow
* Set a custom shadow, matching CSS drop-shadow / box-shadow semantics. * NODE_CUSTOM_SHADOW parameters: * [0] blur - blur radius in px
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:101
↓ 6 callersMethodsetDayNightMode
Sets the day/night mode @param mode Mode value: "light" or "dark"
platforms/android/src/main/java/com/amap/agenui/AGenUI.java:222
↓ 6 callersMethodsetLayoutWeight
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:115
↓ 6 callersMethodsetShape
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:866
↓ 6 callersMethodstopShimmer
platforms/harmony/agenui/src/main/cpp/a2ui/render/components/image_component_shimmer.cpp:9
↓ 6 callersMethodsyncState
Synchronizes a component UI state change to the Native data model. <p> Custom components should call this when their UI state changes (e.g. text input
platforms/android/src/main/java/com/amap/agenui/render/component/A2UIComponent.java:684
↓ 6 callersMethodtotalCalls
tests/cpp/support/mock_message_listener.h:87
↓ 5 callersFunctionValidateRecursionAndPaths
ValidateRecursionAndPaths validates recursion depth limits and path syntax.
agent_sdks/go/schema/validator.go:832
↓ 5 callersMethodaddChild
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_component.cpp:200
↓ 5 callersMethodappendChild
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:464
↓ 5 callersMethodasDouble
core/src/surface/agenui_serializable_data_impl.cpp:161
↓ 5 callersMethodasync
()
platforms/android/src/main/java/com/amap/agenui/render/measurement/MeasureResult.java:40
↓ 5 callersMethodbeginTransaction
Starts a layout transaction. Until {@link #endTransaction()} is called, incoming layout updates are buffered instead of being flushed immediately.
platforms/android/src/main/java/com/amap/agenui/render/surface/SurfaceLayoutDispatcher.java:77
↓ 5 callersMethodbuildTextStyles
Builds a compact text-style JSON object that can be fed back into {@link TextMeasurer}.
platforms/android/src/main/java/com/amap/agenui/render/measurement/MeasurementSupport.java:181
↓ 5 callersFunctioncreateJavaStringArray
core/src/jni/jni_message_listener_bridge.cpp:11
↓ 5 callersMethodcreateLabel
(Context context)
playground/android/app/src/main/java/com/amap/agenuiplayground/stability/MetricsOverlayView.java:100
↓ 5 callersMethoddp
(int value)
playground/android/app/src/main/java/com/amap/agenuiplayground/stability/MetricsOverlayView.java:113
↓ 5 callersMethoddrawPath
(Path path, Paint paint)
platforms/android/src/main/java/com/amap/agenui/render/component/widget/A2UITextView.java:356
↓ 5 callersMethodescapeJson
(String s)
playground/android/app/src/main/java/com/amap/agenuiplayground/stability/StabilityLogger.java:96
↓ 5 callersMethodexecuteFunctionCallSync
core/src/function_call/agenui_functioncall_manager.cpp:71
↓ 5 callersFunctionfindMessageListenerByInstanceId
platforms/harmony/agenui/src/main/cpp/napi_init.cpp:223
↓ 5 callersFunctionfindRootID
findRootID finds the root ID from A2UI messages for a given surface.
agent_sdks/go/schema/validator.go:488
↓ 5 callersMethodfirstDimension
Finds the first parseable dimension from a list of candidate keys.
platforms/android/src/main/java/com/amap/agenui/render/measurement/MeasurementSupport.java:124
↓ 5 callersMethodgetAttribute
platforms/harmony/agenui/src/main/cpp/a2ui/render/hybrid/a2ui_hybrid_factory.cpp:246
↓ 5 callersMethodgetComponentType
Returns the component type @return Component type name (e.g. "Text", "Button", "Row")
platforms/android/src/main/java/com/amap/agenui/render/component/IComponentFactory.java:52
↓ 5 callersMethodgetContainer
Returns the container (internally created root view; always non-null). <p> Callers obtain the Surface's root view via this method and add it to their
platforms/android/src/main/java/com/amap/agenui/render/surface/Surface.java:518
↓ 5 callersMethodgetRegisteredComponentCount
Returns the number of registered component types @return Number of registered component types
platforms/android/src/main/java/com/amap/agenui/render/component/ComponentRegistry.java:126
↓ 5 callersMethodgetSnapshot
* @brief Get the component snapshot * @return Snapshot pointer; nullptr if no snapshot exists */
core/src/surface/virtual_dom/agenui_virtual_dom_node.h:82
↓ 5 callersMethodgetSurfaceManager
platforms/harmony/agenui/src/main/cpp/a2ui/a2ui_message_listener.cpp:134
↓ 5 callersMethodgetTimestamp
()
playground/android/app/src/main/java/com/amap/agenuiplayground/stability/CrashTracker.java:390
↓ 5 callersMethodgetX
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_component.h:236
↓ 5 callersFunctioninitEdgeInsetValue
core/src/style_parser/agenui_edge_insets_parser.cpp:139
↓ 5 callersMethodinvalidateFrameCache
Invalidate both cache levels. Called when the data that feeds frame extraction changes: children list swap, direction change, child property update (f
platforms/android/src/main/java/com/amap/agenui/render/component/impl/list/YogaLayoutManager.java:90
↓ 5 callersMethodisArray
core/src/surface/agenui_serializable_data_impl.cpp:201
↓ 5 callersMethodisCancelled
Returns whether this is a cancellation error. @return true if the task was cancelled
platforms/android/src/main/java/com/amap/agenui/render/image/ImageLoaderError.java:58
↓ 5 callersMethodisNumber
core/src/surface/agenui_serializable_data_impl.cpp:189
↓ 5 callersMethodisObject
core/src/surface/agenui_serializable_data_impl.cpp:197
↓ 5 callersMethodloadDesignTokenConfig
core/src/module/agenui_engine_impl.cpp:209
↓ 5 callersFunctionload_payloads
Load payloads from one markdown file or two JSON files.
skills/a2ui-generation/scripts/validate_a2ui.py:817
↓ 5 callersFunctionnapiCheckArgIsFunction
platforms/harmony/agenui/src/main/cpp/a2ui/utils/a2ui_napi_utils.h:29
↓ 5 callersFunctionnormalizeHarmonyFontFamily
platforms/harmony/agenui/src/main/cpp/a2ui/utils/hm_font_utils.h:44
↓ 5 callersMethodonRoundCompleted
(String fixture, String error)
playground/android/app/src/main/java/com/amap/agenuiplayground/stability/RealisticScenarioEngine.java:48
↓ 5 callersFunctionparseAlphaValue
Helper: parse alpha value - float (0.0-1.0) or percentage (0%-100% -> 0.0-1.0)
core/src/style_parser/agenui_color_parser.cpp:1709
↓ 5 callersMethodreadIntStyle
(Object v)
platforms/android/src/main/java/com/amap/agenui/render/component/impl/list/YogaLayoutManager.java:492
↓ 5 callersMethodreplaceSurfaceIdInJson
Replace surfaceId in JSON @param json Original JSON string @param newSurfaceId New surfaceId @return Replaced JSON string
playground/android/app/src/main/java/com/amap/agenuiplayground/A2UIPlaygroundActivity.java:883
↓ 5 callersMethodreset
platforms/harmony/agenui/src/main/cpp/a2ui/render/gradient_applier.cpp:308
↓ 5 callersFunctionresolveExamplesPath
(path string)
agent_sdks/go/schema/catalog.go:67
↓ 5 callersFunctionresolveSidePx
Convert a single parsed edge value into a2ui-px. Only `px` (and unitless, which the C++ parser normalizes to px) is honored; every other CSS unit coll
platforms/harmony/agenui/src/main/cpp/a2ui/utils/a2ui_padding_utils.h:44
↓ 5 callersMethodsetChecked
Sets the checked state
platforms/android/src/main/java/com/amap/agenui/render/component/view/CustomCheckBoxView.java:168
↓ 5 callersMethodsetCustomLogger
Sets a custom logger delegate to receive log callbacks from the engine. This method should be called BEFORE initialize() to ensure all engine logs ar
platforms/android/src/main/java/com/amap/agenui/AGenUI.java:109
↓ 5 callersMethodsetFontWeight
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:540
↓ 5 callersMethodsetMaxValue
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:898
↓ 5 callersMethodsetObjectFitFill
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:796
← previousnext →301–400 of 4,245, ranked by callers