Home
last modified time | relevance | path

Searched refs:topValue (Results 1 - 18 of 18) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_render_node_bridge.cpp42 auto topValue = RenderNodeBridge::GetNumber<float>(vm, runtimeCallInfo, 2, 0.0f); in SetRectShape() local
47 nativeNode, leftValue, topValue, rightValue - leftValue, bottomValue - topValue); in SetRectShape()
54 GetArkUINodeModifiers()->getRenderNodeModifier()->setRectMask(nativeNode, leftValue, topValue, in SetRectShape()
55 rightValue - leftValue, bottomValue - topValue, fillColorValue, strokeColorValue, strokeWidthValue); in SetRectShape()
101 auto topValue = RenderNodeBridge::GetNumber<float>(vm, runtimeCallInfo, 10, 0.0f); in SetRoundRectShape() local
106 bottomLeftYValue, bottomRightXValue, bottomRightYValue, leftValue, topValue, rightValue - leftValue, in SetRoundRectShape()
107 bottomValue - topValue }; in SetRoundRectShape()
130 auto topValue = RenderNodeBridge::GetNumber<float>(vm, runtimeCallInfo, 2, 0.0f); in SetOvalShape() local
135 nativeNode, leftValue, topValue, rightValu in SetOvalShape()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dpercent_tdd_test.h62 void ConfigStylesWithPosition(JSValue staticStyle, const char *topValue, const char *leftValue) const;
H A Dpercent_tdd_test.cpp84 void PercentTddTest::ConfigStylesWithPosition(JSValue staticStyle, const char *topValue, const char *leftValue) const in ConfigStylesWithPosition() argument
86 SetStyleWithValue(staticStyle, STYLE_TOP_NAME, topValue); in ConfigStylesWithPosition()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/
H A Dselect_model_ng.cpp295 void SelectModelNG::SetPaddingTop(const CalcDimension& topValue) in SetPaddingTop() argument
298 if (!NearEqual(topValue.Value(), 0.0)) { in SetPaddingTop()
299 if (topValue.Unit() == DimensionUnit::CALC) { in SetPaddingTop()
301 topValue.IsNonNegative() ? topValue.CalcValue() : CalcDimension().CalcValue()); in SetPaddingTop()
303 paddings.top = NG::CalcLength(topValue.IsNonNegative() ? topValue : CalcDimension()); in SetPaddingTop()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_swiper_ffi.cpp112 Dimension topValue(value.top, static_cast<DimensionUnit>(value.topUnit)); in FfiOHOSAceFrameworkSwiperSetIndicatorStyle()
118 .dimTop = topValue, in FfiOHOSAceFrameworkSwiperSetIndicatorStyle()
H A Dcj_button_ffi.cpp153 Dimension topValue(top, static_cast<DimensionUnit>(topUnit)); in FfiOHOSAceFrameworkButtonSetPadding()
157 ViewAbstractModel::GetInstance()->SetPaddings(topValue, rightValue, bottomValue, leftValue); in FfiOHOSAceFrameworkButtonSetPadding()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_utils.h175 auto topValue = GetValidEdgeLength(swiperHeight, indicatorHeight, top.value()); in CalcIndicatrOffsetY() local
176 offsetY = topValue + swiperPaddingTop + borderWidthTop; in CalcIndicatrOffsetY()
/foundation/arkui/ace_engine/frameworks/core/components/relative_container/
H A Drender_relative_container.cpp316 auto topValue = flexItem->GetAlignValue(checkAlign); in CalcLayoutParam() local
318 heightValue = flexItem->GetAlignValue(checkAlign) - topValue; in CalcLayoutParam()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_indicator.cpp171 JSRef<JSVal> topValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::TOP_VALUE)); in GetDotIndicatorInfo() local
187 swiperParameters.dimTop = ParseIndicatorDimension(topValue); in GetDotIndicatorInfo()
242 JSRef<JSVal> dotTopValue = obj->GetProperty("topValue"); in GetDigitIndicatorInfo()
H A Djs_shape.cpp76 JSRef<JSVal> topValue = obj->GetProperty("y"); in SetViewPort() local
83 ParseJsDimensionVp(topValue, dimTop); in SetViewPort()
H A Djs_swiper.cpp445 JSRef<JSVal> topValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::TOP_VALUE));
461 swiperParameters.dimTop = ParseIndicatorDimension(topValue);
541 JSRef<JSVal> dotTopValue = obj->GetProperty("topValue");
767 JSRef<JSVal> topValue = obj->GetProperty("top");
779 swiperParameters.dimTop = ParseIndicatorDimension(topValue);
H A Djs_view_abstract.cpp2207 int32_t topValue = jsTopValue->ToNumber<int32_t>(); in JsPixelRound() local
2208 if (PixelRoundCalcPolicy::FORCE_CEIL == static_cast<PixelRoundCalcPolicy>(topValue)) { in JsPixelRound()
2210 } else if (PixelRoundCalcPolicy::FORCE_FLOOR == static_cast<PixelRoundCalcPolicy>(topValue)) { in JsPixelRound()
4719 auto topValue = object->GetProperty(static_cast<int32_t>(ArkUIIndex::TOP)); in ParseBorderStyle() local
4720 if (topValue->IsNumber()) { in ParseBorderStyle()
4721 styleTop = ConvertBorderStyle(topValue->ToNumber<int32_t>()); in ParseBorderStyle()
4758 auto topValue = object->GetProperty("top"); in ParseOuterBorderStyle() local
4759 if (!topValue->IsUndefined() && topValue->IsNumber()) { in ParseOuterBorderStyle()
4760 styleTop = ConvertBorderStyle(topValue in ParseOuterBorderStyle()
10310 auto topValue = obj->GetProperty("top"); ParseBorderStyleProps() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dmeasure_property.h386 void SetEdges(const T& leftValue, const T& rightValue, const T& topValue, const T& bottomValue) in SetEdges()
390 top = topValue; in SetEdges()
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.cpp521 auto topValue = keyStack.top(); in GetIndexValue() local
522 auto data = JsonUtil::ParseJsonString(topValue); in GetIndexValue()
1217 auto topValue = keyStack.top(); in ParseArrayExpression() local
1219 if (!GetStrValue(topValue, keyStack) && !GetIndexValue(topValue, keyStack)) { in ParseArrayExpression()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_swiper_modifier.cpp222 auto topValue = GetInfoFromVectorByIndex(dotIndicatorInfo, DOT_INDICATOR_TOP); in GetDotIndicatorInfo() local
226 swiperParameters.dimTop = ParseIndicatorDimension(topValue); in GetDotIndicatorInfo()
H A Dnode_common_modifier.cpp2429 auto topValue = values[NUM_1]; in SetPixelStretchEffect() local
2436 Dimension top(topValue, static_cast<DimensionUnit>(topUnit)); in SetPixelStretchEffect()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js1829 this.topValue = value;
H A DarkComponent.js16085 this.topValue = undefined;
16100 this.topValue === another.topValue &&
16118 this.topValue = undefined;
16129 this.topValue === another.topValue &&
28258 top = this.value.topValue;
28274 top = this.value.topValue;

Completed in 69 milliseconds