Home
last modified time | relevance | path

Searched refs:isRound (Results 1 - 24 of 24) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/common/plugin_adapter/
H A Dplugin_bridge.cpp82 bool isRound = SystemProperties::GetIsScreenRound(); in GetDeviceInfo() local
83 if (isRound) { in GetDeviceInfo()
/foundation/window/window_manager/previewer/include/
H A Dwindow_model.h45 bool isRound = false; // shape rect(false) circle(true) member
/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dsystem_properties.cpp153 int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound) in InitDeviceInfo()
164 isRound_ = isRound; in InitDeviceInfo()
152 InitDeviceInfo( int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound) InitDeviceInfo() argument
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_run_args.h73 bool isRound = false; member
H A Dace_ability.cpp101 LOGI("runArgs.isRound: %{private}s", runArgs.isRound ? "true" : "false"); in DumpAceRunArgs()
217 runArgs.isRound); in AceAbility()
526 width, height, orientation == DeviceOrientation::PORTRAIT ? 0 : 1, resolution, runArgs_.isRound); in SurfaceChanged()
558 runArgs_.isRound = systemParams.isRound; in LoadDocument()
H A Dace_ability.h57 bool isRound = false; member
H A Dui_content_impl.cpp253 isRound_ = options.isRound; in UIContentImpl()
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Doptions.h87 bool isRound; member
/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_render_context.h64 void SavePaintRect(bool isRound = true, uint8_t flag = 0) override
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_decoration_painter.h168 SkRRect GetBoxRRect(const Offset& offset, const Border& border, double shrinkFactor, bool isRound);
171 double shrinkFactor, bool isRound);
H A Drosen_decoration_painter.cpp2220 const Offset& offset, const Border& border, double shrinkFactor, bool isRound) in GetBoxRRect()
2232 if (isRound) { in GetBoxRRect()
2267 const Offset& offset, const Border& border, double shrinkFactor, bool isRound) in GetBoxRRect()
2279 if (isRound) { in GetBoxRRect()
2219 GetBoxRRect( const Offset& offset, const Border& border, double shrinkFactor, bool isRound) GetBoxRRect() argument
2266 GetBoxRRect( const Offset& offset, const Border& border, double shrinkFactor, bool isRound) GetBoxRRect() argument
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drosen_render_box.h166 SkRRect GetBoxRRect(const Offset& offset, const Border& border, double shrinkFactor, bool isRound);
173 const Offset& offset, const Border& border, double shrinkFactor, bool isRound);
H A Drosen_render_box.cpp760 SkRRect RosenRenderBox::GetBoxRRect(const Offset& offset, const Border& border, double shrinkFactor, bool isRound) argument
773 if (isRound) {
792 RSRoundRect RosenRenderBox::GetBoxRRect(const Offset& offset, const Border& border, double shrinkFactor, bool isRound) argument
807 if (isRound) {
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.h78 void SyncGeometryProperties(GeometryNode* geometryNode, bool isRound = true, uint8_t flag = 0) override;
417 void SavePaintRect(bool isRound = true, uint8_t flag = 0) override;
621 float RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor);
623 float OnePixelValueRounding(float value, bool isRound, bool forceCeil, bool forceFloor);
625 void RoundToPixelGrid(bool isRound, uint8_t flag);
627 void OnePixelRounding(bool isRound, uint8_t flag);
H A Drosen_render_context.cpp534 void RosenRenderContext::SyncGeometryProperties(GeometryNode* /*geometryNode*/, bool /* isRound */, uint8_t /* flag */) in SyncGeometryProperties()
3125 float RosenRenderContext::RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor) in RoundValueToPixelGrid() argument
3135 } else if (isRound) { in RoundValueToPixelGrid()
3160 float RosenRenderContext::OnePixelValueRounding(float value, bool isRound, bool forceCeil, bool forceFloor) in OnePixelValueRounding() argument
3170 } else if (isRound) { in OnePixelValueRounding()
3220 void RosenRenderContext::RoundToPixelGrid(bool isRound, uint8_t flag) in RoundToPixelGrid() argument
3241 float nodeLeftI = RoundValueToPixelGrid(relativeLeft, isRound, ceilLeft, floorLeft); in RoundToPixelGrid()
3242 float nodeTopI = RoundValueToPixelGrid(relativeTop, isRound, ceilTop, floorTop); in RoundToPixelGrid()
3244 float nodeWidthI = RoundValueToPixelGrid(absoluteRight, isRound, ceilRight, floorRight) - nodeLeftI; in RoundToPixelGrid()
3245 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom, isRound, ceilBotto in RoundToPixelGrid()
3325 OnePixelRounding(bool isRound, uint8_t flag) OnePixelRounding() argument
6378 SavePaintRect(bool isRound, uint8_t flag) global() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_pattern.cpp1907 RectF XComponentPattern::AdjustPaintRect(float positionX, float positionY, float width, float height, bool isRound) in AdjustPaintRect() argument
1919 float nodeLeftI = RoundValueToPixelGrid(relativeLeft, isRound, false, false); in AdjustPaintRect()
1920 float nodeTopI = RoundValueToPixelGrid(relativeTop, isRound, false, false); in AdjustPaintRect()
1926 float nodeWidthI = RoundValueToPixelGrid(absoluteRight, isRound, false, false) - nodeLeftI; in AdjustPaintRect()
1927 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect()
1942 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom, isRound, false, false) - nodeTopI; in AdjustPaintRect()
1943 float nodeHeightTemp = RoundValueToPixelGrid(nodeHeight, isRound, false, false); in AdjustPaintRect()
1963 float XComponentPattern::RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor) in RoundValueToPixelGrid() argument
1973 } else if (isRound) { in RoundValueToPixelGrid()
H A Dxcomponent_pattern.h313 RectF AdjustPaintRect(float positionX, float positionY, float width, float height, bool isRound);
314 float RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor);
/foundation/ability/ability_runtime/frameworks/simulator/test/src/
H A Dmain.cpp65 options.isRound = atoi(argv[PARAM_FIFTEEN]); in main()
/foundation/arkui/ace_engine/adapter/preview/entrance/samples/
H A Dace_wearable_test.cpp69 .isRound = true, in main()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp161 float RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor) in RoundValueToPixelGrid() argument
171 } else if (isRound) { in RoundValueToPixelGrid()
181 RectF AdjustPaintRect(float positionX, float positionY, float width, float height, bool isRound) in AdjustPaintRect() argument
193 float nodeLeftI = RoundValueToPixelGrid(relativeLeft, isRound, false, false); in AdjustPaintRect()
194 float nodeTopI = RoundValueToPixelGrid(relativeTop, isRound, false, false); in AdjustPaintRect()
200 float nodeWidthI = RoundValueToPixelGrid(absoluteRight, isRound, false, false) - nodeLeftI; in AdjustPaintRect()
201 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect()
216 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom, isRound, false, false) - nodeTopI; in AdjustPaintRect()
217 float nodeHeightTemp = RoundValueToPixelGrid(nodeHeight, isRound, false, false); in AdjustPaintRect()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dsystem_properties.cpp542 int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound) in InitDeviceInfo()
547 isRound_ = isRound; in InitDeviceInfo()
541 InitDeviceInfo( int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound) InitDeviceInfo() argument
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dsystem_properties.h80 int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound);
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Drender_context.h118 virtual void SyncGeometryProperties(GeometryNode* geometryNode, bool isRound = true, uint8_t flag = 0) {} in SyncGeometryProperties()
351 virtual void SavePaintRect(bool isRound = true, uint8_t flag = 0) {} in SavePaintRect()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_engine.cpp794 bool isRound = SystemProperties::GetIsScreenRound(); in GetDeviceInfo() local
795 if (isRound) { in GetDeviceInfo()

Completed in 48 milliseconds