/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textinput/ |
H A D | textinput_fontsize_test.cpp | 23 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 D | span_fontsize_test.cpp | 23 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 D | OH_Drawing_TypographyLargeValueTest.cpp | 64 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 D | OH_Drawing_TypographyTest.cpp | 235 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 D | nativeDrawingndk.cpp | 544 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 D | text_CustomSpan_test.cpp | 34 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 D | dump_handler.cpp | 107 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 D | drag_getDragResult.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | drag_getModifierKeyStates.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | drag_getDropOperation.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | drag_getPreDragStatus.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | dragAction_setDragPreviewOption.cpp | 28 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 29 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | dragAction_setTouchPointXY.cpp | 27 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 28 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | drag_disableDefaultDropAnimation.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | dragAction_setPointerId.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | dragAction_registerStatusListener.cpp | 29 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 30 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | dragAction_createDragAction.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | drag_setSuggestedDropOperation.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | drag_setDragResult.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createChildNode()
|
H A D | drag_getDataTypesCount.cpp | 26 ArkUI_NumberValue fontSize[] = {20}; in createTextChildNode() local 27 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in createTextChildNode()
|
H A D | drag_getXY.cpp | 88 ArkUI_NumberValue fontSize[] = {20}; in CreateNativeNode() local 89 ArkUI_AttributeItem Font_Item = {fontSize, 1}; in CreateNativeNode()
|
H A D | drag_getWidthHeight.cpp | 73 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 D | system_ColorFontChange_test.cpp | 241 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 D | arkoala_api.h | 576 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);
|