MCPcopy Create free account

hub / github.com/AGenUI/AGenUI / functions

Functions4,245 in github.com/AGenUI/AGenUI

↓ 11 callersMethodgetSurface
Returns a Surface @param surfaceId Unique Surface identifier @return Surface instance, or null if not found @hide
platforms/android/src/main/java/com/amap/agenui/render/surface/SurfaceManager.java:379
↓ 11 callersMethodgetView
()
platforms/android/src/main/java/com/amap/agenui/render/component/A2UIComponent.java:527
↓ 11 callersMethodhasSnapshot
core/src/surface/virtual_dom/agenui_virtual_dom_node.cpp:109
↓ 11 callersMethodinitialize
core/src/surface/agenui_template_registry.cpp:21
↓ 11 callersMethodinvokeNormalizePosition
(ColorValue.ColorStop cs, boolean forSweep)
platforms/android/src/test/java/com/amap/agenui/render/style/GradientDrawableFactoryLogicTest.java:421
↓ 11 callersMethodparse
core/src/style_parser/agenui_color_parser.cpp:31
↓ 11 callersMethodparseBoolean
Parse boolean value
platforms/android/src/main/java/com/amap/agenui/render/component/impl/ModalComponent.java:139
↓ 11 callersMethodsetEnabled
(boolean enabled)
platforms/android/src/main/java/com/amap/agenui/render/component/A2UIComponent.java:132
↓ 11 callersMethodstop
core/src/module/agenui_engine_impl.cpp:49
↓ 10 callersMethodProcessChunk
ProcessChunk processes a chunk of text and returns any complete A2UI messages found. This is the primary entry point for the streaming parser.
agent_sdks/go/parser/streaming.go:232
↓ 10 callersMethoddrawLine
(float startX, float startY, float stopX, float stopY, Paint paint)
platforms/android/src/main/java/com/amap/agenui/render/component/widget/A2UITextView.java:276
↓ 10 callersMethoddrawRoundRect
(RectF rect, float rx, float ry, Paint paint)
platforms/android/src/main/java/com/amap/agenui/render/component/widget/A2UITextView.java:346
↓ 10 callersMethodgetFactory
Returns the component factory for the given type @param componentType Component type @return Component factory instance, or null if not found
platforms/android/src/main/java/com/amap/agenui/render/component/ComponentRegistry.java:72
↓ 10 callersMethodgetHeight
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_component.h:239
↓ 10 callersMethodgetMeasurementManager
core/src/module/agenui_engine_impl.cpp:264
↓ 10 callersFunctionisCalcExpression
Helper: check if a string is a calc() expression
core/src/style_parser/agenui_color_parser.cpp:1618
↓ 10 callersMethodisTemplate
core/src/surface/agenui_template_registry.cpp:84
↓ 10 callersMethodmarkDirty
core/src/surface/yoga_node/agenui_yoga_node.cpp:106
↓ 10 callersFunctionparsePercent
core/src/surface/yoga_node/agenui_yoga_internal_parse.cpp:61
↓ 10 callersMethodpxToA2ui
(Context context, float value)
platforms/android/src/main/java/com/amap/agenui/render/style/StyleHelper.java:1228
↓ 10 callersMethodregisterFunction
core/src/module/agenui_engine_impl.cpp:159
↓ 10 callersMethodselectCatalog
selectCatalog selects the component catalog based on client capabilities.
agent_sdks/go/schema/manager.go:137
↓ 10 callersMethodsetJustifyContent
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:484
↓ 9 callersMethodLoadExamples
LoadExamples loads and optionally validates examples from a directory or glob pattern.
agent_sdks/go/schema/catalog.go:359
↓ 9 callersFunctionParseResponse
ParseResponse parses the LLM response into a list of ResponsePart objects. It extracts A2UI JSON blocks delimited by <a2ui-json> and </a2ui-json> tag
agent_sdks/go/parser/parser.go:50
↓ 9 callersMethodSurfaceID
SurfaceID returns the current surface ID.
agent_sdks/go/parser/streaming.go:169
↓ 9 callersMethodclearDirty
core/src/surface/component_manager/agenui_component_model.cpp:397
↓ 9 callersMethodcomputeContentBoundsPx
Bounding box of all current frames; drives content size. Uses Level-2 cache when available (invalidated together with Level-1 in onMeasure). Mirrors
platforms/android/src/main/java/com/amap/agenui/render/component/impl/list/YogaLayoutManager.java:191
↓ 9 callersMethodcreateTextView
(String text, int sizeSp, int color, boolean bold)
playground/android/app/src/main/java/com/amap/agenuiplayground/stability/StabilityTestActivity.java:495
↓ 9 callersFunctionexpectPercent
tests/cpp/style_parser/edge_insets_parser_test.cpp:19
↓ 9 callersMethodgetSurfaceId
()
platforms/android/src/main/java/com/amap/agenui/render/surface/Surface.java:500
↓ 9 callersFunctionhexCharToInt
Helper: convert hex character to integer value (0-15), returns 16 on error
core/src/style_parser/agenui_color_parser.cpp:1560
↓ 9 callersMethodinvokeCollectStops
(ColorValue.ColorStop[] raw, boolean forSweep)
platforms/android/src/test/java/com/amap/agenui/render/style/GradientDrawableFactoryLogicTest.java:442
↓ 9 callersMethodisHorizontal
()
platforms/android/src/main/java/com/amap/agenui/render/component/impl/ListComponent.java:82
↓ 9 callersMethodlogInternal
(int level, String tag, String message, Throwable tr)
platforms/android/src/main/java/com/amap/agenui/render/utils/AGenUILogger.java:302
↓ 9 callersFunctionparseLength
Parse a single CSS length token (e.g. "12px", "12em", or numeric JSON value). Returns true on success and writes the a2ui-px value into `outPx`.
platforms/harmony/agenui/src/main/cpp/a2ui/utils/a2ui_padding_utils.h:56
↓ 9 callersFunctionparseLengthValue
core/src/surface/yoga_node/agenui_css_style_converter.cpp:1440
↓ 9 callersMethodparseRoot
Parses the snapshot JSON serialized from C++ `ComponentSnapshot.stringify()`.
platforms/android/src/main/java/com/amap/agenui/render/measurement/MeasurementSupport.java:32
↓ 9 callersMethodregisterComponent
Registers a custom component factory <p> If the component type already exists, it will be overwritten. Takes effect immediately after registration and
platforms/android/src/main/java/com/amap/agenui/AGenUI.java:291
↓ 9 callersMethodrequest
()
platforms/android/src/main/java/com/amap/agenui/render/component/A2UIComponent.java:136
↓ 9 callersMethodrun
()
playground/android/app/src/main/java/com/amap/agenuiplayground/PerformanceMonitor.java:120
↓ 9 callersMethodsetScale
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_node.h:161
↓ 9 callersMethodsetState
(State state)
platforms/android/src/main/java/com/amap/agenui/render/component/view/CustomAudioPlayerView.java:281
↓ 9 callersMethodtakeOrphanSnapshot
core/src/surface/virtual_dom/agenui_virtual_dom.cpp:90
↓ 9 callersMethodupdateComponents
core/src/surface/agenui_surface.cpp:158
↓ 8 callersMethodCatalogID
CatalogID returns the catalog ID from the catalog schema.
agent_sdks/go/schema/catalog.go:165
↓ 8 callersMethodapplyOpacity
(int color, float opacity)
platforms/android/src/main/java/com/amap/agenui/render/utils/MagicRevealTransition.java:326
↓ 8 callersMethodcreateSuccess
Creates a success result. @param data Return value (String / JSONObject / JSONArray / Number / Boolean / null)
platforms/android/src/main/java/com/amap/agenui/function/FunctionResult.java:34
↓ 8 callersMethoddrawRect
(float left, float top, float right, float bottom, Paint paint)
platforms/android/src/main/java/com/amap/agenui/render/component/widget/A2UITextView.java:306
↓ 8 callersMethodenv
core/src/jni/jni_message_listener_bridge.cpp:56
↓ 8 callersMethodextractStyles
Extracts the styles object from properties. styles may be: 1. Map<String, Object> - used directly 2. String (JSON) - parsed first 3. null
platforms/android/src/main/java/com/amap/agenui/render/component/A2UIComponent.java:323
↓ 8 callersMethodgetDisplayName
()
playground/android/app/src/main/java/com/amap/agenuiplayground/story/SubStory.java:44
↓ 8 callersMethodgetParentId
core/src/surface/component_manager/agenui_component_manager.cpp:48
↓ 8 callersMethodhasDirty
* @brief Whether this component has any pending dirty attribute marks. */
core/src/surface/component_manager/agenui_component_model.h:208
↓ 8 callersMethodinvokeKeywordSize
(int sizeKeyword, int shape, float[] sides)
platforms/android/src/test/java/com/amap/agenui/render/style/GradientDrawableFactoryLogicTest.java:435
↓ 8 callersMethodisAsync
core/src/function_call/agenui_functioncall_resolution.cpp:93
↓ 8 callersMethodisCompleted
core/src/function_call/agenui_functioncall_resolution.cpp:97
↓ 8 callersMethodloadAssetFile
Read file content from assets
playground/android/app/src/main/java/com/amap/agenuiplayground/story/StoryLoader.java:365
↓ 8 callersMethodmeasure
(String paramJson, float maxWidth, int width
platforms/android/src/main/java/com/amap/agenui/render/measurement/IconMeasurer.java:23
↓ 8 callersMethodnotifyRenderFinish
platforms/harmony/agenui/src/main/cpp/a2ui/a2ui_component_render_observable.cpp:54
↓ 8 callersMethodonRenderFinish
(String surfaceId, String componentId, String type,
platforms/android/src/main/java/com/amap/agenui/render/surface/SurfaceLayoutDispatcher.java:35
↓ 8 callersMethodparseInt
core/src/style_parser/agenui_color_parser.cpp:1332
↓ 8 callersMethodremoveListener
Removes a Surface listener @param listener ISurfaceManagerListener instance
platforms/android/src/main/java/com/amap/agenui/render/surface/SurfaceManager.java:150
↓ 8 callersFunctionreplaceAll
platforms/harmony/agenui/src/main/cpp/a2ui/render/components/richtext_component.cpp:88
↓ 8 callersMethodsetAttribute
core/src/surface/component_manager/agenui_component_model.cpp:51
↓ 8 callersMethodsetCornerRadius
Sets the corner radius
platforms/android/src/main/java/com/amap/agenui/render/component/view/CustomCheckBoxView.java:203
↓ 8 callersFunctionsetDefaultLogMinLevel
core/src/agenui_logger_internal.cpp:55
↓ 8 callersMethodsetInnerGuards
* @brief Set inner guards that are cascaded on beginBatch/endBatch. * * When this guard opens a batch window (outermost beginBatch), it also
core/src/agenui_batch_guard.h:48
↓ 8 callersMethodsize
* @brief Get the length of the UTF-8 string. */
core/src/jni/jni_scoped_utf_chars.h:62
↓ 8 callersMethodstringify
core/src/surface/virtual_dom/agenui_component_snapshot.cpp:15
↓ 8 callersMethodsubmitUIDataModel
Submits a UI data model change to the Native layer @param surfaceId Surface ID @param componentId Component ID @param changeData Changed content (
platforms/android/src/main/java/com/amap/agenui/render/component/ComponentEventDispatcher.java:35
↓ 8 callersFunctiontrimWhitespace
Trim leading/trailing ASCII whitespace.
core/src/surface/component_manager/data_value/agenui_data_value_parser.cpp:32
↓ 8 callersMethodunregisterFunction
core/src/module/agenui_engine_impl.cpp:183
↓ 7 callersFunctionRemoveStrictValidation
RemoveStrictValidation recursively removes additionalProperties: false from a JSON schema, making it more lenient for LLM-generated output.
agent_sdks/go/schema/common_modifiers.go:20
↓ 7 callersMethodWithPruning
WithPruning returns a new catalog with pruned components and messages.
agent_sdks/go/schema/catalog.go:178
↓ 7 callersMethodasInt
core/src/surface/agenui_serializable_data_impl.cpp:154
↓ 7 callersMethodcloseDrawer
Close drawer
playground/android/app/src/main/java/com/amap/agenuiplayground/A2UIPlaygroundActivity.java:605
↓ 7 callersMethodcreate
core/src/surface/agenui_serializable_data_impl.cpp:17
↓ 7 callersFunctioncreateSurfaceJson
tests/cpp/integration/engine_destroy_chain_test.cpp:41
↓ 7 callersMethoddestroy
Destroys the Engine and releases all Native resources. This method should be called when the application exits.
platforms/android/src/main/java/com/amap/agenui/AGenUI.java:358
↓ 7 callersFunctiondestroyAGenUIEngine
core/src/module/agenui_engine_entry.cpp:28
↓ 7 callersFunctionexpectAuto
tests/cpp/style_parser/edge_insets_parser_test.cpp:25
↓ 7 callersFunctionextractBooleanValue
platforms/harmony/agenui/src/main/cpp/a2ui/utils/a2ui_parse_utils.h:59
↓ 7 callersFunctionfindSurfaceManagerByInstanceId
platforms/harmony/agenui/src/main/cpp/napi_init.cpp:233
↓ 7 callersMethodfixJSON
fixJSON attempts to fix a partial JSON fragment by adding missing closing delimiters.
agent_sdks/go/parser/streaming.go:341
↓ 7 callersMethodgetDefaultDuration
Returns the default animation duration in milliseconds.
platforms/android/src/main/java/com/amap/agenui/render/utils/ImageTransitionManager.java:46
↓ 7 callersMethodgetDefaultTransition
Returns the default transition animation.
platforms/android/src/main/java/com/amap/agenui/render/utils/ImageTransitionManager.java:28
↓ 7 callersFunctiongetEngineContext
core/src/module/agenui_engine_context.cpp:7
↓ 7 callersMethodgetNode
core/src/surface/yoga_node/agenui_yoga_node_manager.cpp:30
↓ 7 callersMethodgetPropertyStringValue
tests/cpp/surface/component_property_spec_test.cpp:22
↓ 7 callersMethodgetSize
(@NonNull Paint paint, CharSequence text, int start, int end, @Nullable Paint.FontMetri
platforms/android/src/main/java/com/amap/agenui/render/component/impl/span/CustomBackgroundSpan.java:77
↓ 7 callersMethodgetWidth
platforms/harmony/agenui/src/main/cpp/a2ui/render/a2ui_component.h:238
↓ 7 callersMethodhasStyle
tests/cpp/surface/component_property_spec_test.cpp:31
↓ 7 callersMethodhashCode
()
platforms/android/src/main/java/com/amap/agenui/render/layout/YogaAbsoluteLayout.java:57
↓ 7 callersMethodisBool
core/src/surface/agenui_serializable_data_impl.cpp:185
↓ 7 callersMethodisEnabled
Check if logging is currently enabled. @return true if logging is enabled
platforms/android/src/main/java/com/amap/agenui/render/utils/AGenUILogger.java:89
↓ 7 callersMethodisValid
* @brief Check whether the layout info is valid * @return false if all values are 0, true otherwise */
core/src/surface/virtual_dom/agenui_component_snapshot.h:27
↓ 7 callersFunctionmapStringToArkUIFontWeight
Parse a font-weight string to ArkUI enum (for render layer). Accepts "bold", "normal", or numeric string ("100".."900"). Returns ARKUI_FONT_WEIGHT_BOL
platforms/harmony/agenui/src/main/cpp/a2ui/utils/a2ui_font_weight_utils.h:28
↓ 7 callersMethodonSurfaceSizeChanged
(String surfaceId, float width, float height)
platforms/android/src/main/java/com/amap/agenui/render/surface/SurfaceLayoutDispatcher.java:42
↓ 7 callersMethodrun
()
platforms/android/src/main/java/com/amap/agenui/render/component/impl/CarouselComponent.java:398
← previousnext →201–300 of 4,245, ranked by callers