/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | typography_style.h | 69 size_t maxLines = 1e9; member 102 this->maxLines == rhs.maxLines && in operator ==()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | paragraph.h | 131 uint32_t maxLines = UINT32_MAX; member 145 return direction == others.direction && align == others.align && maxLines == others.maxLines && in operator ==() 160 result += ", maxLines: "; in ToString() 161 result += std::to_string(maxLines); in ToString()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/measure/ |
H A D | cj_measure_ffi.h | 39 uint32_t maxLines; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | multiple_paragraph_layout_algorithm.cpp | 180 pStyle.maxLines = lineStyle->GetMaxLinesValue(); in GetSpanParagraphStyle() 383 .maxLines = static_cast<int32_t>(textStyle.GetMaxLines()) < 0 ? UINT32_MAX : textStyle.GetMaxLines(), in GetParagraphStyle() 473 auto maxLines = static_cast<int32_t>(paraStyle.maxLines); in UpdateParagraphBySpan() local 484 if (paraStyle.maxLines != UINT32_MAX && !spanStringHasMaxLines_ && isSpanStringMode_) { in UpdateParagraphBySpan() 486 maxLines -= static_cast<int32_t>(paragraphManager_->GetParagraphs().back().paragraph->GetLineCount()); in UpdateParagraphBySpan() 488 spanParagraphStyle.maxLines = std::max(maxLines, 0); in UpdateParagraphBySpan() 557 if (paraStyle.maxLines != UINT32_MAX && !spanStringHasMaxLines_ && isSpanStringMode_) { in UpdateParagraphBySpan()
|
H A D | text_layout_algorithm.cpp | 86 pStyle.maxLines != UINT32_MAX) { in ConstructParagraphSpanGroup() 90 spanStringHasMaxLines_ |= pStyle.maxLines != UINT32_MAX; in ConstructParagraphSpanGroup() 629 auto maxLines = textStyle.GetMaxLines(); in BuildParagraphAdaptUseLayoutConstraint() local 630 if (maxLines == 0) { in BuildParagraphAdaptUseLayoutConstraint() 633 maxLines = textStyle.GetMaxLines() - 1; in BuildParagraphAdaptUseLayoutConstraint() 634 textStyle.SetMaxLines(maxLines); in BuildParagraphAdaptUseLayoutConstraint()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | button_request_data.h | 39 std::optional<uint32_t> maxLines; member
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography_style.h | 46 size_t maxLines = std::numeric_limits<size_t>::max(); member in OHOS::Ace::Testing::TestingTypographyStyle
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/ |
H A D | select_layout_algorithm.h | 41 void UpdateOptionsMaxLines(const std::vector<RefPtr<FrameNode>>& options, int32_t maxLines);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/ |
H A D | typography_style.cpp | 52 return maxLines == 1e9; // maximum number of lines in IsUnlimitedLines()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_text_ffi.cpp | 80 void FfiOHOSAceFrameworkTextSetMaxLines(int32_t maxLines) in FfiOHOSAceFrameworkTextSetMaxLines() argument 82 TextModel::GetInstance()->SetMaxLines(maxLines); in FfiOHOSAceFrameworkTextSetMaxLines()
|
H A D | cj_text_ffi.h | 34 CJ_EXPORT void FfiOHOSAceFrameworkTextSetMaxLines(int32_t maxLines);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_tab_content.cpp | 293 JSRef<JSVal> maxLines = obj->GetProperty("maxLines"); in SetLabelStyle() local 294 if (!maxLines->IsNull() && maxLines->IsNumber() && maxLines->ToNumber<int32_t>() > 0) { in SetLabelStyle() 295 labelStyle.maxLines = maxLines->ToNumber<int32_t>(); in SetLabelStyle() 494 if (!labelStyle.maxLines.has_value()) { in CompleteParameters() 495 labelStyle.maxLines = 1; in CompleteParameters()
|
H A D | js_button.cpp | 285 if (!buttonParameters.maxLines.has_value()) { in CompleteParameters() 286 buttonParameters.maxLines = buttonTheme->GetTextMaxLines(); in CompleteParameters() 322 JSRef<JSVal> maxLines = obj->GetProperty("maxLines"); in SetLableStyle() local 323 if (!maxLines->IsNull() && maxLines->IsNumber()) { in SetLableStyle() 324 buttonParameters.maxLines = Positive(maxLines->ToNumber<int32_t>()) ? maxLines->ToNumber<int32_t>() : 1; in SetLableStyle()
|
/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/ |
H A D | editabletitlebar.js | 426 Text.maxLines(this.subtitle ? MAX_LINE_ONE : MAX_LINES_TWO); 454 Text.maxLines(MAX_LINE_ONE); 1153 this.__maxLines = new ObservedPropertySimplePU(1, this, 'maxLines'); 1201 if (n1.maxLines !== undefined) { 1202 this.maxLines = n1.maxLines; 1237 get maxLines() { 1240 set maxLines(h1) { 1308 Text.maxLines(this.maxLines); [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/toolbar/interfaces/ |
H A D | toolbar.js | 544 Text.maxLines(1); 699 Text.maxLines(1); 980 this.__maxLines = new ObservedPropertySimplePU(1, this, 'maxLines'); 1018 if (q1.maxLines !== undefined) { 1019 this.maxLines = q1.maxLines; 1066 get maxLines() { 1069 set maxLines(k1) { 1207 Text.maxLines(this.maxLines); [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/ |
H A D | composetitlebar.js | 227 Text.maxLines(this.subtitle !== undefined ? 1 : 2); 268 Text.maxLines(1); 1167 this.__maxLines = new ObservedPropertySimplePU(1, this, 'maxLines'); 1210 if (h1.maxLines !== undefined) { 1211 this.maxLines = h1.maxLines; 1251 get maxLines() { 1254 set maxLines(b1) { 1317 Text.maxLines(this.maxLines); [all...] |
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/ |
H A D | typography_style.h | 48 size_t maxLines = std::numeric_limits<size_t>::max(); member
|
/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/ |
H A D | selecttitlebar.js | 372 Text.maxLines(1); 1330 this.__maxLines = new ObservedPropertySimplePU(1, this, 'maxLines'); 1374 if (params.maxLines !== undefined) { 1375 this.maxLines = params.maxLines; 1424 get maxLines() { 1428 set maxLines(newValue) { 1521 Text.maxLines(this.maxLines); 1581 this.maxLines [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | span_model_adapter.cpp | 142 .maxLines = typoStyle->maxLines, in CreateParagraphStyle()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | paragraph_style.h | 77 size_t maxLines = std::numeric_limits<size_t>::max(); member in OHOS::Rosen::SPText::BreakStrategy::ParagraphStyle
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tabs_sub_tab_bar_style_test_ng.cpp | 644 EXPECT_EQ(tabContentPattern->GetLabelStyle().maxLines, std::nullopt); in HWTEST_F() 686 EXPECT_EQ(tabContentPattern->GetLabelStyle().maxLines, std::nullopt); in HWTEST_F() 737 labelStyle.maxLines = 0; in HWTEST_F() 750 EXPECT_EQ(tabContentPattern->GetLabelStyle().maxLines, labelStyle.maxLines); in HWTEST_F() 791 labelStyle.maxLines = 0; in HWTEST_F() 804 EXPECT_EQ(tabContentPattern->GetLabelStyle().maxLines, labelStyle.maxLines); in HWTEST_F() 1001 labelStyle.maxLines = 0; in HWTEST_F() 1023 EXPECT_EQ(layoutProperty->GetMaxLines(), labelStyle.maxLines); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/subheader/interfaces/ |
H A D | subheader.js | 79 this.maxLines = 0; 155 Text.maxLines(u17?.maxLines); 170 Text.maxLines(r17?.maxLines); 1220 maxLines: DOUBLE_LINE_NUM, 1249 maxLines: DOUBLE_LINE_NUM, 1259 maxLines: DOUBLE_LINE_NUM, 1277 maxLines: DOUBLE_LINE_NUM, 1323 maxLines [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/text/ |
H A D | rosen_render_text.cpp | 344 textStyle_.SetMaxLines(preferTextSizeGroup.maxLines); in AdaptPreferTextSizeGroup() 494 style.maxLines = textStyle_.GetMaxLines(); in UpdateParagraph() 502 style.maxLines = 1; in UpdateParagraph() 511 style.maxLines = 1; in UpdateParagraph()
|
/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/interfaces/ |
H A D | exceptionprompt.js | 188 Text.maxLines(2); 281 Text.maxLines(2);
|
/foundation/arkui/ace_engine/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 187 Text.maxLines(TITLE_MAX_LINE); 198 Text.maxLines(SUBTITLE_MAX_LINE);
|