/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/customcomponent/ |
H A D | customcomponent_constraintsize_test.cpp | 23 float maxWidth = SIZE_100; in TestCustomComponentConstraintSize001() local 27 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCustomComponentConstraintSize001() 32 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_1].f32, maxWidth); in TestCustomComponentConstraintSize001() 41 float maxWidth = PARAM_0; in TestCustomComponentConstraintSize002() local 45 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCustomComponentConstraintSize002() 50 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_1].f32, maxWidth); in TestCustomComponentConstraintSize002() 59 float maxWidth = PARAM_NEGATIVE_100; in TestCustomComponentConstraintSize003() local 63 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCustomComponentConstraintSize003() 68 ASSERT_NE(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_1].f32, maxWidth); in TestCustomComponentConstraintSize003() 77 float maxWidth in TestCustomComponentConstraintSize004() local [all...] |
H A D | customcomponent_event_test.cpp | 118 auto maxWidth = OH_ArkUI_LayoutConstraint_GetMaxWidth(constrait); in CreateNativeNode() 132 "LayoutConstraint maxWidth %{public}d", maxWidth); in CreateNativeNode()
|
H A D | customcomponent_event_null_test.cpp | 41 auto maxWidth = OH_ArkUI_LayoutConstraint_GetMaxWidth(nullptr); in CustomComponentEventNull002() local
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/ |
H A D | commonattrs_constraintsize_test.cpp | 23 float maxWidth = SIZE_100; in TestCommonAttrsConstraintSize001() local 27 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCommonAttrsConstraintSize001() 32 ASSERT_EQ(nodeAPI->getAttribute(column, NODE_CONSTRAINT_SIZE)->value[PARAM_1].f32, maxWidth); in TestCommonAttrsConstraintSize001() 41 float maxWidth = PARAM_0; in TestCommonAttrsConstraintSize002() local 45 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCommonAttrsConstraintSize002() 50 ASSERT_EQ(nodeAPI->getAttribute(column, NODE_CONSTRAINT_SIZE)->value[PARAM_1].f32, maxWidth); in TestCommonAttrsConstraintSize002() 59 float maxWidth = PARAM_NEGATIVE_100; in TestCommonAttrsConstraintSize003() local 63 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCommonAttrsConstraintSize003() 68 ASSERT_NE(nodeAPI->getAttribute(column, NODE_CONSTRAINT_SIZE)->value[PARAM_1].f32, maxWidth); in TestCommonAttrsConstraintSize003() 77 float maxWidth in TestCommonAttrsConstraintSize004() local [all...] |
/test/xts/acts/graphic/graphicnapidrawingtest/ |
H A D | OH_Drawing_TypographyLargeValueTest.cpp | 81 double maxWidth = 2160.0; in HWTEST_F() local 82 OH_Drawing_TypographyLayout(typography, maxWidth); in HWTEST_F() 83 EXPECT_EQ(maxWidth, OH_Drawing_TypographyGetMaxWidth(typography)); in HWTEST_F() 136 double maxWidth = 2160.0; in HWTEST_F() local 137 OH_Drawing_TypographyLayout(typography, maxWidth); in HWTEST_F() 187 double maxWidth = 2160.0; in HWTEST_F() local 188 OH_Drawing_TypographyLayout(typography, maxWidth); in HWTEST_F() 235 double maxWidth = 2160.0; in HWTEST_F() local 236 OH_Drawing_TypographyLayout(typography, maxWidth); in HWTEST_F() 293 double maxWidth in HWTEST_F() local [all...] |
H A D | OH_Drawing_TypographyTest.cpp | 514 double maxWidth = 800.0; in HWTEST_F() local 515 OH_Drawing_TypographyLayout(typography, maxWidth); in HWTEST_F() 516 EXPECT_EQ(maxWidth, OH_Drawing_TypographyGetMaxWidth(typography)); in HWTEST_F() 833 double maxWidth = 800.0; in HWTEST_F() local 834 OH_Drawing_TypographyLayout(typography, maxWidth); in HWTEST_F() 884 double maxWidth = 800.0; in HWTEST_F() local 885 OH_Drawing_TypographyLayout(typography, maxWidth); in HWTEST_F() 1206 double maxWidth = 800.0; in HWTEST_F() local 1207 OH_Drawing_TypographyLayout(typography, maxWidth); in HWTEST_F() 1208 EXPECT_EQ(maxWidth, OH_Drawing_TypographyGetMaxWidt in HWTEST_F() 1303 double maxWidth = 800.0; HWTEST_F() local 1356 double maxWidth = 800.0; HWTEST_F() local 1411 double maxWidth = 800.0; HWTEST_F() local 1463 double maxWidth = 800.0; HWTEST_F() local 1515 double maxWidth = 800.0; HWTEST_F() local 1567 double maxWidth = 800.0; HWTEST_F() local 2435 double maxWidth = 300.0; HWTEST_F() local 2461 double maxWidth = 300.0; HWTEST_F() local 2487 double maxWidth = 300.0; HWTEST_F() local 2663 double maxWidth = 800.0; HWTEST_F() local [all...] |
/test/xts/acts/graphic/nativedrawing/entry/src/main/cpp/ |
H A D | nativeDrawingndk.cpp | 506 double maxWidth = EIGHUNVAL;
in OHDrawingTypographyLayout() local 507 OH_Drawing_TypographyLayout(typography, maxWidth);
in OHDrawingTypographyLayout() 508 if (maxWidth == OH_Drawing_TypographyGetMaxWidth(typography)) {
in OHDrawingTypographyLayout() 525 double maxWidth = SENHUNVAL;
in OHDrawingTypographyGetMaxWidth() local 526 OH_Drawing_TypographyLayout(typographyy, maxWidth);
in OHDrawingTypographyGetMaxWidth() 527 if (maxWidth == OH_Drawing_TypographyGetMaxWidth(typographyy)) {
in OHDrawingTypographyGetMaxWidth() 558 double maxWidth = EIGHUNVAL;
in OHDrawingTypographyGetMinIntrinsicWidth() local 559 OH_Drawing_TypographyLayout(typography, maxWidth);
in OHDrawingTypographyGetMinIntrinsicWidth() 595 double maxWidth = SENFIVEVAL;
in OHDrawingTypographyGetMaxIntrinsicWidth() local 596 OH_Drawing_TypographyLayout(typography, maxWidth);
in OHDrawingTypographyGetMaxIntrinsicWidth() 624 double maxWidth = EIGHUNVAL; OHDrawingTypographyGetLongestLine() local 676 double maxWidth = EIGHUNVAL; OHDrawingTypographyGetLongestLineWithIndent() local 708 double maxWidth = EIGHUNVAL; OHDrawingTypographyGetAlphabeticBaseline() local 740 double maxWidth = EIGHUNVAL; OHDrawingTypographyGetAlphabeticBaselineNormal() local 772 double maxWidth = EIGHUNVAL; OHDrawingTypographyGetIdeographicBaseline() local 804 double maxWidth = EIGHUNVAL; OHDrawingTypographyGetIdeographicBaselineNormal() local 831 double maxWidth = SIXFIVEVAL; OHDrawingTypographyGetHeight() local 1183 double maxWidth = MINUSEIGHUNVAL; OHDrawingTypographyLayoutNormal() local 1202 double maxWidth = -700.0; OHDrawingTypographyGetMaxWidthNormal() local 1235 double maxWidth = MINUSEIGHUNVAL; OHDrawingTypographyGetMinIntrinsicWidthNormal() local 1272 double maxWidth = MINUSSENFIVEVAL; OHDrawingTypographyGetMaxIntrinsicWidthNormal() local 1729 double maxWidth = 800; TypographyGetLongestLine() local 1744 double maxWidth = 800; TypographyGetLongestLineWithIndent() local 1780 double maxWidth = 50; OHDrawingTypographyHandlerAddTextAanormal() local [all...] |
/test/xts/hats/hdf/codec/hdi_image_additional/ |
H A D | codec_hdi_jpeg_test.cpp | 399 capList[0].maxWidth = -1; in HWTEST_F() 401 ASSERT_TRUE(capList[0].maxWidth >= 0); in HWTEST_F()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/ |
H A D | arkoala_api.h | 449 ArkUI_Float32 maxWidth; member 1554 void (*setMaxWidth)(ArkUINodeHandle node, const struct ArkUISizeType* maxWidth); 4399 ArkUINodeHandle node, ArkUI_CharPtr value, ArkUI_Float32 x, ArkUI_Float32 y, ArkUI_Float32 maxWidth);
|