/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | color_factory.cpp | 23 std::make_pair<Color, Color>(Color::FromString("#F7CE00"), Color::FromString("#F99B11")); in ColorFactory() 25 std::make_pair<Color, Color>(Color::FromString("#F76223"), Color::FromString("#F2400A")); in ColorFactory() 27 std::make_pair<Color, Color>(Color::FromString("#F772AC"), Color::FromString("#E65392")); in ColorFactory() 29 std::make_pair<Color, Color>(Color::FromString("#A575EB"), Color::FromString("#A12DF7")); in ColorFactory() 31 std::make_pair<Color, Color>(Color::FromString("#7B79F7"), Color::FromString("# in ColorFactory() [all...] |
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | net_proxy_from_string_test.cpp | 44 auto newProxyOpt = HttpProxy::FromString(proxyStr); in HWTEST_F() 53 auto newProxyOpt = HttpProxy::FromString(proxyStr); in HWTEST_F() 60 auto newProxyOpt = HttpProxy::FromString(""); in HWTEST_F() 66 auto newProxyOpt = HttpProxy::FromString("not proxy"); in HWTEST_F() 72 auto newProxyOpt = HttpProxy::FromString("fake.domen\t\t"); in HWTEST_F() 78 auto newProxyOpt = HttpProxy::FromString("\t0\t"); in HWTEST_F() 86 auto newProxyOpt = HttpProxy::FromString("fake.domain\t0\texclude.this"); in HWTEST_F() 94 auto newProxyOpt = HttpProxy::FromString("fake.domain\t0\texclude.this"); in HWTEST_F() 102 auto newProxyOpt = HttpProxy::FromString("fake.domain\t0\texclude.this,and.this"); in HWTEST_F() 110 auto newProxyOpt = HttpProxy::FromString("fak in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/mock/core/common/ |
H A D | mock_theme_default.h | 33 pickerTheme->focusColor_ = Color::FromString("#FFFF0000"); in GetPickerTheme() 49 pickerTheme->dividerColor_ = Color::FromString("#FFFF0000"); in GetPickerTheme() 52 pickerTheme->pressColor_ = Color::FromString("#FFFF0000"); in GetPickerTheme() 53 pickerTheme->hoverColor_ = Color::FromString("#FF000000"); in GetPickerTheme() 54 pickerTheme->lunarswitchTextColor_ = Color::FromString("#FF000000"); in GetPickerTheme()
|
/foundation/arkui/ace_engine/adapter/ohos/capability/html/ |
H A D | html_to_span.cpp | 194 Dimension HtmlToSpan::FromString(const std::string& str) in FromString() function in OHOS::Ace::HtmlToSpan 256 font->fontSize = FromString(value); in InitFont() 295 style->textIndent = FromString(value); in InitParagrap() 381 obj->dimension = FromString(value); in InitDimension() 422 return Color::FromString(color); in ToSpanColor() 471 textShadow.SetOffsetX(FromString(attribute[FIRST_PARAM]).Value()); in InitShadow() 474 textShadow.SetOffsetY(FromString(attribute[SECOND_PARAM]).Value()); in InitShadow() 477 textShadow.SetBlurRadius(FromString(attribute[THIRD_PARAM]).Value()); in InitShadow() 548 paddings->top = NG::CalcLength::FromString(words[TOP_PARAM]); in SetPaddingOption() 549 paddings->right = NG::CalcLength::FromString(word in SetPaddingOption() [all...] |
/foundation/communication/bluetooth_service/test/unittest/gatt/ |
H A D | gatt_service_test.cpp | 71 uuid_ = UUID::FromString("00001820-0000-1000-8000-00805F9B34FB"); in HWTEST_F() 115 uuid_test = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F() 141 uuid_test = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F() 168 uuid_test = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F() 191 uuid_test = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F() 222 uuid_test = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F()
|
H A D | gatt_server_test.cpp | 105 uuidSerPer = UUID::FromString("00001810-0000-1000-8000-00805F9B34F7"); in HWTEST_F() 140 uuidSerPer = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F() 182 uuidSerPer = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F() 223 uuidSerPer = UUID::FromString("00001810-0000-1000-8000-00805F9B34F5"); in HWTEST_F() 248 uuidSerPer = UUID::FromString("00001810-0000-1000-8000-00805F9B34F9"); in HWTEST_F()
|
H A D | gatt_descriptor_test.cpp | 84 uuid_ = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F() 86 uuid_test = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F() 131 uuid_test = UUID::FromString("00001810-0000-1000-8000-00805F9B34FB"); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_test_ng.h | 39 Color::FromString("#182431") }; 41 const Color CLICK_ARROW_COLOR = Color::FromString("#19182431"); 43 const Color INDICATOR_TEXT_FONT_COLOR = Color::FromString("#ff182431");
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | dimension_test.cpp | 284 * @tc.desc: FromString(). 290 * @tc.steps1: Test the function FromString of the class Dimension. in HWTEST_F() 293 EXPECT_DOUBLE_EQ(Dimension::FromString(DIMENSION_PX_STR).Value(), DEFAULT_DOUBLE); in HWTEST_F() 294 EXPECT_DOUBLE_EQ(Dimension::FromString(DIMENSION_VP_STR).Value(), DEFAULT_DOUBLE); in HWTEST_F() 295 EXPECT_DOUBLE_EQ(Dimension::FromString(DIMENSION_FP_STR).Value(), DEFAULT_DOUBLE); in HWTEST_F() 296 EXPECT_DOUBLE_EQ(Dimension::FromString(DIMENSION_LPX_STR).Value(), DEFAULT_DOUBLE); in HWTEST_F() 297 EXPECT_DOUBLE_EQ(Dimension::FromString(DIMENSION_PCT_STR).Value(), DEFAULT_DOUBLE); in HWTEST_F() 298 EXPECT_DOUBLE_EQ(Dimension::FromString(DIMENSION_AUTO_STR).Value(), DEFAULT_DOUBLE); in HWTEST_F() 299 EXPECT_DOUBLE_EQ(Dimension::FromString("").Value(), ZERO_DOUBLE); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_layout_property.cpp | 23 divider.strokeWidth = Dimension::FromString(json->GetString("strokeWidth")); in ItemDividerFromJson() 24 divider.startMargin = Dimension::FromString(json->GetString("startMargin")); in ItemDividerFromJson() 25 divider.endMargin = Dimension::FromString(json->GetString("endMargin")); in ItemDividerFromJson() 105 UpdateSpace(Dimension::FromString(json->GetString("space"))); in FromJson()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_settings.h | 39 virtual void FromString(const std::string& value) = 0; 92 void FromString(const std::string& value) override 126 void FromString(const std::string& value) override 149 void FromString(const std::string& value) override
|
H A D | rs_profiler_settings.cpp | 45 FromString(parameter.ToString()); in operator =() 66 parameter->FromString(value); in Set()
|
/foundation/communication/bluetooth_service/test/unittest/ble/ |
H A D | ble_test.cpp | 31 Bluetooth::UUID g_uuid = Bluetooth::UUID::FromString("00000000-0000-1000-8000-00805F9B34FB"); 32 Bluetooth::UUID g_serviceDataUuid = Bluetooth::UUID::FromString("00000000-0000-1000-8000-00805F9B34FA"); 33 Bluetooth::UUID g_serviceUuid = Bluetooth::UUID::FromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); 34 Bluetooth::UUID g_serviceUuidMask = Bluetooth::UUID::FromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); 35 Bluetooth::UUID g_serviceSolicitationUuid = Bluetooth::UUID::FromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); 36 Bluetooth::UUID g_serviceSolicitationUuidMask = Bluetooth::UUID::FromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF");
|
/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | layout_constraint_test_ng.cpp | 67 CalcLength width = CalcLength::FromString(widthStr); in HWTEST_F() 69 CalcLength height = CalcLength::FromString(heightStr); in HWTEST_F() 82 height = CalcLength::FromString(heightStr); in HWTEST_F() 94 width = CalcLength::FromString(widthStr); in HWTEST_F() 125 height = CalcLength::FromString(heightStr); in HWTEST_F() 357 CalcLength width = CalcLength::FromString(widthStr); in HWTEST_F() 359 CalcLength height = CalcLength::FromString(heightStr); in HWTEST_F() 373 height = CalcLength::FromString(heightStr); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | render_context.cpp | 184 brp.radiusTopLeft = Dimension::FromString(borderRadius->GetString("topLeft")); in FromJson() 185 brp.radiusTopRight = Dimension::FromString(borderRadius->GetString("topRight")); in FromJson() 186 brp.radiusBottomLeft = Dimension::FromString(borderRadius->GetString("bottomLeft")); in FromJson() 187 brp.radiusBottomRight = Dimension::FromString(borderRadius->GetString("bottomRight")); in FromJson()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_badge_bridge.cpp | 51 jsiBadgeBridge.badgeConfig_.badgeColor = { Color::FromString(valStr), true }; in ParseBadgeConfig() 59 jsiBadgeBridge.badgeConfig_.textColor = { Color::FromString(valStr), true }; in ParseBadgeConfig()
|
H A D | jsi_chart_bridge.cpp | 54 [](const std::string& valStr, AxisOption& axis) { axis.color = Color::FromString(valStr); } }, in GetAttrOptionsAxis() 96 PointInfo& pointInfo) { pointInfo.SetFillColor(Color::FromString(valStr)); } }, in GetAttrOptionsSeriesPoint() 107 PointInfo& pointInfo) { pointInfo.SetStrokeColor(Color::FromString(valStr)); } }, in GetAttrOptionsSeriesPoint() 151 chartOptions.SetTargetColor(Color::FromString(valStr)); } }, in GetChartAttrOptionsSeriesLineStyle() 304 segmentInfo.SetSegmentColor(Color::FromString(valStr)); in ParseTextInfoAndSegmentInfo() 306 textInfo.SetColor(Color::FromString(valStr)); in ParseTextInfoAndSegmentInfo() 424 dataSet.SetStrokeColor(Color::FromString(valStr)); in GetAttrDataset() 426 dataSet.SetFillColor(Color::FromString(valStr)); in GetAttrDataset() 460 segment.SetStartColor(Color::FromString(valStr)); in ParseAttrSegment() 463 segment.SetEndColor(Color::FromString(valSt in ParseAttrSegment() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | calc_length.h | 109 static CalcLength FromString(const std::string& str) in FromString() function in OHOS::Ace::NG::CalcLength 111 return CalcLength(Dimension::FromString(str)); in FromString()
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_ble_utils.h | 74 GattCharacteristic characteristic_ = {UUID::FromString("0"), 0, 0}; 78 GattDescriptor descriptor_ = {UUID::FromString("0"), 0};
|
/foundation/communication/bluetooth_service/test/unittest/spp/ |
H A D | spp_test.cpp | 56 insecureUuid_ = UUID::FromString("00001101-0000-1000-8000-00805F9B34FB"); in SetUp() 58 uuid_ = UUID::FromString("11111111-0000-1000-8000-00805F9B34FB"); in SetUp()
|
/foundation/arkui/ace_engine/frameworks/core/components/chart/ |
H A D | chart_component.h | 292 Color strokeColor_ = Color::FromString("#ff0000"); 294 Color fillColor_ = Color::FromString("#ff0000"); 563 Color fillColor_ = Color::FromString("#ff6384"); 564 Color strokeColor_ = Color::FromString("#ff6384");
|
/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | layout_property_test_ng.cpp | 778 auto width = CalcLength::FromString("1px");
in HWTEST_F() 779 auto height = CalcLength::FromString("1px");
in HWTEST_F() 784 width = CalcLength::FromString("0px");
in HWTEST_F() 785 height = CalcLength::FromString("0px");
in HWTEST_F() 815 auto width = CalcLength::FromString("1px");
in HWTEST_F() 816 auto height = CalcLength::FromString("1px");
in HWTEST_F() 859 auto width = CalcLength::FromString("10px");
in HWTEST_F() 860 auto height = CalcLength::FromString("10px");
in HWTEST_F() 893 auto width = CalcLength::FromString("10px");
in HWTEST_F() 894 auto height = CalcLength::FromString("1 in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/fuzztest/wantagenthelperstring_fuzzer/ |
H A D | wantagenthelperstring_fuzzer.cpp | 39 auto newWantAgent = WantAgentHelper::FromString(str); in DoSomethingInterestingWithMyAPI()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/preview_mock/ |
H A D | preview_mock_model_ng.cpp | 26 const Color bgColor = Color::FromString("#808080"); in Create()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/bundle_resource/ |
H A D | bundle_system_state.h | 40 bool FromString(const std::string &systemState);
|