Searched refs:UNIT_PERCENT (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | templates_parser.cpp | 25 const std::string UNIT_PERCENT = "%"; variable 154 } else if (val.str.find(UNIT_PERCENT) != std::string::npos) { in ParseUnit() 299 } else if (str.find(UNIT_PERCENT) != std::string::npos) { in ParseArgs() 353 } else if (str.find(UNIT_PERCENT) != std::string::npos) { in ParseAutoFill()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | templates_parser.cpp | 33 const std::string UNIT_PERCENT = "%"; variable 96 } else if (val.str.find(UNIT_PERCENT) != std::string::npos) { in ParseUnit() 308 } else if (str.find(UNIT_PERCENT) != std::string::npos) { in ParseAutoFill() 379 } else if (str.find(UNIT_PERCENT) != std::string::npos) { in ParseArgsWithoutAutoFill()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | render_grid_layout.cpp | 39 const char UNIT_PERCENT[] = "%"; variable 488 …(rowsArgs_.find(UNIT_PERCENT) != std::string::npos || rowsArgs_.find(UNIT_RATIO) != std::string::n… in InitialGridProp() 492 …(colsArgs_.find(UNIT_PERCENT) != std::string::npos || colsArgs_.find(UNIT_RATIO) != std::string::n… in InitialGridProp() 572 } else if (str.find(UNIT_PERCENT) != std::string::npos) { in ParseArgsInner() 592 } else if (str.find(UNIT_PERCENT) != std::string::npos) { in ParseArgsInner() 647 } else if (str.find(UNIT_PERCENT) != std::string::npos) { in ParseAutoFill() 1595 …(colsArgs_.find(UNIT_PERCENT) != std::string::npos || colsArgs_.find(UNIT_RATIO) != std::string::n… in CalculateVerticalSize() 1621 …(rowsArgs_.find(UNIT_PERCENT) != std::string::npos || rowsArgs_.find(UNIT_RATIO) != std::string::n… in CalculateHorizontalSize() 3316 } else if (val.str.find(UNIT_PERCENT) != std::string::npos) { in ParseUnit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/ |
H A D | render_grid_scroll.cpp | 35 const char UNIT_PERCENT[] = "%"; variable 386 …if ((rowsArgs_.find(UNIT_PERCENT) != std::string::npos || rowsArgs_.find(UNIT_RATIO) != std::strin… in GetGridSize() 393 …if ((colsArgs_.find(UNIT_PERCENT) != std::string::npos || colsArgs_.find(UNIT_RATIO) != std::strin… in GetGridSize()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | style_modifier.cpp | 56 constexpr int UNIT_PERCENT = 3; variable 1600 int widthUnits[ALLOW_SIZE_4] = { UNIT_PERCENT, UNIT_PERCENT, UNIT_PERCENT, UNIT_PERCENT }; in SetBorderWidthPercent() 1655 int radiusUnits[ALLOW_SIZE_4] = { UNIT_PERCENT, UNIT_PERCENT, UNIT_PERCENT, UNIT_PERCENT }; in SetBorderRadiusPercent() 3389 node->uiNodeHandle, item->value[NUM_0].f32, UNIT_PERCENT, nullptr); in SetWidthPercent() 3416 node->uiNodeHandle, item->value[NUM_0].f32, UNIT_PERCENT, nullptr); in SetHeightPercent() 3445 struct ArkUISizeType top = { item->value[topIndex].f32, UNIT_PERCENT }; in SetPaddingPercent() 3446 struct ArkUISizeType right = { item->value[rightIndex].f32, UNIT_PERCENT }; in SetPaddingPercent() 3448 struct ArkUISizeType left = { item->value[leftIndex].f32, UNIT_PERCENT }; in SetPaddingPercent() 3481 struct ArkUISizeType top = { item->value[topIndex].f32, UNIT_PERCENT }; in SetMarginPercent() 3482 struct ArkUISizeType right = { item->value[rightIndex].f32, UNIT_PERCENT }; in SetMarginPercent() [all …]
|