Home
last modified time | relevance | path

Searched refs:biasPair (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dview_abstract_test_ng.h66 const BiasPair biasPair(0.5f, 0.5f);
H A Dview_abstract_test_ng.cpp161 ViewAbstract::SetBias(biasPair);
247 ViewAbstract::SetBias(biasPair);
1500 ViewAbstract::SetBias(biasPair);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/relative_container/
H A Drelative_container_layout_algorithm.h132 …ChildIdealSize& childIdealSize, BiasPair& biasPair, float& horizontalOffset, float& verticalOffset…
H A Drelative_container_layout_algorithm.cpp1465 BiasPair& biasPair, float& horizontalOffset, float& verticalOffset) in CalcBiasTowDirection() argument
1469 auto biasX = biasPair.first; in CalcBiasTowDirection()
1470 auto biasY = biasPair.second; in CalcBiasTowDirection()
1495 auto biasPair = flexItemProperty->GetBiasValue(); in CalcBias() local
1515 …CalcBiasTowDirection(alignedValuesOnTwoDirections, childIdealSize, biasPair, horizontalOffset, ver… in CalcBias()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_property.h242 void UpdateBias(const BiasPair& biasPair);
H A Dlayout_property.cpp1257 void LayoutProperty::UpdateBias(const BiasPair& biasPair) in UpdateBias() argument
1262 if (flexItemProperty_->UpdateBias(biasPair)) { in UpdateBias()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract.cpp430 void ViewAbstract::SetBias(const BiasPair& biasPair) in SetBias() argument
435 ACE_UPDATE_LAYOUT_PROPERTY(LayoutProperty, Bias, biasPair); in SetBias()
4920 void ViewAbstract::SetBias(FrameNode* frameNode, const BiasPair& biasPair) in SetBias() argument
4923 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LayoutProperty, Bias, biasPair, frameNode); in SetBias()
4928 BiasPair biasPair(-1.0f, -1.0f); in GetBias() local
4929 CHECK_NULL_RETURN(frameNode, biasPair); in GetBias()
4931 CHECK_NULL_RETURN(layoutProperty, biasPair); in GetBias()
4932 CHECK_NULL_RETURN(layoutProperty->GetFlexItemProperty(), biasPair); in GetBias()
4933 return layoutProperty->GetFlexItemProperty()->GetBias().value_or(biasPair); in GetBias()
H A Dview_abstract.h236 static void SetBias(const BiasPair& biasPair);
748 static void SetBias(FrameNode* frameNode, const BiasPair& biasPair);
H A Dview_abstract_model_ng.h576 void SetBias(const BiasPair& biasPair) override in SetBias() argument
578 ViewAbstract::SetBias(biasPair); in SetBias()
H A Dview_abstract_model.h171 virtual void SetBias(const BiasPair& biasPair) = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_view_abstract_ffi.cpp744 BiasPair biasPair(DEFAULT_BIAS, DEFAULT_BIAS); in FfiOHOSAceFrameworkViewAbstractSetAlignRules() local
782 biasPair.first = *option.horizontalBias; in FfiOHOSAceFrameworkViewAbstractSetAlignRules()
785 biasPair.second = *option.verticalBias; in FfiOHOSAceFrameworkViewAbstractSetAlignRules()
789 ViewAbstractModel::GetInstance()->SetBias(biasPair); in FfiOHOSAceFrameworkViewAbstractSetAlignRules()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dview_abstract_model_impl.h103 void SetBias(const BiasPair& biasPair) override {} in SetBias() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_common_modifier.cpp3237 BiasPair biasPair(DEFAULT_BIAS, DEFAULT_BIAS); in SetAlignRules() local
3238 ViewAbstract::SetBias(frameNode, biasPair); in SetAlignRules()
3262 BiasPair biasPair(alignRulesType->biasHorizontalValue, alignRulesType->biasVerticalValue); in SetAlignRulesWidthType() local
3263 ViewAbstract::SetBias(frameNode, biasPair); in SetAlignRulesWidthType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_abstract.cpp9052 BiasPair biasPair(DEFAULT_BIAS, DEFAULT_BIAS); in JsAlignRules() local
9074 biasPair.first = biasX->ToNumber<float>(); in JsAlignRules()
9078 biasPair.second = biasY->ToNumber<float>(); in JsAlignRules()
9084 ViewAbstractModel::GetInstance()->SetBias(biasPair); in JsAlignRules()