Home
last modified time | relevance | path

Searched refs:indent (Results 1 - 20 of 20) sorted by relevance

/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dproperty.cpp680 int indent = 1; in Dump() local
681 std::string indentStr = MtpPacketTool::GetIndentBlank(indent); in Dump()
690 DumpValue(indent, defaultValue, "defaultValue"); in Dump()
691 DumpValue(indent, currentValue, "currentValue"); in Dump()
693 DumpValues(indent, defaultValues, "defaultValues"); in Dump()
694 DumpValues(indent, currentValues, "currentValues"); in Dump()
698 DumpForm(indent); in Dump()
702 void Property::DumpValue(uint8_t indent, const std::shared_ptr<Value> &value, const std::string &name) in DumpValue() argument
704 std::string indentStr = MtpPacketTool::GetIndentBlank(indent); in DumpValue()
710 void Property::DumpValues(uint8_t indent, cons argument
725 DumpForm(uint8_t indent) DumpForm() argument
[all...]
H A Dmtp_packet_tools.cpp962 std::string MtpPacketTool::GetIndentBlank(size_t indent) in GetIndentBlank() argument
965 size_t num = indent * INDENT_SIZE; in GetIndentBlank()
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dproperty.h113 void DumpValue(uint8_t indent, const std::shared_ptr<Value> &value, const std::string &name);
114 void DumpValues(uint8_t indent, const std::shared_ptr<std::vector<Value>> &values, const std::string &name);
115 void DumpForm(uint8_t indent);
H A Dmtp_packet_tools.h118 static std::string GetIndentBlank(size_t indent);
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/
H A Dmtp_test.cpp148 size_t indent = 0; in HWTEST_F() local
149 ret = MtpPacketTool::GetIndentBlank(indent); in HWTEST_F()
157 bool retTest = MtpPacketTool::DumpClear(indent, hexBuf, hexBufSize, txtBuf, txtBufSize); in HWTEST_F()
165 retTest = MtpPacketTool::DumpClear(indent, hexBuf, hexBufSize, txtBuf, txtBufSize); in HWTEST_F()
266 uint8_t indent = 0; in HWTEST_F() local
269 property.DumpValues(indent, values, name); in HWTEST_F()
271 property.DumpValues(indent, values, name); in HWTEST_F()
272 property.DumpForm(indent); in HWTEST_F()
274 property.DumpForm(indent); in HWTEST_F()
277 property.DumpForm(indent); in HWTEST_F()
430 uint8_t indent = 0; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dparagraph.h140 Dimension indent; member
148 leadingMargin == others.leadingMargin && fontSize == others.fontSize && indent == others.indent; in operator ==()
170 result += ", indent: "; in ToString()
171 result += indent.ToString(); in ToString()
/foundation/systemabilitymgr/samgr/test/autotest/
H A Dchoose_device.py38 data = json.dumps(data, indent=4, ensure_ascii=False)
/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drosen_render_text.cpp437 double indent; in ApplyIndents() local
439 indent = NormalizeToPx(textStyle_.GetTextIndent()); in ApplyIndents()
441 indent = width * textStyle_.GetTextIndent().Value(); in ApplyIndents()
444 if (indent > 0.0) { in ApplyIndents()
445 indents.push_back(indent); in ApplyIndents()
449 indents.push_back(-indent); in ApplyIndents()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dmultiple_paragraph_layout_algorithm.cpp192 pStyle.indent = lineStyle->GetTextIndentValue(); in GetSpanParagraphStyle()
389 .indent = textStyle.GetTextIndent() in GetParagraphStyle()
712 auto indentValue = paragraphStyle.indent; in ApplyIndent()
716 // first line indent in ApplyIndent()
724 paragraphStyle.indent = Dimension(value); in ApplyIndent()
727 auto indent = static_cast<float>(value); in ApplyIndent() local
734 indents.emplace_back(indent + leadingMarginValue); in ApplyIndent()
736 indent_ = std::max(indent_, indent); in ApplyIndent()
H A Dtext_layout_algorithm.cpp85 (pStyle.leadingMargin.has_value() && pStyle.leadingMargin->pixmap) || Positive(pStyle.indent.Value()) || in ConstructParagraphSpanGroup()
/foundation/arkui/ace_engine/test/unittest/scripts/
H A Drun.py126 json.dump(test_result, json_file, indent=2)
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_custom_paint.h108 static bool IsApplyIndent(const MeasureContext& context, double& indent);
H A Drosen_render_custom_paint.cpp676 bool RosenRenderCustomPaint::IsApplyIndent(const MeasureContext& context, double& indent) in IsApplyIndent() argument
681 indent = context.textIndent.value().ConvertToPx(); in IsApplyIndent()
685 indent = context.constraintWidth.value().ConvertToPx() * context.textIndent.value().Value(); in IsApplyIndent()
834 double indent = 0.0; in MeasureTextSizeInner() local
835 // first line indent in MeasureTextSizeInner()
836 if (IsApplyIndent(context, indent)) { in MeasureTextSizeInner()
838 // only indent first line in MeasureTextSizeInner()
839 indents.emplace_back(static_cast<float>(indent)); in MeasureTextSizeInner()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_text_bridge.cpp755 CalcDimension indent; in SetTextIndent() local
756 if (!ArkTSUtils::ParseJsDimensionFpNG(vm, secondArg, indent) || indent.IsNegative()) { in SetTextIndent()
757 indent.Reset(); in SetTextIndent()
761 nativeNode, indent.Value(), static_cast<int8_t>(indent.Unit())); in SetTextIndent()
H A Darkts_native_search_bridge.cpp955 CalcDimension indent; in SetTextIndent() local
956 if (!ArkTSUtils::ParseJsDimensionNG(vm, secondArg, indent, DimensionUnit::VP, true)) { in SetTextIndent()
957 indent.Reset(); in SetTextIndent()
961 nativeNode, indent.Value(), static_cast<int8_t>(indent.Unit())); in SetTextIndent()
H A Darkts_native_text_input_bridge.cpp1275 CalcDimension indent; in SetTextIndent() local
1276 if (!ArkTSUtils::ParseJsDimensionNG(vm, secondArg, indent, DimensionUnit::VP, true)) { in SetTextIndent()
1277 indent.Reset(); in SetTextIndent()
1281 nativeNode, indent.Value(), static_cast<int8_t>(indent.Unit())); in SetTextIndent()
H A Darkts_native_text_area_bridge.cpp977 CalcDimension indent; in SetTextIndent() local
978 if (!ArkTSUtils::ParseJsDimensionNG(vm, secondArg, indent, DimensionUnit::VP, true)) { in SetTextIndent()
979 indent.Reset(); in SetTextIndent()
983 nativeNode, indent.Value(), static_cast<int8_t>(indent.Unit())); in SetTextIndent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dtxt_paragraph.cpp920 result.offset.SetX(result.offset.GetX() + paraStyle_.indent.ConvertToPx()); in HandleCaretWhenEmpty()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_api.cpp241 static void DumpTree(ArkUINodeHandle node, int indent) in DumpTree() argument
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_testfour_ng.cpp164 EXPECT_EQ(paragraphStyle.indent, Dimension(20.0f)); in HWTEST_F()

Completed in 51 milliseconds