Home
last modified time | relevance | path

Searched refs:widthVal (Results 1 - 14 of 14) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dradio_switch_tdd_test.cpp195 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 Dinput_tdd_test.cpp917 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 Dflex_model_impl.cpp49 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 Dcj_menu_ffi.cpp54 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 Dplugin_modifier.cpp39 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 Dnode_slider_modifier.cpp100 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 Djs_span_object.cpp1358 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 Ddialog_layout_algorithm.cpp288 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 Dchart_component.cpp789 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 Doverlay_manager_test_ng.cpp2749 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 Dcjui_api.h1357 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 Djs_richeditor.cpp2036 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 Darkoala_api.h2993 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 Dnative_node_test.cpp144 auto widthVal = nodeAPI->getAttribute(rootNode, NODE_WIDTH); in HWTEST_F() local
145 EXPECT_EQ(widthVal->value[0].f32, size); in HWTEST_F()

Completed in 66 milliseconds