Home
last modified time | relevance | path

Searched refs:IsPercentStr (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_select.h31 static bool IsPercentStr(std::string& percent);
H A Djs_select.cpp733 bool JSSelect::IsPercentStr(std::string& percent) in IsPercentStr() function in OHOS::Ace::Framework::JSSelect
757 } else if (IsPercentStr(modeFlag)) { in SetOptionWidth()
783 if (IsPercentStr(modeFlag)) { in SetOptionHeight()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/canvas/
H A Dcanvas_test_ng.cpp78 EXPECT_TRUE(paintMethod->IsPercentStr(percentStr));
86 EXPECT_FALSE(paintMethod->IsPercentStr(nonPercentStr));
H A Dcanvas_custom_paint_method_test_ng.cpp295 EXPECT_TRUE(paintMethod->IsPercentStr(percentStr1));
299 EXPECT_FALSE(paintMethod->IsPercentStr(percentStr2));
303 EXPECT_FALSE(paintMethod->IsPercentStr(percentStr3));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_offscreen_canvas.h201 bool IsPercentStr(std::string& percentStr);
H A Drosen_render_offscreen_canvas.cpp2733 bool RosenRenderOffscreenCanvas::IsPercentStr(std::string& percent) in UpdateTextStyleForeground() function in OHOS::Ace::RosenRenderOffscreenCanvas
2781 bool hasPercent = IsPercentStr(percentage); in UpdateTextStyleForeground()
2803 bool hasPercent = IsPercentStr(percentage); in UpdateTextStyleForeground()
2830 bool hasPercent = IsPercentStr(percent); in UpdateTextStyleForeground()
2848 bool hasPercent = IsPercentStr(percent); in UpdateTextStyleForeground()
2865 bool hasPercent = IsPercentStr(perStr); in UpdateTextStyleForeground()
2886 bool hasPercent = IsPercentStr(perStr); in UpdateTextStyleForeground()
2929 bool hasPercent = IsPercentStr(percent); in UpdateTextStyleForeground()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_utils.h139 static bool IsPercentStr(std::string& percent) in IsPercentStr() function
H A Darkts_native_select_bridge.cpp550 } else if (ArkTSUtils::IsPercentStr(modeFlag)) { in SetOptionWidth()
590 if (ArkTSUtils::IsPercentStr(modeFlag)) { in SetOptionHeight()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.h335 bool IsPercentStr(std::string& percentStr);
H A Dcustom_paint_paint_method.cpp1746 bool CustomPaintPaintMethod::IsPercentStr(std::string& percent) in IsPercentStr() function in OHOS::Ace::NG::CustomPaintPaintMethod
1804 bool hasPercent = IsPercentStr(percentage); in PercentStrToFloat()