/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_decoration_painter.cpp | 738 RadialShapeType shape = RadialShapeType::ELLIPSE; in GetCircleSize() local 742 shape = RadialShapeType::CIRCLE; in GetCircleSize() 748 circleSize = RadiusToSide(center, size, shape, std::less<>()); in GetCircleSize() 751 circleSize = RadiusToSide(center, size, shape, std::greater<>()); in GetCircleSize() 754 circleSize = RadiusToCorner(center, size, shape, std::less<>()); in GetCircleSize() 759 circleSize = RadiusToCorner(center, size, shape, std::greater<>()); in GetCircleSize() 783 RadialShapeType shape = RadialShapeType::ELLIPSE; in GetCircleSize() local 787 shape = RadialShapeType::CIRCLE; in GetCircleSize() 793 circleSize = RadiusToSide(center, size, shape, std::less<>()); in GetCircleSize() 796 circleSize = RadiusToSide(center, size, shape, st in GetCircleSize() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_particle.cpp | 429 auto emitShapeJsValue = emitterJsObject->GetProperty("shape"); in ParseEmitterOption() 760 int shape = paramObj->GetProperty("shape")->ToNumber<int>(); in AddDisturbance() local 791 disturbanceField.shape = static_cast<ParticleDisturbanceShapeType>(shape); in AddDisturbance()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_slider_bridge.cpp | 437 auto shape = jsObj->GetProperty("shape");
in SetBlockStyle() local 438 if (!shape->IsObject()) {
in SetBlockStyle() 443 Framework::JSRef<Framework::JSObject>::Cast(shape)->Unwrap<Framework::JSShapeAbstract>();
in SetBlockStyle()
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/animat/ |
H A D | rs_particle_animate_test.cpp | 904 ShapeType shape; in HWTEST_F() local 905 shape = particleRenderParams.GetEmitShape(); in HWTEST_F() 906 ASSERT_EQ(shape, ShapeType::RECT); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_paint_filter_canvas.cpp | 85 void RSPaintFilterCanvasBase::DrawSdf(const SDFShapeBase& shape) in DrawSdf() argument 90 (*iter)->DrawSdf(shape); in DrawSdf() 95 canvas_->DrawSdf(shape); in DrawSdf()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/ |
H A D | rs_render_particle_test.cpp | 865 ShapeType shape; in HWTEST_F() local 866 shape = particleRenderParams.GetEmitShape(); in HWTEST_F() 867 ASSERT_EQ(shape, ShapeType::RECT); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract_model.h | 225 virtual void SetClipShape(const RefPtr<BasicShape>& shape) = 0; 229 virtual void SetMask(const RefPtr<BasicShape>& shape) = 0;
|
H A D | view_abstract_model_ng.h | 778 void SetMask(const RefPtr<BasicShape>& shape) override 780 ViewAbstract::SetMask(shape);
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_chart_bridge.cpp | 97 { "shape", in GetAttrOptionsSeriesPoint() 99 PointShape shape = (valStr == "circle") in GetAttrOptionsSeriesPoint() 102 pointInfo.SetPointShape(shape); in GetAttrOptionsSeriesPoint()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | particle_property.h | 275 void SetShape(ParticleEmitterShape& shape) in SetShape() 277 shape_ = shape; in SetShape() 316 str.append("shape: [") in ToString()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | form_info.cpp | 120 for (const auto &shape : formInfo.supportShapes) { in FormInfo() 121 supportShapes.push_back(shape); in FormInfo()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | view_abstract_model_impl.cpp | 904 void ViewAbstractModelImpl::SetClipShape(const RefPtr<BasicShape>& shape) in SetClipShape() argument 908 clipPath->SetBasicShape(shape); in SetClipShape() 918 void ViewAbstractModelImpl::SetMask(const RefPtr<BasicShape>& shape) in SetMask() argument 921 maskPath->SetBasicShape(shape); in SetMask()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | core_canvas.h | 206 * @brief The shape of point drawn depends on pen. If pen is set to Pen::CapStyle::ROUND_CAP, 215 * @param shape describes the combination of a group of sdf entities. 217 virtual void DrawSdf(const SDFShapeBase& shape);
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/ |
H A D | form_pattern_test.cpp | 344 info.shape = FORM_SHAPE_CIRCLE; in HWTEST_F() 891 info.shape = FORM_SHAPE_CIRCLE; in HWTEST_F() 1114 info.shape = FORM_SHAPE_CIRCLE; in HWTEST_F() 1127 info.shape = -1; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_pattern.cpp | 1142 auto shape = paintProperty->GetBlockShape(); in GetOutsetInnerFocusPaintRect() local 1143 if (shape.has_value() && shape.value()->GetBasicShapeType() == BasicShapeType::CIRCLE) { in GetOutsetInnerFocusPaintRect() 1144 auto circle = DynamicCast<Circle>(shape.value()); in GetOutsetInnerFocusPaintRect()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_paint_filter_canvas_test.cpp | 1435 SDFShapeBaseTest shape; in HWTEST_F() local 1439 paintFilterCanvasBase->DrawSdf(shape); in HWTEST_F()
|
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_op_builder.cpp | 68 // Create an array with a required bias shape and resize the bias tensor. in AddZerosBias() 255 outputShape[i] = builtin->shape[i]; in AddReshapeParams() 447 tensorRank = SCALAR_TENSOR_RANK; // Use rank 1, shape {1} nnTensor for TFLite scalar tensors. in ConstructNNTensor()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_paint_filter_canvas.h | 54 void DrawSdf(const Drawing::SDFShapeBase& shape) override;
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | lite_graph_to_hdi_model_v2_1.cpp | 192 broadcastTo.shape = mindspore::lite::MindIR_BroadcastTo_GetShape(primitive);
in ConvertBroadcastTo() 1257 Shape shape{};
in ConvertShape() 1259 (void)ShapeBlockMarshalling(data, shape);
in ConvertShape()
|
H A D | lite_graph_to_hdi_model_v2_0.cpp | 645 Shape shape{}; in ConvertShape() 647 (void)ShapeBlockMarshalling(data, shape); in ConvertShape()
|
H A D | lite_graph_to_hdi_model_v1_0.cpp | 644 Shape shape{}; in ConvertShape() 646 (void)ShapeBlockMarshalling(data, shape); in ConvertShape()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | inspector_composed_element.cpp | 957 jsonValue->Put("shape", BASIC_SHAPE_TYPE[shapeType]); in GetClip() 1255 auto shape = mask->GetMaskPath()->GetBasicShape(); in GetMask() local 1256 int32_t shapeType = static_cast<int32_t>(shape->GetBasicShapeType()); in GetMask() 1259 jsonValue->Put("shape", BASIC_SHAPE_TYPE[shapeType]); in GetMask()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_pattern.cpp | 34 #include "core/components_ng/pattern/shape/rect_pattern.h" 697 || info.shape == FORM_SHAPE_CIRCLE) { in AddFormComponent() 1991 return info.shape == FORM_SHAPE_CIRCLE || info.renderingMode == in IsMaskEnableForm()
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.cpp | 127 { "shape", in GetAttrOptionsSeriesPoint() 130 PointShape shape = (valStr == "circle") ? PointShape::CIRCLE in GetAttrOptionsSeriesPoint() 133 pointInfo.SetPointShape(shape); in GetAttrOptionsSeriesPoint()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.cpp | 4737 auto shape = std::get<RefPtr<ShapeRect>>(rect); local 4738 CHECK_NULL_VOID(shape); 4742 helper::DrawingDimensionToPx(shape->GetOffset().GetX(), paintRect_.GetSize(), LengthMode::HORIZONTAL); 4744 helper::DrawingDimensionToPx(shape->GetOffset().GetY(), paintRect_.GetSize(), LengthMode::VERTICAL); 4746 helper::DrawingDimensionToPx(shape->GetWidth(), paintRect_.GetSize(), LengthMode::HORIZONTAL); 4748 helper::DrawingDimensionToPx(shape->GetHeight(), paintRect_.GetSize(), LengthMode::VERTICAL);
|