Home
last modified time | relevance | path

Searched refs:textIndent (Results 1 - 19 of 19) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/measure/
H A Dcj_measure_ffi.cpp103 if (context.textIndent.hasValue) { in FromCJCreateMeasureContext()
104 measureContext.textIndent = Dimension( in FromCJCreateMeasureContext()
105 context.textIndent.value.value, in FromCJCreateMeasureContext()
106 DimensionUnit(context.textIndent.value.unitType) in FromCJCreateMeasureContext()
H A Dcj_measure_ffi.h38 NativeOptionLength textIndent; member
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dmeasure_util.h38 std::optional<Dimension> textIndent = std::nullopt; member
/foundation/arkui/ace_engine/interfaces/napi/kits/measure/
H A Djs_measure.cpp275 napi_get_named_property(env, argv, "textIndent", &contextParamMap["textIndentNApi"]); in SetMeasureTextNapiProperty()
298 std::optional<Dimension> textIndent = in SetContextProperty() local
333 context.textIndent = textIndent; in SetContextProperty()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_drag/
H A Dtext_drag_test_ng.h47 std::optional<Dimension> textIndent = std::nullopt; member
H A Dtext_drag_test_ng.cpp131 if (textProperty.textIndent.has_value()) { in SetTextProperty()
132 textModel.SetTextIndent(textProperty.textIndent.value()); in SetTextProperty()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dspan_object.h57 std::optional<Dimension> textIndent; member
62 textOverflow == other.textOverflow && textIndent == other.textIndent; in Equal()
H A Dspan_object.cpp707 if (paragraphStyle_.textIndent.has_value()) { in AddParagraphStyle()
708 spanItem->textLineStyle->UpdateTextIndent(paragraphStyle_.textIndent.value()); in AddParagraphStyle()
H A Dspan_string.cpp1133 paragraphStyle.textIndent = spanItem->textLineStyle->GetTextIndent(); in ToParagraphStyleSpan()
/foundation/arkui/ace_engine/test/unittest/adapter/ohos/capability/
H A Dhtml_convert_test.cpp108 // defalut textIndent 23 in GetDefaultParagraphStyle()
109 spanParagraphStyle.textIndent = Dimension(23.0_vp); in GetDefaultParagraphStyle()
342 // defalut textIndent 23 in HWTEST_F()
343 spanParagraphStyle.textIndent = Dimension(23.0_vp); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_base.cpp225 if (testProperty.textIndent.has_value()) { in CreateTextParagraph()
226 textModel.SetTextIndent(testProperty.textIndent.value()); in CreateTextParagraph()
H A Dspan_string_test_ng.cpp1058 spanParagraphStyle.textIndent = Dimension(23); in HWTEST_F()
1083 EXPECT_EQ(paraSpan->GetParagraphStyle().textIndent, Dimension(23)); in HWTEST_F()
1108 spanParagraphStyle.textIndent = Dimension(23); in HWTEST_F()
1134 spanParagraphStyle.textIndent = Dimension(23); in HWTEST_F()
1165 spanParagraphStyle.textIndent = Dimension(23); in HWTEST_F()
1216 spanParagraphStyle.textIndent = Dimension(23); in HWTEST_F()
H A Dtext_base.h203 std::optional<Dimension> textIndent = std::nullopt; member
H A Dtext_test_ng.cpp77 testProperty.textIndent = std::make_optional(TEXT_INDENT); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/
H A Djs_span_object.cpp1195 "textIndent", &JSParagraphStyleSpan::GetTextIndent, &JSParagraphStyleSpan::SetTextIndent); in JSBind()
1260 if (!obj->HasProperty("textIndent")) { in ParseJsTextIndent()
1263 auto textIndent = obj->GetProperty("textIndent"); in ParseJsTextIndent() local
1265 if (!textIndent->IsNull() && textIndent->IsObject()) { in ParseJsTextIndent()
1266 auto textIndentObj = JSRef<JSObject>::Cast(textIndent); in ParseJsTextIndent()
1281 paragraphStyle.textIndent = size; in ParseJsTextIndent()
1428 if (!paragraphStyleSpan_->GetParagraphStyle().textIndent.has_value()) { in GetTextIndent()
1432 JSRef<JSVal>::Make(JSVal(ToJSValue(paragraphStyleSpan_->GetParagraphStyle().textIndent in GetTextIndent()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.h425 void SetTextIndent(const Dimension& textIndent) in SetTextIndent() argument
427 textIndent_ = textIndent; in SetTextIndent()
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_custom_paint.cpp680 if (context.textIndent.value().Unit() != DimensionUnit::PERCENT) { in IsApplyIndent()
681 indent = context.textIndent.value().ConvertToPx(); in IsApplyIndent()
685 indent = context.constraintWidth.value().ConvertToPx() * context.textIndent.value().Value(); in IsApplyIndent()
833 if (context.textIndent.has_value() && !LessOrEqual(context.textIndent.value().Value(), 0.0)) { in MeasureTextSizeInner()
/foundation/arkui/ace_engine/adapter/ohos/capability/html/
H A Dhtml_to_span.cpp295 style->textIndent = FromString(value); in InitParagrap()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js9600 textIndent(value) {
11931 textIndent(value) {
13281 textIndent(value) {
14969 textIndent(value) {

Completed in 48 milliseconds