Home
last modified time | relevance | path

Searched refs:GetBackgroundType (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_3d/kits/js/include/
H A DEnvironmentJS.h69 napi_value GetBackgroundType(NapiApi::FunctionContext<>& ctx);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_algorithm.cpp76 if (securityComponentProperty->GetBackgroundType() == static_cast<int32_t>(ButtonType::CIRCLE)) { in MeasureButton()
699 auto isCircle = (property->GetBackgroundType() == static_cast<int32_t>(ButtonType::CIRCLE)); in GetTextLimitExceededFlag()
700 auto isCapsule = (property->GetBackgroundType() == static_cast<int32_t>(ButtonType::CAPSULE)); in GetTextLimitExceededFlag()
734 isNobg_ = (securityComponentLayoutProperty->GetBackgroundType().value_or( in Measure()
751 if (securityComponentLayoutProperty->GetBackgroundType() == static_cast<int32_t>(ButtonType::CIRCLE)) { in Measure()
H A Dsecurity_component_model_ng.cpp236 return (prop->GetBackgroundType() != BUTTON_TYPE_NULL); in IsBackgroundVisible()
H A Dsecurity_component_pattern.cpp287 json->PutExtAttr("buttonType", layoutProperty->GetBackgroundType().value_or(0), filter);
H A Dsecurity_component_handler.cpp522 layoutProperty->GetBackgroundType().value()); in WriteButtonInfo()
/foundation/graphic/graphic_3d/kits/js/src/
H A DEnvironmentJS.cpp40 node_props.emplace_back(GetSetProperty<uint32_t, EnvironmentJS, &EnvironmentJS::GetBackgroundType, in Init()
213 napi_value EnvironmentJS::GetBackgroundType(NapiApi::FunctionContext<>& ctx) in GetBackgroundType() function in EnvironmentJS
/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/
H A Dsecurity_component_test_ng.cpp289 EXPECT_EQ(property->GetBackgroundType().value_or(static_cast<int32_t>(ButtonType::NORMAL)), in CheckSecurityComponentDefaultProp()
366 EXPECT_EQ(property->GetBackgroundType().value_or(static_cast<int32_t>(ButtonType::NORMAL)), in HWTEST_F()
815 EXPECT_EQ(property->GetBackgroundType().value_or(static_cast<int32_t>(ButtonType::NORMAL)), in HWTEST_F()
1242 EXPECT_EQ(property->GetBackgroundType().value_or(static_cast<int32_t>(ButtonType::NORMAL)), in HWTEST_F()

Completed in 10 milliseconds