Home
last modified time | relevance | path

Searched refs:textAlign_ (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/
H A Dtypography_style.cpp58 if (textAlign_ == TextAlign::START) { in GetTextStyle()
60 } else if (textAlign_ == TextAlign::END) { in GetTextStyle()
70 return textAlign_; in GetTextStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.cpp36 …textOverflow_ == rhs.textOverflow_ && textAlign_ == rhs.textAlign_ && textColor_ == rhs.textColor_… in operator ==()
104 JSON_STRING_PUT_INT(jsonValue, textAlign_); in ToString()
H A Dpaint_state.h213 return textAlign_; in GetTextAlign()
218 textAlign_ = textAlign; in SetTextAlign()
314 TextAlign textAlign_ = TextAlign::LEFT; variable
H A Dtext_style.h583 return textAlign_; in GetTextAlign()
587 textAlign_ = textAlign; in SetTextAlign()
791 TextAlign textAlign_ { TextAlign::START };
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_typography_style.h36 TextAlign textAlign_ = TextAlign::START; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_content_modifier.cpp181 textAlign_ = AceType::MakeRefPtr<PropertyInt>(static_cast<int32_t>(TextAlign::START)); in SetDefaultPropertyValue()
195 AttachProperty(textAlign_); in SetDefaultPropertyValue()
433 if (textAlign_->Get() != static_cast<int32_t>(value)) { in SetTextAlign()
434 textAlign_->Set(static_cast<int32_t>(value)); in SetTextAlign()
H A Dtext_field_content_modifier.h117 RefPtr<PropertyInt> textAlign_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/text/renderservice/
H A Dmain.cpp76 typoStype.textAlign_ = TextAlign::START; in DoDraw()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Doverlay_modifier.h99 paraStyle.textAlign_ = ToRSTextAlign(textStyle.GetTextAlign()); in GetParagraph()
H A Dtxt_paragraph.h188 TextAlign textAlign_ = TextAlign::START; variable
H A Dtxt_paragraph.cpp106 textAlign_ = style.GetTextAlign(); in PushStyle()
190 placeholderCnt_, static_cast<int>(textAlign_), destructCount); in ~TxtParagraph()
583 switch (textAlign_) { in MakeEmptyOffsetX()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_manager.h177 TextAlign textAlign_ = TextAlign::START; variable
H A Dtext_overlay_manager.cpp52 switch (textAlign_) { in MakeEmptyOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drender_text_field.h300 return textAlign_; in GetTextAlign()
565 TextAlign textAlign_ = TextAlign::START; variable
H A Drosen_render_text_field.cpp1163 style->text_align = ConvertTxtTextAlign(textAlign_);
1166 style->textAlign = ConvertTxtTextAlign(textAlign_);
1478 switch (textAlign_) {
H A Drender_text_field.cpp254 textAlign_ = textField->GetTextAlign(); in Update()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/text_field/
H A Drender_text_field_test.cpp86 return textAlign_; in GetTextAlign()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_text_typography_test.cpp119 EXPECT_EQ(ConvertToOriginalText(typoStyle)->textAlign_, TextAlign::LEFT);
125 EXPECT_EQ(ConvertToOriginalText(typoStyle)->textAlign_, TextAlign::RIGHT);
131 EXPECT_EQ(ConvertToOriginalText(typoStyle)->textAlign_, TextAlign::CENTER);
137 EXPECT_EQ(ConvertToOriginalText(typoStyle)->textAlign_, TextAlign::JUSTIFY);
143 EXPECT_EQ(ConvertToOriginalText(typoStyle)->textAlign_, TextAlign::START);
149 EXPECT_EQ(ConvertToOriginalText(typoStyle)->textAlign_, TextAlign::END);
155 EXPECT_EQ(ConvertToOriginalText(typoStyle)->textAlign_, TextAlign::LEFT);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_typography.cpp163 ConvertToOriginalText<TypographyStyle>(style)->textAlign_ = textAlign; in OH_Drawing_SetTypographyTextAlign()