/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_render_node_bridge.cpp | 42 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 D | percent_tdd_test.h | 62 void ConfigStylesWithPosition(JSValue staticStyle, const char *topValue, const char *leftValue) const;
|
H A D | percent_tdd_test.cpp | 84 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 D | select_model_ng.cpp | 295 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 D | cj_swiper_ffi.cpp | 112 Dimension topValue(value.top, static_cast<DimensionUnit>(value.topUnit)); in FfiOHOSAceFrameworkSwiperSetIndicatorStyle() 118 .dimTop = topValue, in FfiOHOSAceFrameworkSwiperSetIndicatorStyle()
|
H A D | cj_button_ffi.cpp | 153 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 D | swiper_indicator_utils.h | 175 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 D | render_relative_container.cpp | 316 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 D | js_indicator.cpp | 171 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 D | js_shape.cpp | 76 JSRef<JSVal> topValue = obj->GetProperty("y"); in SetViewPort() local 83 ParseJsDimensionVp(topValue, dimTop); in SetViewPort()
|
H A D | js_swiper.cpp | 445 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 D | js_view_abstract.cpp | 2207 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 D | measure_property.h | 386 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 D | js_card_parser.cpp | 521 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 D | node_swiper_modifier.cpp | 222 auto topValue = GetInfoFromVectorByIndex(dotIndicatorInfo, DOT_INDICATOR_TOP); in GetDotIndicatorInfo() local 226 swiperParameters.dimTop = ParseIndicatorDimension(topValue); in GetDotIndicatorInfo()
|
H A D | node_common_modifier.cpp | 2429 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 D | jsEnumStyle.js | 1829 this.topValue = value;
|
H A D | arkComponent.js | 16085 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;
|