/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | system_properties.cpp | 41 bool SystemProperties::svgTraceEnable_ = false; 42 bool SystemProperties::developerModeOn_ = false; 43 std::atomic<bool> SystemProperties::layoutTraceEnable_(false); 44 std::atomic<bool> SystemProperties::traceInputEventEnable_(false); 45 std::atomic<bool> SystemProperties::stateManagerEnable_(false); 46 bool SystemProperties::buildTraceEnable_ = false; 47 bool SystemProperties::syncDebugTraceEnable_ = false; 48 bool SystemProperties::pixelRoundEnable_ = true; 49 bool SystemProperties::textTraceEnable_ = false; 50 bool SystemProperties [all...] |
/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_system_properties.cpp | 35 DeviceType SystemProperties::deviceType_ = DeviceType::PHONE; 36 DeviceOrientation SystemProperties::orientation_ { DeviceOrientation::PORTRAIT }; 37 bool SystemProperties::isHookModeEnabled_ = false; 38 bool SystemProperties::rosenBackendEnabled_ = true; 39 bool SystemProperties::windowAnimationEnabled_ = true; 40 std::atomic<bool> SystemProperties::layoutTraceEnable_(false); 41 std::atomic<bool> SystemProperties::traceInputEventEnable_(false); 42 bool SystemProperties::buildTraceEnable_ = false; 43 bool SystemProperties::syncDebugTraceEnable_ = false; 44 bool SystemProperties [all...] |
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | system_properties.cpp | 366 bool SystemProperties::svgTraceEnable_ = IsSvgTraceEnabled(); 367 bool SystemProperties::developerModeOn_ = IsDeveloperModeOn(); 368 std::atomic<bool> SystemProperties::layoutTraceEnable_(IsLayoutTraceEnabled() && developerModeOn_); 369 bool SystemProperties::imageFrameworkEnable_ = IsImageFrameworkEnabled(); 370 std::atomic<bool> SystemProperties::traceInputEventEnable_(IsTraceInputEventEnabled() && developerModeOn_); 371 std::atomic<bool> SystemProperties::stateManagerEnable_(IsStateManagerEnable()); 372 bool SystemProperties::buildTraceEnable_ = IsBuildTraceEnabled() && developerModeOn_; 373 bool SystemProperties::syncDebugTraceEnable_ = IsSyncDebugTraceEnabled(); 374 bool SystemProperties::pixelRoundEnable_ = IsPixelRoundEnabled(); 375 bool SystemProperties [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/plugin_adapter/ |
H A D | plugin_bridge.cpp | 23 std::string tmp = SystemProperties::GetBrand(); in ProcessSystemParam() 24 if (tmp != SystemProperties::INVALID_PARAM) { in ProcessSystemParam() 27 tmp = SystemProperties::GetManufacturer(); in ProcessSystemParam() 28 if (tmp != SystemProperties::INVALID_PARAM) { in ProcessSystemParam() 31 tmp = SystemProperties::GetModel(); in ProcessSystemParam() 32 if (tmp != SystemProperties::INVALID_PARAM) { in ProcessSystemParam() 35 tmp = SystemProperties::GetProduct(); in ProcessSystemParam() 36 if (tmp != SystemProperties::INVALID_PARAM) { in ProcessSystemParam() 39 tmp = SystemProperties::GetApiVersion(); in ProcessSystemParam() 40 if (tmp != SystemProperties in ProcessSystemParam() [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/resource/ |
H A D | resource_wrapper.h | 46 if (SystemProperties::GetResourceDecoupling()) { in GetColor() 54 if (SystemProperties::GetResourceDecoupling()) { in GetColorByName() 62 if (SystemProperties::GetResourceDecoupling()) { in GetDimension() 70 if (SystemProperties::GetResourceDecoupling()) { in GetDimensionByName() 78 if (SystemProperties::GetResourceDecoupling()) { in GetInt() 86 if (SystemProperties::GetResourceDecoupling()) { in GetIntByName() 94 if (SystemProperties::GetResourceDecoupling()) { in GetDouble() 102 if (SystemProperties::GetResourceDecoupling()) { in GetDoubleByName() 110 if (SystemProperties::GetResourceDecoupling()) { in GetString() 118 if (SystemProperties in GetStringByName() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/ |
H A D | impl_factory.cpp | 33 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in CreateCoreCanvasImpl() 43 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in CreateCoreCanvasImpl() 53 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in CreateCoreCanvasImpl() 63 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in CreateCoreCanvasImpl() 73 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in CreateDataImpl() 84 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in CreateGPUContextImpl() 95 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in CreateTraceMemoryDumpImpl() 105 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in CreateBitmapImpl() 115 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in CreatePixmapImpl() 125 if (SystemProperties in CreatePixmapImpl() [all...] |
H A D | static_factory.cpp | 33 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in MakeFromText() 44 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in MakeFromPosText() 55 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in MakeFromRSXform() 65 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in MakeDefault() 75 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in MakeFromFile() 85 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in MakeFromFile() 95 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in GetSystemFonts() 105 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in MakeFromStream() 115 if (SystemProperties::GetGpuApiType() == GpuApiType::DDGR) { in MakeFromName() 128 if (!SystemProperties in MakeFromBackendRenderTarget() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/ |
H A D | media_query_info.cpp | 25 if (SystemProperties::GetParamDeviceType() == "tablet") { in GetDeviceType() 28 if (SystemProperties::GetParamDeviceType() == "2in1") { in GetDeviceType() 31 switch (SystemProperties::GetDeviceType()) { in GetDeviceType() 49 switch (SystemProperties::GetDeviceOrientation()) { in GetOrientation() 92 json->Put("round-screen", SystemProperties::GetIsScreenRound()); in GetMediaQueryJsonInfo() 93 json->Put("device-width", SystemProperties::GetDeviceWidth()); in GetMediaQueryJsonInfo() 94 json->Put("device-height", SystemProperties::GetDeviceHeight()); in GetMediaQueryJsonInfo() 98 json->Put("dark-mode", SystemProperties::GetColorMode() == ColorMode::DARK); in GetMediaQueryJsonInfo() 99 json->Put("api-version", StringUtils::StringToInt(SystemProperties::GetApiVersion())); in GetMediaQueryJsonInfo()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/ |
H A D | system_properties.cpp | 24 bool SystemProperties::GetHMSymbolEnable() in GetHMSymbolEnable() 32 const GpuApiType SystemProperties::systemGpuApiType_ = SystemProperties::GetSystemGraphicGpuType(); 34 const GpuApiType SystemProperties::systemGpuApiType_ = GpuApiType::OPENGL; 36 const GpuApiType SystemProperties::systemGpuApiType_ = GpuApiType::VULKAN;
|
/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | ace_trace.h | 33 AceScopedTraceFlag aceScopedTraceFlag(SystemProperties::GetSvgTraceEnabled(), fmt, ##__VA_ARGS__) 35 AceScopedTraceFlag aceScopedTraceFlag(SystemProperties::GetTextTraceEnabled(), fmt, ##__VA_ARGS__) 37 AceScopedTraceFlag aceScopedTraceFlag(SystemProperties::GetSyntaxTraceEnabled(), fmt, ##__VA_ARGS__) 39 AceScopedTraceFlag aceScopedTraceFlag(SystemProperties::GetAccessTraceEnabled(), fmt, ##__VA_ARGS__) 41 AceScopedTraceFlag aceScopedTraceFlag(SystemProperties::GetLayoutTraceEnabled(), fmt, ##__VA_ARGS__) 43 AceScopedTraceFlag aceScopedTraceFlag(SystemProperties::GetDebugEnabled(), fmt, ##__VA_ARGS__) 51 if (SystemProperties::GetLayoutTraceEnabled()) { \ 55 if (SystemProperties::GetLayoutTraceEnabled()) { \ 61 if (SystemProperties::GetBuildTraceEnabled()) { \ 65 if (SystemProperties [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/systemproperties_fuzzer/ |
H A D | system_properties_fuzzer.cpp | 36 SystemProperties::GetGpuApiType(); in SystemPropertiesFuzzTest000() 37 SystemProperties::IsUseVulkan(); in SystemPropertiesFuzzTest000() 38 SystemProperties::GetHMSymbolEnable(); in SystemPropertiesFuzzTest000() 39 SystemProperties::GetSystemGraphicGpuType(); in SystemPropertiesFuzzTest000()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | system_properties.h | 27 class SystemProperties { class 31 return SystemProperties::systemGpuApiType_; in GetGpuApiType() 36 return SystemProperties::GetGpuApiType() != GpuApiType::OPENGL; in IsUseVulkan() 41 return SystemProperties::GetGpuApiType() == GpuApiType::OPENGL; in IsUseGl()
|
/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/ |
H A D | render_focus_animation.cpp | 54 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in Update() 107 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in SetFocusAnimationProperties() 113 } else if (SystemProperties::GetDeviceType() == DeviceType::PHONE) { in SetFocusAnimationProperties() 126 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in SetFocusAnimationProperties() 136 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in CancelFocusAnimation() 149 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in StopFocusAnimation() 159 if (SystemProperties::GetDeviceType() == DeviceType::PHONE) { in StartFocusAnimation() 161 } else if (SystemProperties::GetDeviceType() == DeviceType::TV) { in StartFocusAnimation()
|
/foundation/arkui/ace_engine/test/unittest/core/accessibility/ |
H A D | js_inspector_test.cpp | 90 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckToggleAttrAndStyle() 133 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckTextAreaAttrAndStyle() 160 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckTextAttrAndStyle() 192 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckTabBarAttrAndStyle() 211 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckSwiperAttrAndStyle() 243 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckSliderAttrAndStyle() 277 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckRefreshAttrAndStyle() 311 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckRatingAttrAndStyle() 336 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckProgressAttrAndStyle() 365 DeviceType deviceType = SystemProperties in CheckButtonAttrAndStyle() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | render_custom_paint_creator.cpp | 21 if (SystemProperties::GetRosenBackendEnabled()) { in Create() 34 if (SystemProperties::GetRosenBackendEnabled()) { in PaintMeasureText() 47 if (SystemProperties::GetRosenBackendEnabled()) { in MeasureTextSize()
|
/foundation/arkui/ace_engine/frameworks/core/components/shadow/ |
H A D | render_shadow.cpp | 27 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in SetShadowProperties() 38 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in SetShadowProperties() 51 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in CancelShadow()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | util_modifier.cpp | 23 return SystemProperties::GetResolution(); in GetDensity() 29 auto density = SystemProperties::GetResolution(); in GetFontScale() 45 return windowConfig.GetDesignWidthScale(SystemProperties::GetDeviceWidth()); in GetDesignWidthScale()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_column_component.cpp | 55 if (SystemProperties::GetDeviceType() == DeviceType::PHONE && in Initialize() 56 SystemProperties::GetDeviceOrientation() == DeviceOrientation::LANDSCAPE) { in Initialize() 65 option->SetDisappear((SystemProperties::GetDeviceType() != DeviceType::WATCH && in Initialize() 66 SystemProperties::GetDeviceType() != DeviceType::UNKNOWN && showCount >= 5 && in Initialize()
|
/foundation/arkui/ace_engine/frameworks/core/components/data_panel/ |
H A D | render_data_panel_creator.cpp | 21 if (SystemProperties::GetRosenBackendEnabled()) { in Create() 34 if (SystemProperties::GetRosenBackendEnabled()) { in Create()
|
/foundation/arkui/ace_engine/frameworks/core/components/clock/ |
H A D | render_clock_creator.cpp | 21 if (SystemProperties::GetRosenBackendEnabled()) { in Create() 34 if (SystemProperties::GetRosenBackendEnabled()) { in Create()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | render_surface_creator.cpp | 30 if (SystemProperties::GetRosenBackendEnabled()) { in Create() 46 if (SystemProperties::GetRosenBackendEnabled()) {
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/ |
H A D | text_picker_column_test_one_ng.cpp | 213 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 214 SystemProperties::SetDeviceOrientation(static_cast<int32_t>(DeviceOrientation::LANDSCAPE)); in HWTEST_F() 246 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 247 SystemProperties::SetDeviceOrientation(static_cast<int32_t>(DeviceOrientation::LANDSCAPE)); in HWTEST_F() 281 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 282 SystemProperties::SetDeviceOrientation(static_cast<int32_t>(DeviceOrientation::LANDSCAPE)); in HWTEST_F() 317 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 318 SystemProperties::SetDeviceOrientation(static_cast<int32_t>(DeviceOrientation::LANDSCAPE)); in HWTEST_F() 348 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 349 SystemProperties in HWTEST_F() [all...] |
H A D | text_picker_column_test_ng.cpp | 244 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 245 SystemProperties::SetDeviceOrientation(static_cast<int32_t>(DeviceOrientation::LANDSCAPE)); in HWTEST_F() 282 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 283 SystemProperties::SetDeviceOrientation(0); in HWTEST_F() 336 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 337 SystemProperties::SetDeviceOrientation(0); in HWTEST_F() 390 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 391 SystemProperties::SetDeviceOrientation(static_cast<int32_t>(DeviceOrientation::LANDSCAPE)); in HWTEST_F() 429 SystemProperties::SetDeviceType(DeviceType::PHONE); in HWTEST_F() 430 SystemProperties in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | surface.cpp | 49 if (!SystemProperties::IsUseVulkan()) { in MakeFromBackendRenderTarget() 146 if (!SystemProperties::IsUseGl()) { in Wait() 159 if (!SystemProperties::IsUseVulkan()) { in Wait() 170 if (!SystemProperties::IsUseVulkan()) { in SetDrawingArea() 182 if (!SystemProperties::IsUseVulkan()) { in ClearDrawingArea()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/node_container/ |
H A D | node_container_node.cpp | 48 if (SystemProperties::GetDeveloperModeOn()) { in OnReuse() 49 PaintDebugBoundary(SystemProperties::GetDebugBoundaryEnabled()); in OnReuse()
|