/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/ |
H A D | format_helper.h | 33 static inline int Clip(int a, int aMin, int aMax) in Clip() function 41 return Clip(y, 0, UNSIGHED_CHAR_MAX); in RGBToY() 47 return Clip(u, 0, UNSIGHED_CHAR_MAX); in RGBToU() 53 return Clip(v, 0, UNSIGHED_CHAR_MAX); in RGBToV() 59 return Clip(r, 0, UNSIGHED_CHAR_MAX); in YuvToR() 65 return Clip(g, 0, UNSIGHED_CHAR_MAX); in YuvToG() 71 return Clip(b, 0, UNSIGHED_CHAR_MAX); in YuvToB()
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | geometry2d.cpp | 61 void Clip(Polygon& poly, const Line& line) in Clip() function 133 …Clip(newPolygon, Line(clipRect.GetLeft(), clipRect.GetTop(), clipRect.GetRight(), clipRect.GetTop(… in SuthHodgClip() 134 …Clip(newPolygon, Line(clipRect.GetRight(), clipRect.GetTop(), clipRect.GetRight(), clipRect.GetBot… in SuthHodgClip() 135 …Clip(newPolygon, Line(clipRect.GetRight(), clipRect.GetBottom(), clipRect.GetLeft(), clipRect.GetB… in SuthHodgClip() 136 …Clip(newPolygon, Line(clipRect.GetLeft(), clipRect.GetBottom(), clipRect.GetLeft(), clipRect.GetTo… in SuthHodgClip() 141 void Clip(const Line& line, const Polygon& poly, Vector2<int16_t>* pOut, uint8_t *pNum) in Clip() function
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | cpu_brightness_algo.cpp | 72 float current = CommonUtils::Clip(1.f - (float)(idx) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyRGBA8888() 74 current = CommonUtils::Clip(current, 0, 1); in OnApplyRGBA8888() 120 float current = CommonUtils::Clip(1.f - (float)(idx) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyYUVNV21() 122 current = CommonUtils::Clip(current, 0, 1); in OnApplyYUVNV21() 179 float current = CommonUtils::Clip(1.f - (float)(i) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyYUVNV12() 181 current = CommonUtils::Clip(current, 0, 1); in OnApplyYUVNV12()
|
H A D | brightness_efilter.cpp | 114 …*brightnessPtr = CommonUtils::Clip(brightness, Parameter::INTENSITY_RANGE[0], Parameter::INTENSITY… in SetValue()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | offscreen_canvas_pattern.cpp | 69 void OffscreenCanvasPattern::Clip() in Clip() function in OHOS::Ace::NG::OffscreenCanvasPattern 71 offscreenPaintMethod_->Clip(); in Clip() 74 void OffscreenCanvasPattern::Clip(const RefPtr<CanvasPath2D>& path) in Clip() function in OHOS::Ace::NG::OffscreenCanvasPattern 76 offscreenPaintMethod_->Clip(path); in Clip()
|
H A D | offscreen_canvas_pattern.h | 42 void Clip(); 43 void Clip(const RefPtr<CanvasPath2D>& path);
|
H A D | canvas_pattern.h | 100 void Clip(); 101 void Clip(const RefPtr<CanvasPath2D>& path);
|
H A D | canvas_paint_op.cpp | 180 method->Clip(); in Draw() 185 method->Clip(path); in Draw()
|
H A D | canvas_pattern.cpp | 275 void CanvasPattern::Clip() in Clip() function in OHOS::Ace::NG::CanvasPattern 279 paintMethod.Clip(); in Clip() 287 void CanvasPattern::Clip(const RefPtr<CanvasPath2D>& path) in Clip() function in OHOS::Ace::NG::CanvasPattern 291 paintMethod.Clip(path); in Clip()
|
H A D | custom_paint_paint_method.h | 78 void Clip(); 79 void Clip(const RefPtr<CanvasPath2D>& path);
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | geometry2d.h | 286 void Clip(Polygon& poly, const Line& line); 307 void Clip(const Line& line, const Polygon& poly, Vector2<int16_t>* pOut, uint8_t* pNum);
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | cpu_contrast_algo.cpp | 64 current = CommonUtils::Clip(current, 0, 1); in OnApplyRGBA8888() 111 current = CommonUtils::Clip(current, 0, 1); in OnApplyYUVNV21() 168 current = CommonUtils::Clip(current, 0, 1); in OnApplyYUVNV12()
|
H A D | contrast_efilter.cpp | 113 …*contrastPtr = CommonUtils::Clip(contrast, Parameter::INTENSITY_RANGE[0], Parameter::INTENSITY_RAN… in SetValue()
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | Use-the-Badge-component-to-display-the-number-of-unread-messages-in-a-chat.md | 54 .textOverflow({ overflow: TextOverflow.Clip }) 184 .textOverflow({ overflow: TextOverflow.Clip })
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | custom_paint_component.h | 102 void Clip(); 103 void Clip(const RefPtr<CanvasPath2D>& path);
|
H A D | custom_paint_component.cpp | 231 void CanvasTaskPool::Clip() in Clip() function in OHOS::Ace::CanvasTaskPool 233 auto task = [](RenderCustomPaint& interface, const Offset& offset) { interface.Clip(); }; in Clip() 237 void CanvasTaskPool::Clip(const RefPtr<CanvasPath2D>& path) in Clip() function in OHOS::Ace::CanvasTaskPool 239 … auto task = [path](RenderCustomPaint& interface, const Offset& offset) { interface.Clip(path); }; in Clip()
|
H A D | offscreen_canvas.h | 239 virtual void Clip() = 0; 240 virtual void Clip(const RefPtr<CanvasPath2D>& path) = 0;
|
H A D | render_custom_paint.h | 97 virtual void Clip() = 0; 98 virtual void Clip(const RefPtr<CanvasPath2D>& path) = 0;
|
H A D | rosen_render_offscreen_canvas.h | 69 void Clip() override; 70 void Clip(const RefPtr<CanvasPath2D>& path) override;
|
H A D | rosen_render_custom_paint.h | 85 void Clip() override; 86 void Clip(const RefPtr<CanvasPath2D>& path) override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | render_context.h | 623 ACE_DEFINE_PROPERTY_GROUP(Clip, ClipProperty); 624 ACE_DEFINE_PROPERTY_FUNC_WITH_GROUP(Clip, ClipShape, RefPtr<BasicShape>); 625 ACE_DEFINE_PROPERTY_FUNC_WITH_GROUP(Clip, ClipEdge, bool); 626 ACE_DEFINE_PROPERTY_FUNC_WITH_GROUP(Clip, ClipMask, RefPtr<BasicShape>);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | canvas_renderer.h | 90 void Clip();
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | common_utils.h | 94 static inline float Clip(float a, float aMin, float aMax) in Clip() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/ |
H A D | canvas_rendering_context_2d_model_impl.cpp | 314 pattern_->Clip(); in SetClipRuleForPath() 322 pattern_->Clip(path); in SetClipRuleForPath2D()
|
H A D | offscreen_canvas_rendering_context_2d_model_impl.cpp | 315 pattern_->Clip(); in SetClipRuleForPath() 323 pattern_->Clip(path); in SetClipRuleForPath2D()
|