Searched refs:placeholderSpan (Results 1 – 13 of 13) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | convert_test.cpp | 123 PlaceholderSpan placeholderSpan; variable 124 placeholderSpan.alignment = PlaceholderVerticalAlignment::OFFSET_AT_BASELINE; 125 SPText::PlaceholderRun placeholderRun = AdapterTxt::Convert(placeholderSpan);
|
H A D | typography_create_test.cpp | 63 const OHOS::Rosen::PlaceholderSpan placeholderSpan = {0.0, 0.0, variable 65 typographyCreate->AppendPlaceholder(placeholderSpan);
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_builder_napi/ |
H A D | js_paragraph_builder.cpp | 222 PlaceholderSpan placeholderSpan; in OnAddPlaceholder() local 223 bool res = GetPlaceholderSpanFromJS(env, argv[0], placeholderSpan); in OnAddPlaceholder() 227 typographyCreate_->AppendPlaceholder(placeholderSpan); in OnAddPlaceholder()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.cpp | 389 bool GetPlaceholderSpanFromJS(napi_env env, napi_value argValue, PlaceholderSpan& placeholderSpan) in GetPlaceholderSpanFromJS() argument 398 placeholderSpan.width = width; in GetPlaceholderSpanFromJS() 406 placeholderSpan.height = height; in GetPlaceholderSpanFromJS() 414 placeholderSpan.alignment = PlaceholderVerticalAlignment(align); in GetPlaceholderSpanFromJS() 422 placeholderSpan.baseline = TextBaseline(baseline); in GetPlaceholderSpanFromJS() 430 placeholderSpan.baselineOffset = baselineOffset; in GetPlaceholderSpanFromJS()
|
H A D | napi_common.h | 506 bool GetPlaceholderSpanFromJS(napi_env env, napi_value argValue, PlaceholderSpan& placeholderSpan);
|
/ohos5.0/docs/zh-cn/application-dev/graphics/ |
H A D | text-js-guidelines.md | 15 | addPlaceholder(placeholderSpan: PlaceholderSpan): void | 用于在构建文本段落时插入占位符。 |
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_richeditor.h | 185 void ParseOptions(const JSCallbackInfo& args, SpanOptionBase& placeholderSpan);
|
H A D | js_richeditor.cpp | 1922 …d JSRichEditorController::ParseOptions(const JSCallbackInfo& args, SpanOptionBase& placeholderSpan) in ParseOptions() argument 1936 placeholderSpan.offset = placeholderOffset; in ParseOptions()
|
/ohos5.0/docs/en/application-dev/graphics/ |
H A D | text-js-guidelines.md | 15 | addPlaceholder(placeholderSpan: PlaceholderSpan): void | Inserts a placeholder into the paragraph…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-text.md | 1451 addPlaceholder(placeholderSpan: PlaceholderSpan): void 1461 | placeholderSpan | [PlaceholderSpan](#placeholderspan) | 是 | 定义了占位符的尺寸、对齐方式、基线类型以及基线偏移量。 |
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_pattern.cpp | 2313 auto placeholderSpan = DynamicCast<PlaceholderSpanItem>(span); in GetSubComponentInfosForSpans() local 2314 if ((placeholderSpan != nullptr) && (placeholderSpan->placeholderSpanNodeId >=0)) { in GetSubComponentInfosForSpans() 2954 auto placeholderSpan = placeholderSpanNode->GetSpanItem(); in AddChildSpanItem() local 2955 placeholderSpan->placeholderSpanNodeId = placeholderSpanNode->GetId(); in AddChildSpanItem() 2956 spans_.emplace_back(placeholderSpan); in AddChildSpanItem()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_text_typography_test.cpp | 831 OH_Drawing_PlaceholderSpan placeholderSpan = {20, 40, variable 833 OH_Drawing_TypographyHandlerAddPlaceholder(handler, &placeholderSpan);
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-text.md | 1454 addPlaceholder(placeholderSpan: PlaceholderSpan): void 1464 | placeholderSpan | [PlaceholderSpan](#placeholderspan) | Yes | Placeholder span, which describes …
|