Home
last modified time | relevance | path

Searched refs:isRound (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dsystem_properties.cpp154 int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound) in InitDeviceInfo() argument
165 isRound_ = isRound; in InitDeviceInfo()
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_ability.cpp98 LOGI("runArgs.isRound: %{private}s", runArgs.isRound ? "true" : "false"); in DumpAceRunArgs()
214 runArgs.isRound); in AceAbility()
518 … width, height, orientation == DeviceOrientation::PORTRAIT ? 0 : 1, resolution, runArgs_.isRound); in SurfaceChanged()
550 runArgs_.isRound = systemParams.isRound; in LoadDocument()
H A Dace_run_args.h73 bool isRound = false; member
H A Dace_ability.h57 bool isRound = false; member
H A Dui_content_impl.cpp253 isRound_ = options.isRound; in UIContentImpl()
/ohos5.0/foundation/window/window_manager/previewer/include/
H A Dwindow_model.h45 bool isRound = false; // shape rect(false) circle(true) member
/ohos5.0/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 …nderBox::GetBoxRRect(const Offset& offset, const Border& border, double shrinkFactor, bool isRound) argument
773 if (isRound) {
792 …nderBox::GetBoxRRect(const Offset& offset, const Border& border, double shrinkFactor, bool isRound) argument
807 if (isRound) {
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_render_context.h64 void SavePaintRect(bool isRound = true, uint16_t flag = 0) override
/ohos5.0/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) ove…
409 void SavePaintRect(bool isRound = true, uint16_t flag = 0) override;
617 float RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor);
619 float OnePixelValueRounding(float value, bool isRound, bool forceCeil, bool forceFloor);
621 void RoundToPixelGrid(bool isRound, uint16_t flag);
H A Drosen_render_context.cpp3167 } else if (isRound) { in RoundValueToPixelGrid()
3202 } else if (isRound) { in OnePixelValueRounding()
3252 void RosenRenderContext::RoundToPixelGrid(bool isRound, uint16_t flag) in RoundToPixelGrid() argument
3273 float nodeLeftI = RoundValueToPixelGrid(relativeLeft, isRound, ceilLeft, floorLeft); in RoundToPixelGrid()
3274 float nodeTopI = RoundValueToPixelGrid(relativeTop, isRound, ceilTop, floorTop); in RoundToPixelGrid()
3286 RoundValueToPixelGrid(innerLeft, isRound, ceilLeft, floorLeft); in RoundToPixelGrid()
3288 RoundValueToPixelGrid(innerTop, isRound, ceilTop, floorTop); in RoundToPixelGrid()
6411 void RosenRenderContext::SavePaintRect(bool isRound, uint16_t flag) argument
6420 isRound = false;
6427 if (isRound && flag == 0) {
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Doptions.h87 bool isRound; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_pattern.cpp1824 …Pattern::AdjustPaintRect(float positionX, float positionY, float width, float height, bool isRound) in AdjustPaintRect() argument
1836 float nodeLeftI = RoundValueToPixelGrid(relativeLeft, isRound, false, false); in AdjustPaintRect()
1837 float nodeTopI = RoundValueToPixelGrid(relativeTop, isRound, false, false); in AdjustPaintRect()
1843 float nodeWidthI = RoundValueToPixelGrid(absoluteRight, isRound, false, false) - nodeLeftI; in AdjustPaintRect()
1844 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect()
1859 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom, isRound, false, false) - nodeTopI; in AdjustPaintRect()
1860 float nodeHeightTemp = RoundValueToPixelGrid(nodeHeight, isRound, false, false); in AdjustPaintRect()
1880 float XComponentPattern::RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forc… in RoundValueToPixelGrid() argument
1890 } 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);
/ohos5.0/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() argument
2232 if (isRound) { in GetBoxRRect()
2267 const Offset& offset, const Border& border, double shrinkFactor, bool isRound) in GetBoxRRect() argument
2279 if (isRound) { in GetBoxRRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp179 float RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor) in RoundValueToPixelGrid() argument
189 } else if (isRound) { in RoundValueToPixelGrid()
199 RectF AdjustPaintRect(float positionX, float positionY, float width, float height, bool isRound) in AdjustPaintRect() argument
211 float nodeLeftI = RoundValueToPixelGrid(relativeLeft, isRound, false, false); in AdjustPaintRect()
212 float nodeTopI = RoundValueToPixelGrid(relativeTop, isRound, false, false); in AdjustPaintRect()
218 float nodeWidthI = RoundValueToPixelGrid(absoluteRight, isRound, false, false) - nodeLeftI; in AdjustPaintRect()
219 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect()
234 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom, isRound, false, false) - nodeTopI; in AdjustPaintRect()
235 float nodeHeightTemp = RoundValueToPixelGrid(nodeHeight, isRound, false, false); in AdjustPaintRect()
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/samples/
H A Dace_wearable_test.cpp69 .isRound = true, in main()
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/test/src/
H A Dmain.cpp65 options.isRound = atoi(argv[PARAM_FIFTEEN]); in main()
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dability_context.cpp73 TAG_LOGD(AAFwkTag::ABILITY_SIM, "isRound:%{public}d", options.isRound); in SetOptions()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dsystem_properties.cpp551 int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound) in InitDeviceInfo() argument
556 isRound_ = isRound; in InitDeviceInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dsystem_properties.h74 … int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Drender_context.h116 …virtual void SyncGeometryProperties(GeometryNode* geometryNode, bool isRound = true, uint8_t flag …
349 virtual void SavePaintRect(bool isRound = true, uint16_t flag = 0) {}
/ohos5.0/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()