/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/plugin_adapter/ |
H A D | plugin_bridge.cpp | 82 bool isRound = SystemProperties::GetIsScreenRound(); in GetDeviceInfo() local 83 if (isRound) { in GetDeviceInfo()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | system_properties.cpp | 154 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 D | ace_ability.cpp | 98 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 D | ace_run_args.h | 73 bool isRound = false; member
|
H A D | ace_ability.h | 57 bool isRound = false; member
|
H A D | ui_content_impl.cpp | 253 isRound_ = options.isRound; in UIContentImpl()
|
/ohos5.0/foundation/window/window_manager/previewer/include/ |
H A D | window_model.h | 45 bool isRound = false; // shape rect(false) circle(true) member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | rosen_render_box.h | 166 …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 D | rosen_render_box.cpp | 760 …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 D | mock_render_context.h | 64 void SavePaintRect(bool isRound = true, uint16_t flag = 0) override
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.h | 78 …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 D | rosen_render_context.cpp | 3167 } 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 D | options.h | 87 bool isRound; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_pattern.cpp | 1824 …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 D | xcomponent_pattern.h | 313 … 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 D | rosen_decoration_painter.h | 168 …SkRRect GetBoxRRect(const Offset& offset, const Border& border, double shrinkFactor, bool isRound); 171 double shrinkFactor, bool isRound);
|
H A D | rosen_decoration_painter.cpp | 2220 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 D | video_pattern.cpp | 179 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 D | ace_wearable_test.cpp | 69 .isRound = true, in main()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/test/src/ |
H A D | main.cpp | 65 options.isRound = atoi(argv[PARAM_FIFTEEN]); in main()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | ability_context.cpp | 73 TAG_LOGD(AAFwkTag::ABILITY_SIM, "isRound:%{public}d", options.isRound); in SetOptions()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | system_properties.cpp | 551 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 D | system_properties.h | 74 … 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 D | render_context.h | 116 …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 D | jsi_engine.cpp | 794 bool isRound = SystemProperties::GetIsScreenRound(); in GetDeviceInfo() local 795 if (isRound) { in GetDeviceInfo()
|