Home
last modified time | relevance | path

Searched refs:fontSize (Results 1 - 24 of 24) sorted by relevance

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textinput/
H A Dtextinput_fontsize_test.cpp23 float fontSize = 0.0; in TestTextInputFontSize001() local
24 ArkUI_NumberValue value[] = {{.f32 = fontSize}}; in TestTextInputFontSize001()
28 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_FONT_SIZE)->value[PARAM_0].f32, fontSize); in TestTextInputFontSize001()
35 float fontSize = 10.0; in TestTextInputFontSize002() local
36 ArkUI_NumberValue value[] = {{.f32 = fontSize}}; in TestTextInputFontSize002()
40 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_FONT_SIZE)->value[PARAM_0].f32, fontSize); in TestTextInputFontSize002()
47 float fontSize = 12.5; in TestTextInputFontSize003() local
48 ArkUI_NumberValue value[] = {{.f32 = fontSize}}; in TestTextInputFontSize003()
52 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_FONT_SIZE)->value[PARAM_0].f32, fontSize); in TestTextInputFontSize003()
59 float fontSize in TestTextInputFontSize004() local
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/span/
H A Dspan_fontsize_test.cpp23 float fontSize = 10; in TestSpanFontSize001() local
24 ArkUI_NumberValue value[] = {{.f32 = fontSize}}; in TestSpanFontSize001()
28 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_SIZE)->value[PARAM_0].f32, fontSize); in TestSpanFontSize001()
36 float fontSize = -1; in TestSpanFontSize002() local
37 ArkUI_NumberValue value[] = {{.f32 = fontSize}}; in TestSpanFontSize002()
42 ASSERT_NE(nodeAPI->getAttribute(span, NODE_FONT_SIZE)->value[PARAM_0].f32, fontSize); in TestSpanFontSize002()
/test/xts/acts/graphic/graphicnapidrawingtest/
H A DOH_Drawing_TypographyLargeValueTest.cpp64 double fontSize = 30; in HWTEST_F() local
65 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in HWTEST_F()
121 double fontSize = 30; in HWTEST_F() local
122 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in HWTEST_F()
175 double fontSize = 30; in HWTEST_F() local
176 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in HWTEST_F()
223 double fontSize = 30; in HWTEST_F() local
224 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in HWTEST_F()
277 double fontSize = 30; in HWTEST_F() local
278 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in HWTEST_F()
[all...]
H A DOH_Drawing_TypographyTest.cpp235 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontSize, 80); in HWTEST_F()
241 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontSize, 40); in HWTEST_F()
497 double fontSize = 30; in HWTEST_F() local
498 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in HWTEST_F()
818 double fontSize = 30; in HWTEST_F() local
819 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in HWTEST_F()
872 double fontSize = 30; in HWTEST_F() local
873 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in HWTEST_F()
1010 EXPECT_EQ(ConvertToOriginalText(typoStyle)->fontSize, 80); in HWTEST_F()
1016 EXPECT_EQ(ConvertToOriginalText(typoStyle)->fontSize, 4 in HWTEST_F()
1195 double fontSize = 30; HWTEST_F() local
1291 double fontSize = 30; HWTEST_F() local
1344 double fontSize = 30; HWTEST_F() local
1399 double fontSize = 30; HWTEST_F() local
1451 double fontSize = 30; HWTEST_F() local
1503 double fontSize = 30; HWTEST_F() local
1555 double fontSize = 30; HWTEST_F() local
1855 float fontSize = 1.0; // 1.0 means font size for test HWTEST_F() local
2647 double fontSize = 30; HWTEST_F() local
[all...]
/test/xts/acts/graphic/nativedrawing/entry/src/main/cpp/
H A DnativeDrawingndk.cpp544 double fontSize = THRTENVAL; in OHDrawingTypographyGetMinIntrinsicWidth() local
545 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in OHDrawingTypographyGetMinIntrinsicWidth()
581 double fontSize = THRTENVAL; in OHDrawingTypographyGetMaxIntrinsicWidth() local
582 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in OHDrawingTypographyGetMaxIntrinsicWidth()
697 double fontSize = THRTENVAL; in OHDrawingTypographyGetAlphabeticBaseline() local
698 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in OHDrawingTypographyGetAlphabeticBaseline()
729 double fontSize = THRTENVAL; in OHDrawingTypographyGetAlphabeticBaselineNormal() local
730 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in OHDrawingTypographyGetAlphabeticBaselineNormal()
761 double fontSize = FIVTENVAL; in OHDrawingTypographyGetIdeographicBaseline() local
762 OH_Drawing_SetTextStyleFontSize(txtStyle, fontSize); in OHDrawingTypographyGetIdeographicBaseline()
793 double fontSize = FIVTENVAL; OHDrawingTypographyGetIdeographicBaselineNormal() local
1221 double fontSize = THRTENVAL; OHDrawingTypographyGetMinIntrinsicWidthNormal() local
1258 double fontSize = THRTENVAL; OHDrawingTypographyGetMaxIntrinsicWidthNormal() local
1410 double fontSize = EIGTENVAL; OHDrawingCreateTextStyleCnormal() local
1428 double fontSize = EIGTENVAL; OHDrawingCreateTextStyleDnormal() local
1446 double fontSize = EIGTENVAL; OHDrawingCreateTextStyleEnormal() local
1464 double fontSize = EIGTENVAL; OHDrawingCreateTextStyleFnormal() local
1482 double fontSize = EIGTENVAL; OHDrawingCreateTextStyleGnormal() local
1500 double fontSize = EIGTENVAL; OHDrawingCreateTextStyleHnormal() local
1518 double fontSize = EIGTENVAL; OHDrawingCreateTextStyleInormal() local
1536 double fontSize = EIGTENVAL; OHDrawingCreateTextStyleJnormal() local
1721 TypographyGetLongestLine(OH_Drawing_TypographyCreate *handler, int fontSize) TypographyGetLongestLine() argument
1736 TypographyGetLongestLineWithIndent(OH_Drawing_TypographyCreate *handler, int fontSize) TypographyGetLongestLineWithIndent() argument
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/text/
H A Dtext_CustomSpan_test.cpp34 float fontSize = OH_ArkUI_CustomSpanMeasureInfo_GetFontSize(measureInfo); in textCustomSpanTest002() local
35 ASSERT_EQ(fontSize, 0.0f); in textCustomSpanTest002()
43 float fontSize = OH_ArkUI_CustomSpanMeasureInfo_GetFontSize(measureInfo); in textCustomSpanTest003() local
45 ASSERT_EQ(fontSize, 0.0f); in textCustomSpanTest003()
/test/testfwk/arkxtest/uitest/core/
H A Ddump_handler.cpp107 auto fontSize = GetMiddleStr(nodeAttrStr, nodeAttrTraverlIndex, "FontSize: ", "\n"); in AddExtraAttrs() local
117 if (!fontSize.empty()) { in AddExtraAttrs()
118 extraAttrs["FontSize"] = move(fontSize); in AddExtraAttrs()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/drag/
H A Ddrag_getDragResult.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A Ddrag_getModifierKeyStates.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A Ddrag_getDropOperation.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A Ddrag_getPreDragStatus.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A DdragAction_setDragPreviewOption.cpp28 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
29 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A DdragAction_setTouchPointXY.cpp27 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
28 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A Ddrag_disableDefaultDropAnimation.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A DdragAction_setPointerId.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A DdragAction_registerStatusListener.cpp29 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
30 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A DdragAction_createDragAction.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A Ddrag_setSuggestedDropOperation.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A Ddrag_setDragResult.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
H A Ddrag_getDataTypesCount.cpp26 ArkUI_NumberValue fontSize[] = {20}; in createTextChildNode() local
27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createTextChildNode()
H A Ddrag_getXY.cpp88 ArkUI_NumberValue fontSize[] = {20}; in CreateNativeNode() local
89 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in CreateNativeNode()
H A Ddrag_getWidthHeight.cpp73 ArkUI_NumberValue fontSize[] = {20}; in CreateNativeNode() local
74 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in CreateNativeNode()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/system/
H A Dsystem_ColorFontChange_test.cpp241 auto fontSize = OH_ArkUI_SystemFontStyleEvent_GetFontSizeScale(fontStyle); in testSystemFontStyleEvent_GetFontSizeScale_005()
243 "kkk onFontChange fontSize = %{public}f", fontSize); in testSystemFontStyleEvent_GetFontSizeScale_005()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/
H A Darkoala_api.h576 ArkUI_Float32 fontSize; member
1075 ArkUI_Float32 fontSize; member
1382 ArkUI_Float64 fontSize; member
3737 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_Float32 fontSize, ArkUI_Int32 unit, ArkUI_Int32 fontWeight);
3738 void (*setTextStyle)(ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontSize, ArkUI_CharPtr fontWeight);

Completed in 31 milliseconds