Home
last modified time | relevance | path

Searched refs:borderWidthVal (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_badge_bridge.cpp158 CalcDimension borderWidthVal; in ParseBadgeBaseParam() local
159 if (ArkTSUtils::ParseJsDimensionVp(vm, borderWidth, borderWidthVal)) { in ParseBadgeBaseParam()
160 if (borderWidthVal.IsNonNegative() && borderWidthVal.Unit() != DimensionUnit::PERCENT) { in ParseBadgeBaseParam()
161 param.borderWidth.value = borderWidthVal.Value(); in ParseBadgeBaseParam()
162 param.borderWidth.units = static_cast<int32_t>(borderWidthVal.Unit()); in ParseBadgeBaseParam()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dinput_tdd_test.cpp864 const int borderWidthVal = 2; in HWTEST_F() local
865 JerrySetNumberProperty(styleObj_, "borderWidth", borderWidthVal); in HWTEST_F()
873 EXPECT_TRUE((radioButton != nullptr) && (radioButton->GetStyle(STYLE_BORDER_WIDTH) == borderWidthVal)); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dnative_node_test.cpp271 auto borderWidthVal = nodeAPI->getAttribute(rootNode, NODE_BORDER_WIDTH); in HWTEST_F() local
272 EXPECT_EQ(borderWidthVal->value[0].f32, val10); in HWTEST_F()
283 borderWidthVal = nodeAPI->getAttribute(rootNode, NODE_BORDER_WIDTH_PERCENT); in HWTEST_F()
284 EXPECT_EQ(borderWidthVal->value[0].f32, val01); in HWTEST_F()

Completed in 13 milliseconds