Home
last modified time | relevance | path

Searched refs:spanId (Results 1 - 9 of 9) sorted by relevance

/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_element_info.cpp996 HILOG_INFO("AddSpanListsize:spanId: %{public}d, spanText: %{public}s, accessibilityText: %{public}s," in AddSpan()
1015 SpanInfo::SpanInfo(const int32_t &spanId, const std::string &spanText, const std::string &accessibilityText, in SpanInfo() argument
1018 spanId_ = spanId; in SpanInfo()
1025 void SpanInfo::SetSpanId(const int32_t spanId) in SetSpanId() argument
1027 spanId_ = spanId; in SetSpanId()
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Daccessibility_property.h48 using ActionExecSubComponentImpl = std::function<bool(int32_t spanId)>;
285 bool ActActionExecSubComponent(int32_t spanId) in ActActionExecSubComponent() argument
288 return actionExecSubComponentImpl_(spanId); in ActActionExecSubComponent()
/foundation/arkui/ace_engine/frameworks/core/accessibility/
H A Daccessibility_utils.h213 int32_t spanId = 0; member
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_element_info.h479 * @param spanId The span Id.
485 SpanInfo(const int32_t &spanId, const std::string &spanText, const std::string &accessibilityText,
490 * @param spanId The span Id.
492 void SetSpanId(const int32_t spanId);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp2517 accessibilityProperty->SetActionExecSubComponent([weakPtr = WeakClaim(this)](int32_t spanId) -> bool { in SetActionExecSubComponent()
2520 return pattern->ExecSubComponent(spanId); in SetActionExecSubComponent()
2606 bool TextPattern::ExecSubComponent(int32_t spanId) in ExecSubComponent() argument
2608 if ((spanId < 0) || (spanId >= static_cast<int32_t>(subComponentInfos_.size()))) { in ExecSubComponent()
2611 auto subComponentInfo = subComponentInfos_[spanId]; in ExecSubComponent()
2634 subComponentInfo.spanId = static_cast<int32_t>(subComponentInfos.size()); in AddSubComponentInfoForSpan()
2655 subComponentInfo.spanId = static_cast<int32_t>(subComponentInfos.size()); in AddSubComponentInfoForAISpan()
H A Dtext_pattern.h818 bool ExecSubComponent(int32_t spanId);
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
H A Dnapi_accessibility_utils.cpp981 napi_create_string_utf8(env, "spanId", NAPI_AUTO_LENGTH, &propertyNameValue); in ConvertActionArgsJSToNAPI()
984 args.insert(std::pair<std::string, std::string>("spanId", str.c_str())); in ConvertActionArgsJSToNAPI()
1086 napi_value spanId; in ConvertSpanToJS() local
1087 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, span.GetSpanId(), &spanId)); in ConvertSpanToJS()
1088 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, result, "spanId", spanId)); in ConvertSpanToJS()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Djs_accessibility_manager.h80 int32_t spanId = -1; member
H A Djs_accessibility_manager.cpp120 return param.accessibilityProperty->ActActionExecSubComponent(static_cast<int32_t>(param.spanId));
1259 nodeInfo.AddSpan(SpanInfo(subComponent.spanId, subComponent.spanText, in UpdateAccessibilityElementInfo()
4480 param.spanId = getArgumentByKey(actionArguments, ACTION_ARGU_SPAN_ID); in ActAccessibilityAction()

Completed in 29 milliseconds