Home
last modified time | relevance | path

Searched refs:maxLines (Results 1 - 25 of 83) sorted by relevance

1234

/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/
H A Dtypography_style.h69 size_t maxLines = 1e9; member
102 this->maxLines == rhs.maxLines && in operator ==()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dparagraph.h131 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 Dcj_measure_ffi.h39 uint32_t maxLines; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dmultiple_paragraph_layout_algorithm.cpp180 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 Dtext_layout_algorithm.cpp86 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 Dbutton_request_data.h39 std::optional<uint32_t> maxLines; member
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_typography_style.h46 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 Dselect_layout_algorithm.h41 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 Dtypography_style.cpp52 return maxLines == 1e9; // maximum number of lines in IsUnlimitedLines()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_text_ffi.cpp80 void FfiOHOSAceFrameworkTextSetMaxLines(int32_t maxLines) in FfiOHOSAceFrameworkTextSetMaxLines() argument
82 TextModel::GetInstance()->SetMaxLines(maxLines); in FfiOHOSAceFrameworkTextSetMaxLines()
H A Dcj_text_ffi.h34 CJ_EXPORT void FfiOHOSAceFrameworkTextSetMaxLines(int32_t maxLines);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_tab_content.cpp293 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 Djs_button.cpp285 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 Deditabletitlebar.js426 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 Dtoolbar.js544 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 Dcomposetitlebar.js227 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 Dtypography_style.h48 size_t maxLines = std::numeric_limits<size_t>::max(); member
/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/
H A Dselecttitlebar.js372 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 Dspan_model_adapter.cpp142 .maxLines = typoStyle->maxLines, in CreateParagraphStyle()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dparagraph_style.h77 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 Dtabs_sub_tab_bar_style_test_ng.cpp644 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 Dsubheader.js79 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 Drosen_render_text.cpp344 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 Dexceptionprompt.js188 Text.maxLines(2);
281 Text.maxLines(2);
/foundation/arkui/ace_engine/advanced_ui_component/interstitialdialogaction/interfaces/
H A Dinterstitialdialogaction.js187 Text.maxLines(TITLE_MAX_LINE);
198 Text.maxLines(SUBTITLE_MAX_LINE);

Completed in 20 milliseconds

1234