Home
last modified time | relevance | path

Searched refs:invert (Results 1 - 25 of 41) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/effect/effect_ndk/src/filter/
H A Dfilter.cpp80 auto invert = Rosen::SKImageFilterFactory::Invert(); in Invert() local
81 if (!invert) { in Invert()
84 AddNextFilter(invert); in Invert()
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dleast_square_impl.cpp61 Matrix3 invert; in GetLeastSquareParams() local
63 if (!(transpose * matrixn3).Invert(invert)) { in GetLeastSquareParams()
66 auto matrix3n = invert * transpose; in GetLeastSquareParams()
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_dump.cpp501 auto invert = properties.GetInvert(); in DumpNodePropertiesColor() local
502 if (invert.has_value() && !ROSEN_EQ(*invert, 0.f)) { in DumpNodePropertiesColor()
503 out["Invert"] = *invert; in DumpNodePropertiesColor()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dshadowutils.cpp315 OH_Drawing_Matrix* invert = OH_Drawing_MatrixCreate(); in draw_black_point() local
318 bool ret2 = OH_Drawing_MatrixInvert(invCanvasM, invert); in draw_black_point()
323 OH_Drawing_CanvasConcatMatrix(canvas, invert); in draw_black_point()
/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dview_abstract_test_ng.h67 const InvertVariant invert = 0.0f; member
H A Dview_abstract_test_ng.cpp990 ViewAbstract::SetInvert(invert); in HWTEST_F()
991 ViewAbstract::SetInvert(nullptr, invert); in HWTEST_F()
1040 ViewAbstract::SetInvert(invert); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dskia_decoration_painter.h74 static void PaintInvert(const SkRRect& rRect, SkCanvas* canvas, float invert);
H A Dmatrix2d.cpp47 if (skMatrix.invert(&skMatrix)) { in Invert()
H A Drosen_render_context.h480 void OnFrontInvertUpdate(const InvertVariant& invert) override;
711 std::shared_ptr<InvertModifier> invert; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_decoration_painter.h63 static void PaintInvert(const RSRoundRect& frameSize, RSCanvas* canvas, float invert);
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_decoration_painter.h84 static void PaintInvert(const SkRRect& outerRRect, SkCanvas* canvas, const Dimension& invert, const Color& color);
110 const Dimension& invert, const Color& color);
/foundation/arkui/ace_engine/test/unittest/core/render/
H A Drender_property_test_ng.cpp46 const InvertVariant invert = 0.0f; member
71 graphicsProperty.propFrontInvert = invert; in MakeGraphicsProperty()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/src/
H A Dfilter_napi.cpp159 DECLARE_NAPI_FUNCTION("invert", Invert), in Init()
559 auto invert = Rosen::SKImageFilterFactory::Invert(); in Invert() local
560 thisFilter->AddNextFilter(invert); in Invert()
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box.h168 void SetInvert(double invert);
H A Drender_box.cpp1318 void RenderBox::SetInvert(double invert) in SetInvert() argument
1324 if (!NearEqual(inverts, invert)) { in SetInvert()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_matrix.cpp160 if (skMatrix_.invert(&skMatrix)) { in Invert()
H A Dskia_canvas_autocache.cpp56 if (!originMatrix.invert(&originMatrixInvert_)) { in SkiaCanvasAutoCache()
57 LOGE("opinc originMatrix cannot invert"); in SkiaCanvasAutoCache()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties.cpp3407 void RSProperties::SetInvert(const std::optional<float>& invert) in SetInvert() argument
3409 invert_ = invert; in SetInvert()
3592 auto invert = invert_.value(); in GenerateColorFilter() local
3594 if (invert > 1.0) { in GenerateColorFilter()
3595 invert = 1.0; in GenerateColorFilter()
3597 // complete color invert when dstRGB = 1 - srcRGB in GenerateColorFilter()
3599 matrix[0] = matrix[INDEX_6] = matrix[INDEX_12] = 1.0 - 2.0 * invert; // 2.0: invert in GenerateColorFilter()
3601 // invert = 0.5 -> RGB = (0.5, 0.5, 0.5) -> image completely gray in GenerateColorFilter()
3602 matrix[INDEX_4] = matrix[INDEX_9] = matrix[INDEX_14] = invert; in GenerateColorFilter()
4135 auto invert = GetInvert(); Dump() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/
H A Dsecurity_component_test_ng_extension.cpp264 InvertVariant invert = 0.0f; in HWTEST_F() local
265 renderContext->UpdateFrontInvert(invert); in HWTEST_F()
268 invert = 1.0f; // 1.0 means have frontinvert in HWTEST_F()
269 renderContext->UpdateFrontInvert(invert); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/rosen/
H A Drosen_render_context_test_new.cpp650 InvertVariant invert = 0.0f; in HWTEST_F() local
651 rosenRenderContext->UpdateFrontInvert(invert); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dview_abstract_model_impl.h175 void SetInvert(const InvertVariant& invert) override;
H A Dview_abstract_model_impl.cpp1004 float invert = std::get<float>(value); in SetInvert() local
1005 frontDecoration->SetInvert(Dimension(invert, DimensionUnit::VP)); in SetInvert()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.h431 void SetInvert(float invert);
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_view_abstract_ffi.cpp475 if (strcmp(strategy, "invert") == 0) { in FfiOHOSAceFrameworkViewAbstractSetForegroundColor()
934 InvertVariant invert = static_cast<float>(value); in FfiOHOSAceFrameworkViewAbstractSetInvert() local
936 invert = static_cast<float>(0.0); in FfiOHOSAceFrameworkViewAbstractSetInvert()
938 ViewAbstractModel::GetInstance()->SetInvert(invert); in FfiOHOSAceFrameworkViewAbstractSetInvert()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_properties.h496 void SetInvert(const std::optional<float>& invert);

Completed in 34 milliseconds

12