Home
last modified time | relevance | path

Searched refs:shape (Results 51 - 75 of 81) sorted by relevance

1234

/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_decoration_painter.cpp738 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 Djs_particle.cpp429 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 Darkts_native_slider_bridge.cpp437 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 Drs_particle_animate_test.cpp904 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 Drs_paint_filter_canvas.cpp85 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 Drs_render_particle_test.cpp865 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 Dview_abstract_model.h225 virtual void SetClipShape(const RefPtr<BasicShape>& shape) = 0;
229 virtual void SetMask(const RefPtr<BasicShape>& shape) = 0;
H A Dview_abstract_model_ng.h778 void SetMask(const RefPtr<BasicShape>& shape) override
780 ViewAbstract::SetMask(shape);
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_chart_bridge.cpp97 { "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 Dparticle_property.h275 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 Dform_info.cpp120 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 Dview_abstract_model_impl.cpp904 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 Dcore_canvas.h206 * @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 Dform_pattern_test.cpp344 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 Dslider_pattern.cpp1142 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 Drs_paint_filter_canvas_test.cpp1435 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 Dnnrt_op_builder.cpp68 // 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 Drs_paint_filter_canvas.h54 void DrawSdf(const Drawing::SDFShapeBase& shape) override;
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dlite_graph_to_hdi_model_v2_1.cpp192 broadcastTo.shape = mindspore::lite::MindIR_BroadcastTo_GetShape(primitive); in ConvertBroadcastTo()
1257 Shape shape{}; in ConvertShape()
1259 (void)ShapeBlockMarshalling(data, shape); in ConvertShape()
H A Dlite_graph_to_hdi_model_v2_0.cpp645 Shape shape{}; in ConvertShape()
647 (void)ShapeBlockMarshalling(data, shape); in ConvertShape()
H A Dlite_graph_to_hdi_model_v1_0.cpp644 Shape shape{}; in ConvertShape()
646 (void)ShapeBlockMarshalling(data, shape); in ConvertShape()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dinspector_composed_element.cpp957 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 Dform_pattern.cpp34 #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 Djs_card_parser.cpp127 { "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 Drosen_render_context.cpp4737 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);

Completed in 59 milliseconds

1234