Searched refs:placeholderStyle (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | multiple_paragraph_layout_algorithm.cpp | 593 PlaceholderStyle placeholderStyle; in AddImageToParagraph() local 602 placeholderStyle.width = geometryNode->GetMarginFrameSize().Width(); in AddImageToParagraph() 603 placeholderStyle.height = geometryNode->GetMarginFrameSize().Height(); in AddImageToParagraph() 604 placeholderStyle.paragraphFontSize = Dimension(paragraphFontSize_); in AddImageToParagraph() 636 PlaceholderStyle placeholderStyle; in AddPlaceHolderToParagraph() local 637 placeholderStyle.width = geometryNode->GetMarginFrameSize().Width(); in AddPlaceHolderToParagraph() 639 placeholderStyle.verticalAlign = VerticalAlign::NONE; in AddPlaceHolderToParagraph() 676 PlaceholderStyle placeholderStyle; in UpdateParagraphByCustomSpan() local 677 placeholderStyle.width = width; in UpdateParagraphByCustomSpan() 678 placeholderStyle.height = height; in UpdateParagraphByCustomSpan() [all …]
|
H A D | span_node.cpp | 916 bool /* isSpanStringMode */, PlaceholderStyle placeholderStyle, bool /* isMarquee*/) in UpdateParagraph() argument 920 run.width = placeholderStyle.width; in UpdateParagraph() 921 run.height = placeholderStyle.height; in UpdateParagraph() 922 if (!NearZero(placeholderStyle.baselineOffset)) { in UpdateParagraph() 923 run.baseline_offset = placeholderStyle.baselineOffset; in UpdateParagraph() 926 switch (placeholderStyle.verticalAlign) { in UpdateParagraph() 948 textStyle.SetFontSize(placeholderStyle.paragraphFontSize); in UpdateParagraph() 949 textStyle.SetTextColor(placeholderStyle.paragraphTextColor); in UpdateParagraph() 1060 bool /* isSpanStringMode */, PlaceholderStyle placeholderStyle, bool /* isMarquee*/) in UpdateParagraph() argument 1064 run.width = placeholderStyle.width; in UpdateParagraph() [all …]
|
H A D | span_node.h | 224 …bool isSpanStringMode = false, PlaceholderStyle placeholderStyle = PlaceholderStyle(), bool isMarq… 594 bool isSpanStringMode = false, PlaceholderStyle placeholderStyle = PlaceholderStyle(), 769 bool isSpanStringMode = false, PlaceholderStyle placeholderStyle = PlaceholderStyle(),
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_builder_impl.cpp | 134 skt::PlaceholderStyle placeholderStyle; in AddPlaceholder() local 135 placeholderStyle.fHeight = run.height; in AddPlaceholder() 136 placeholderStyle.fWidth = run.width; in AddPlaceholder() 137 placeholderStyle.fBaseline = static_cast<skt::TextBaseline>(run.baseline); in AddPlaceholder() 138 placeholderStyle.fBaselineOffset = run.baselineOffset; in AddPlaceholder() 139 placeholderStyle.fAlignment = static_cast<skt::PlaceholderAlignment>(run.alignment); in AddPlaceholder() 141 builder_->addPlaceholder(placeholderStyle); in AddPlaceholder()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | span_test_ng.cpp | 520 PlaceholderStyle placeholderStyle; variable 521 placeholderStyle.width = 9.0; 522 placeholderStyle.height = 10.0; 523 placeholderStyle.verticalAlign = VerticalAlign::TOP; 525 placeholderStyle.verticalAlign = VerticalAlign::CENTER; 526 index = spanItem->UpdateParagraph(nullptr, paragraph, false, placeholderStyle); 527 placeholderStyle.verticalAlign = VerticalAlign::BOTTOM; 528 index = spanItem->UpdateParagraph(nullptr, paragraph, false, placeholderStyle); 529 placeholderStyle.verticalAlign = VerticalAlign::BASELINE; 530 index = spanItem->UpdateParagraph(nullptr, paragraph, false, placeholderStyle); [all …]
|