/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | radio_switch_tdd_test.cpp | 195 jerry_value_t widthVal = jerry_create_boolean(false); in WidthSwitchValueTest004() local 196 JerrySetNamedProperty(styleObj_, "width", widthVal); in WidthSwitchValueTest004() 197 jerry_release_value(widthVal); in WidthSwitchValueTest004() 294 jerry_value_t widthVal = jerry_create_boolean(false); in HeightRadioValueTest006() local 295 JerrySetNamedProperty(styleObj_, "width", widthVal); in HeightRadioValueTest006() 296 jerry_release_value(widthVal); in HeightRadioValueTest006()
|
H A D | input_tdd_test.cpp | 917 const int widthVal = 50; in HWTEST_F() local 918 JerrySetNumberProperty(styleObj_, "width", widthVal); in HWTEST_F() 926 EXPECT_TRUE((radioButton != nullptr) && (radioButton->GetWidth() == widthVal)); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | flex_model_impl.cpp | 49 auto widthVal = box->GetWidth(); in SetFlexWidth() local 54 flex->SetMainAxisSize(widthVal.Value() < 0.0 ? MainAxisSize::MIN : MainAxisSize::MAX); in SetFlexWidth() 56 flex->SetCrossAxisSize(widthVal.Value() < 0.0 ? CrossAxisSize::MIN : CrossAxisSize::MAX); in SetFlexWidth() 61 wrap->SetHorizontalMeasure(widthVal.Value() < 0.0 ? MeasureType::CONTENT : MeasureType::PARENT); in SetFlexWidth()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_menu_ffi.cpp | 54 CalcDimension widthVal = CalcDimension(width, DimensionUnit(unit)); in FfiOHOSAceFrameworkMenuSetWidth() local 55 MenuModel::GetInstance()->SetWidth(widthVal); in FfiOHOSAceFrameworkMenuSetWidth()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | plugin_modifier.cpp | 39 void SetPluginSize(ArkUINodeHandle node, ArkUI_Float32 widthVal, ArkUI_Float32 heightVal, in SetPluginSize() argument 44 Dimension width = Dimension(widthVal, static_cast<DimensionUnit>(widthUnit)); in SetPluginSize()
|
H A D | node_slider_modifier.cpp | 100 void SetBlockSize(ArkUINodeHandle node, ArkUI_Float32 widthVal, in SetBlockSize() argument 105 Dimension blockWidth = Dimension(static_cast<double>(widthVal), in SetBlockSize()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_object.cpp | 1358 auto widthVal = leadingMarginObject->GetProperty("value"); in ParseJsLeadingMargin() local 1359 if (!widthVal->IsNull() && widthVal->IsNumber()) { in ParseJsLeadingMargin() 1360 value = widthVal->ToNumber<float>(); in ParseJsLeadingMargin() 1389 JSRef<JSVal> widthVal = rangeArray->GetValueAt(0); in ParseLeadingMarginPixelMap() local 1393 JSContainerBase::ParseJsDimensionVp(widthVal, width); in ParseLeadingMarginPixelMap()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_layout_algorithm.cpp | 288 auto widthVal = dialogWidth.Unit() == DimensionUnit::PERCENT ? maxSize.Width() : dialogWidth.ConvertToPx(); in ComputeInnerLayoutSizeParam() 289 if (Positive(widthVal)) { in ComputeInnerLayoutSizeParam() 290 width = widthVal; in ComputeInnerLayoutSizeParam()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | chart_component.cpp | 789 uint16_t widthVal = GetSizeVal(jLineStyleVal, styleName, 1); in RecordOptionsSeriesLineStyle() local 790 chartView_->SetStyle(STYLE_LINE_WIDTH, widthVal); // chart width set can affect all the series in RecordOptionsSeriesLineStyle() 791 seriesOptions_->width = widthVal; in RecordOptionsSeriesLineStyle()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | overlay_manager_test_ng.cpp | 2749 auto widthVal = sheetLayoutAlgorithm->GetWidthByScreenSizeType(maxSize, layoutWrapper.GetRawPtr()); in HWTEST_F() local 2750 auto onWidthDidChangeFunc = [&widthVal](float width) { widthVal = width; }; in HWTEST_F() 2753 EXPECT_EQ(widthVal, SHEET_LANDSCAPE_WIDTH.ConvertToPx()); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 1357 void (*setBlockSize)(ArkUINodeHandle node, ArkUI_Float32 widthVal, ArkUI_Int32 widthUnit, ArkUI_Float32 heightVal,
1453 void (*setPluginWidth)(ArkUINodeHandle node, ArkUI_Float32 widthVal, ArkUI_Int32 widthUnit);
1455 void (*setPluginSize)(ArkUINodeHandle node, ArkUI_Float32 widthVal, ArkUI_Float32 heightVal, ArkUI_Int32 widthUnit,
1854 void (*setCheckboxWidth)(ArkUINodeHandle node, ArkUI_Float32 widthVal, ArkUI_Int32 widthUnit);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_richeditor.cpp | 2036 JSRef<JSVal> widthVal = rangeArray->GetValueAt(0); in ParseParagraphStyle() local 2041 JSContainerBase::ParseJsDimensionVp(widthVal, width); in ParseParagraphStyle()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 2993 void (*setBlockSize)(ArkUINodeHandle node, ArkUI_Float32 widthVal, ArkUI_Int32 widthUnit, ArkUI_Float32 heightVal, 3089 void (*setPluginWidth)(ArkUINodeHandle node, ArkUI_Float32 widthVal, ArkUI_Int32 widthUnit); 3091 void (*setPluginSize)(ArkUINodeHandle node, ArkUI_Float32 widthVal, ArkUI_Float32 heightVal, ArkUI_Int32 widthUnit, 3515 void (*setCheckboxWidth)(ArkUINodeHandle node, ArkUI_Float32 widthVal, ArkUI_Int32 widthUnit);
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | native_node_test.cpp | 144 auto widthVal = nodeAPI->getAttribute(rootNode, NODE_WIDTH); in HWTEST_F() local 145 EXPECT_EQ(widthVal->value[0].f32, size); in HWTEST_F()
|