Home
last modified time | relevance | path

Searched refs:GetColorSpace (Results 1 – 25 of 26) sorted by relevance

12

/foundation/windowmanager/wm/test/systemtest/
Dwindow_gamut_test.cpp86 ASSERT_EQ(ColorSpace::COLOR_SPACE_DEFAULT, window->GetColorSpace());
106 ColorSpace colorSpaceBackup = window->GetColorSpace(); // backup origin
111 colorSpace = window->GetColorSpace();
118 ASSERT_EQ(colorSpacesToTest[j], window->GetColorSpace());
135 ColorSpace colorSpaceBackup = window->GetColorSpace();
141 ASSERT_EQ(colorSpaceBackup, window->GetColorSpace());
/foundation/multimedia/image_standard/frameworks/innerkitsimpl/test/unittest/
Dimage_pixel_map_test.cpp128 EXPECT_EQ(pixelMap.GetColorSpace(), ColorSpace::SRGB);
190 EXPECT_EQ(pixelMap.GetColorSpace(), ColorSpace::SRGB);
254 EXPECT_EQ(pixelMap.GetColorSpace(), ColorSpace::SRGB);
306 EXPECT_EQ(pixelMap.GetColorSpace(), ColorSpace::SRGB);
342 EXPECT_EQ(pixelMap.GetColorSpace(), ColorSpace::SRGB);
369 EXPECT_EQ(pixelMap.GetColorSpace(), ColorSpace::SRGB);
433 EXPECT_EQ(pixelMap.GetColorSpace(), ColorSpace::SRGB);
518 EXPECT_EQ(pixelmap1->GetColorSpace(), pixelmap2->GetColorSpace());
578 EXPECT_EQ(pixelmap1->GetColorSpace(), pixelmap2->GetColorSpace());
Dimage_pixel_map_parcel_test.cpp100 EXPECT_EQ(pixelmap1->GetColorSpace(), pixelmap2->GetColorSpace());
/foundation/graphic/standard/rosen/modules/2d_graphics/src/engine_adapter/skia_adapter/
Dskia_paint.cpp51 auto cs = brush.GetColorSpace(); in BrushToSkPaint()
54 …lorSpace> colorSpace = (skColorSpaceImpl != nullptr) ? skColorSpaceImpl->GetColorSpace() : nullptr; in BrushToSkPaint()
79 auto cs = pen.GetColorSpace(); in PenToSkPaint()
82 …lorSpace> colorSpace = (skColorSpaceImpl != nullptr) ? skColorSpaceImpl->GetColorSpace() : nullptr; in PenToSkPaint()
Dskia_color_space.cpp46 sk_sp<SkColorSpace> SkiaColorSpace::GetColorSpace() const in GetColorSpace() function in OHOS::Rosen::Drawing::SkiaColorSpace
Dskia_color_space.h39 sk_sp<SkColorSpace> GetColorSpace() const;
Dskia_image.cpp55 &paint, b, skColorSpaceImpl->GetColorSpace()); in BuildFromPicture()
/foundation/graphic/standard/rosen/modules/render_service_base/src/platform/ohos/
Drs_surface_ohos.cpp35 SurfaceColorGamut RSSurfaceOhos::GetColorSpace() in GetColorSpace() function in OHOS::Rosen::RSSurfaceOhos
Drs_surface_ohos.h41 virtual SurfaceColorGamut GetColorSpace() override;
/foundation/graphic/standard/rosen/modules/render_service_base/include/platform/drawing/
Drs_surface.h40 virtual SurfaceColorGamut GetColorSpace() = 0;
/foundation/graphic/standard/rosen/modules/2d_graphics/src/draw/
Dpen.cpp67 std::shared_ptr<ColorSpace> Pen::GetColorSpace() const in GetColorSpace() function in OHOS::Rosen::Drawing::Pen
69 return brush_.GetColorSpace(); in GetColorSpace()
Dbrush.cpp77 std::shared_ptr<ColorSpace> Brush::GetColorSpace() const in GetColorSpace() function in OHOS::Rosen::Drawing::Brush
/foundation/graphic/standard/rosen/modules/render_service_client/core/pipeline/
Drs_render_thread_visitor.cpp107 auto surfaceNodeColorSpace = ptr->GetColorSpace(); in ProcessRootRenderNode()
115 auto rsSurfaceColorSpace = rsSurface->GetColorSpace(); in ProcessRootRenderNode()
/foundation/graphic/standard/rosen/modules/2d_graphics/include/draw/
Dbrush.h42 std::shared_ptr<ColorSpace> GetColorSpace() const;
Dpen.h54 std::shared_ptr<ColorSpace> GetColorSpace() const;
/foundation/multimedia/image_standard/frameworks/innerkitsimpl/common/src/
Dpixel_map_parcel.cpp160 if (!data.WriteInt32(static_cast<int32_t>(pixelMap->GetColorSpace()))) { in WriteToParcel()
161 …or(LABEL, "write pixel map color space:[%{public}d] to parcel failed.", pixelMap->GetColorSpace()); in WriteToParcel()
/foundation/graphic/standard/rosen/modules/render_service_client/core/ui/
Drs_surface_node.h65 SurfaceColorGamut GetColorSpace() in GetColorSpace() function
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window.h65 static NativeValue* GetColorSpace(NativeEngine* engine, NativeCallbackInfo* info);
Djs_window.cpp274 NativeValue* JsWindow::GetColorSpace(NativeEngine* engine, NativeCallbackInfo* info) in GetColorSpace() function in OHOS::Rosen::JsWindow
1379 ColorSpace colorSpace = windowToken_->GetColorSpace(); in OnGetColorSpace()
1436 BindNativeFunction(engine, *object, "getColorSpace", JsWindow::GetColorSpace); in CreateJsWindowObject()
/foundation/multimedia/image_standard/interfaces/innerkits/include/
Dpixel_map.h75 NATIVEEXPORT ColorSpace GetColorSpace();
/foundation/windowmanager/interfaces/innerkits/wm/
Dwindow.h201 virtual ColorSpace GetColorSpace() = 0;
/foundation/windowmanager/wm/include/
Dwindow_impl.h187 virtual ColorSpace GetColorSpace() override;
/foundation/multimedia/image_standard/frameworks/innerkitsimpl/converter/src/
Dpost_proc.cpp435 pixmapInfo.imageInfo.colorSpace = pixelMap.GetColorSpace(); in ConvertPixelMapToPixmapInfo()
/foundation/windowmanager/wm/test/unittest/
Dwindow_impl_test.cpp714 ASSERT_EQ(ColorSpace::COLOR_SPACE_DEFAULT, window->GetColorSpace());
716 ASSERT_EQ(ColorSpace::COLOR_SPACE_WIDE_GAMUT, window->GetColorSpace());
/foundation/windowmanager/wm/src/
Dwindow_impl.cpp467 ColorSpace WindowImpl::GetColorSpace() in GetColorSpace() function in OHOS::Rosen::WindowImpl
469 auto surfaceGamut = surfaceNode_->GetColorSpace(); in GetColorSpace()

12