Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_select.h31 static bool IsPercentStr(std::string& percent);
H A Djs_select.cpp701 bool JSSelect::IsPercentStr(std::string& percent) in IsPercentStr() function in OHOS::OHOS::Ace::Framework::JSSelect
725 } else if (IsPercentStr(modeFlag)) { in SetOptionWidth()
751 if (IsPercentStr(modeFlag)) { in SetOptionHeight()
/foundation/arkui/ace_engine/test/unittest/core/pattern/canvas/
H A Dcanvas_test_ng.cpp59 * @tc.desc: Test the function 'IsPercentStr' of the class 'CustomPaintPaintMethod'.
72 * @tc.steps2: Call the function IsPercentStr with percent string. in HWTEST_F()
78 EXPECT_TRUE(paintMethod->IsPercentStr(percentStr)); in HWTEST_F()
82 * @tc.steps3: Call the function IsPercentStr with non-percent string. in HWTEST_F()
86 EXPECT_FALSE(paintMethod->IsPercentStr(nonPercentStr)); in HWTEST_F()
H A Dcanvas_custom_paint_method_test_ng.cpp384 * @tc.desc: Test the function 'IsPercentStr' of the class 'CustomPaintPaintMethod'.
396 * @tc.steps2: Call the function IsPercentStr. in HWTEST_F()
400 EXPECT_TRUE(paintMethod->IsPercentStr(percentStr1)); in HWTEST_F()
404 EXPECT_FALSE(paintMethod->IsPercentStr(percentStr2)); in HWTEST_F()
408 EXPECT_FALSE(paintMethod->IsPercentStr(percentStr3)); in HWTEST_F()
/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()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.h343 bool IsPercentStr(std::string& percentStr);
H A Dcustom_paint_paint_method.cpp1736 bool CustomPaintPaintMethod::IsPercentStr(std::string& percent) in IsPercentStr() function in OHOS::Ace::NG::CustomPaintPaintMethod
1794 bool hasPercent = IsPercentStr(percentage); in PercentStrToFloat()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_utils.h155 static bool IsPercentStr(std::string& percent) in IsPercentStr() function in OHOS::OHOS::Ace::NG::ResourceType::ArkTSUtils
H A Darkts_native_select_bridge.cpp550 } else if (ArkTSUtils::IsPercentStr(modeFlag)) { in SetOptionWidth()
590 if (ArkTSUtils::IsPercentStr(modeFlag)) { in SetOptionHeight()

Completed in 17 milliseconds