/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | model_view_impl.h | 37 void AddGeometry(const RefPtr<OHOS::Render3D::SVGeometry>& shape) override;
|
H A D | view_abstract_model_impl.h | 154 void SetClipShape(const RefPtr<BasicShape>& shape) override; 156 void SetMask(const RefPtr<BasicShape>& shape) override;
|
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 240 int32_t shape = 3; in SetInputAndOutput() local 241 int32_t* shapeA = &shape; in SetInputAndOutput() 1317 int32_t** shape = &ptr; in HWTEST_F() local 1321 shape, &length)); in HWTEST_F() 1326 * @tc.desc: Verify the shape is nullptr of the OH_NNExecutor_GetOutputShape function 1339 int32_t** shape = nullptr; in HWTEST_F() local 1342 shape, &length)); in HWTEST_F() 1347 * @tc.desc: Verify the *shape is not nullptr of the OH_NNExecutor_GetOutputShape function 1361 int32_t** shape = &ptr; in HWTEST_F() local 1365 shape, in HWTEST_F() 1383 int32_t** shape = &ptr; HWTEST_F() local 1403 int32_t** shape = &ptr; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | render_property.cpp | 289 auto shape = propClipShape.value(); in ToJsonValue() local 290 auto shapeType = BasicShapeTypeToString(shape->GetBasicShapeType()); in ToJsonValue() 292 jsonClip->Put("shape", shapeType.c_str()); in ToJsonValue() 301 auto shape = propClipMask.value(); in ToJsonValue() local 302 auto shapeType = BasicShapeTypeToString(shape->GetBasicShapeType()); in ToJsonValue() 304 jsonMask->Put("shape", shapeType.c_str()); in ToJsonValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_particle_context.cpp | 36 static_cast<Rosen::ShapeType>(field.shape), size, position, field.feather, field.noiseScale, in UpdateDisturbance()
|
H A D | skia_decoration_painter.cpp | 508 RadialShapeType shape = NG::RadialShapeType::ELLIPSE; in GetCircleSize() local 512 shape = NG::RadialShapeType::CIRCLE; in GetCircleSize() 518 circleSize = RadiusToSide(center, size, shape, std::less<>()); in GetCircleSize() 521 circleSize = RadiusToSide(center, size, shape, std::greater<>()); in GetCircleSize() 524 circleSize = RadiusToCorner(center, size, shape, std::less<>()); in GetCircleSize() 529 circleSize = RadiusToCorner(center, size, shape, std::greater<>()); in GetCircleSize()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | particle_modifier.cpp | 29 disturbanceField.shape = static_cast<ParticleDisturbanceShapeType>(values[i*10+1].i32); in SetDisturbanceField()
|
H A D | node_common_modifier.cpp | 34 #include "core/components_ng/pattern/shape/shape_abstract_model_ng.h" 3903 auto shape = AceType::MakeRefPtr<ShapeRect>(); in SetClipShape() local 3908 shape->SetWidth(width); in SetClipShape() 3909 shape->SetHeight(height); in SetClipShape() 3910 shape->SetRadiusWidth(radiusWidth); in SetClipShape() 3911 shape->SetRadiusHeight(radiusHeight); in SetClipShape() 3925 shape->SetTopLeftRadius(Radius(topLeftRadius)); in SetClipShape() 3926 shape->SetBottomLeftRadius(Radius(bottomLeftRadius)); in SetClipShape() 3927 shape->SetTopRightRadius(Radius(topRightRadius)); in SetClipShape() 3928 shape in SetClipShape() 3933 auto shape = AceType::MakeRefPtr<Circle>(); SetClipShape() local 3941 auto shape = AceType::MakeRefPtr<Ellipse>(); SetClipShape() local 4474 auto shape = AceType::MakeRefPtr<ShapeRect>(); SetMaskShape() local 4506 auto shape = AceType::MakeRefPtr<Circle>(); SetMaskShape() local 4516 auto shape = AceType::MakeRefPtr<Ellipse>(); SetMaskShape() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable_model_ng.h | 67 static void SetContentClip(FrameNode* frameNode, ContentClipMode mode, const RefPtr<ShapeRect>& shape);
|
H A D | scrollable_model_ng.cpp | 254 void ScrollableModelNG::SetContentClip(ContentClipMode mode, const RefPtr<ShapeRect>& shape) in SetContentClip() argument 256 ACE_UPDATE_PAINT_PROPERTY(ScrollablePaintProperty, ContentClip, std::make_pair(mode, shape)); in SetContentClip()
|
/foundation/arkui/ace_engine/frameworks/core/components/chart/ |
H A D | chart_component.h | 193 void SetPointShape(PointShape shape) in SetPointShape() argument 195 pointShape_ = shape; in SetPointShape()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_canvas.h | 79 void DrawSdf(const SDFShapeBase& shape) override; 179 bool AddSdfPara(SkRuntimeShaderBuilder& builder, const SDFShapeBase& shape);
|
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 1088 const int32_t* shape = nullptr; in HWTEST_F() local 1090 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetShape(tensorDesc, shape, shapeLength); in HWTEST_F() 1096 * @tc.desc: Verify the shape is nullptr of the OH_NNTensorDesc_SetShape function. 1102 const int32_t* shape = nullptr; in HWTEST_F() local 1104 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetShape(tensorDesc, shape, shapeLength); in HWTEST_F() 1144 int32_t* shape = nullptr; in HWTEST_F() local 1146 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetShape(tensorDesc, &shape, shapeLength); in HWTEST_F() 1158 int32_t* shape = nullptr; in HWTEST_F() local 1160 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetShape(tensorDesc, &shape, shapeLength); in HWTEST_F() 1172 int32_t* shape in HWTEST_F() local 1735 int32_t* shape = nullptr; HWTEST_F() local 1758 int32_t* shape = nullptr; HWTEST_F() local [all...] |
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | nnexecutor.cpp | 111 OH_NN_ReturnCode NNExecutor::GetOutputShape(uint32_t outputIndex, int32_t** shape, uint32_t* shapeNum) const in GetOutputShape() argument 124 auto ret = tensorDesc->GetShape(shape, &shapeNumTmp); in GetOutputShape() 126 LOGE("NNExecutor::GetOutputShape failed, failed to get shape from tensor desc."); in GetOutputShape() 397 int32_t* shape {nullptr}; in CompareAttribute() 399 ret = tensorDesc.first->GetShape(&shape, &shapeNum); in CompareAttribute() 401 LOGE("CompareAttribute failed, failed to get shape from tensor desc."); in CompareAttribute() 412 if ((shape[i] != -1) && (shape[i] != dimensions[i])) { in CompareAttribute() 414 i, shape[i], dimensions[i]); in CompareAttribute()
|
H A D | nnexecutor.h | 39 OH_NN_ReturnCode GetOutputShape(uint32_t outputIndex, int32_t** shape, uint32_t* shapeNum) const override;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_slider.cpp | 568 auto shape = jsObj->GetProperty("shape"); in SetBlockStyle() local 569 if (!shape->IsObject()) { in SetBlockStyle() 573 JSShapeAbstract* shapeAbstract = JSRef<JSObject>::Cast(shape)->Unwrap<JSShapeAbstract>(); in SetBlockStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_content_modifier.cpp | 790 void SliderContentModifier::SetBlockShape(const RefPtr<BasicShape>& shape) in SetBlockShape() argument 792 shape_ = shape; in SetBlockShape() 796 if (shape->GetBasicShapeType() == BasicShapeType::CIRCLE) { in SetBlockShape() 804 } else if (shape->GetBasicShapeType() == BasicShapeType::ELLIPSE) { in SetBlockShape() 814 } else if (shape->GetBasicShapeType() == BasicShapeType::RECT) { in SetBlockShape()
|
H A D | slider_content_modifier.h | 221 void SetBlockShape(const RefPtr<BasicShape>& shape);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_particle_bridge.cpp | 52 Local<JSValueRef> shape = panda::ArrayRef::GetValueAt(vm, array, index * DISTURBANCE_FIELD_SIZE + STEP_1); in SetDisturbanceField() local 54 ArkTSUtils::ParseJsInteger(vm, shape, shapeValue); in SetDisturbanceField()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/particle/ |
H A D | particle_pattern.cpp | 98 object->Put("shape", ShapeTypeToString(disturbance[i].shape).c_str()); in ToJsonValue()
|
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 242 int32_t shape = 3; in SetInputAndOutput() local 243 int32_t* shapeA = &shape; in SetInputAndOutput() 1572 int32_t** shape = &ptr; in HWTEST_F() local 1576 shape, &length)); in HWTEST_F() 1581 * @tc.desc: Verify the shape is nullptr of the OH_NNExecutor_GetOutputShape function 1594 int32_t** shape = nullptr; in HWTEST_F() local 1597 shape, &length)); in HWTEST_F() 1602 * @tc.desc: Verify the *shape is not nullptr of the OH_NNExecutor_GetOutputShape function 1616 int32_t** shape = &ptr; in HWTEST_F() local 1620 shape, in HWTEST_F() 1638 int32_t** shape = &ptr; HWTEST_F() local 1658 int32_t** shape = &ptr; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 481 RadialShapeType shape = NG::RadialShapeType::ELLIPSE; in GetCircleSize() local 485 shape = NG::RadialShapeType::CIRCLE; in GetCircleSize() 491 circleSize = RadiusToSide(center, size, shape, std::less<>()); in GetCircleSize() 494 circleSize = RadiusToSide(center, size, shape, std::greater<>()); in GetCircleSize() 497 circleSize = RadiusToCorner(center, size, shape, std::less<>()); in GetCircleSize() 502 circleSize = RadiusToCorner(center, size, shape, std::greater<>()); in GetCircleSize()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | core_canvas.cpp | 196 void CoreCanvas::DrawSdf(const SDFShapeBase& shape) in DrawSdf() argument 198 impl_->DrawSdf(shape); in DrawSdf()
|
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/graph/ |
H A D | graph_converter.py | 55 sub_graph.node(tree_name, touch_points_info, shape='box')
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | core_canvas_impl.h | 85 virtual void DrawSdf(const SDFShapeBase& shape) = 0;
|