/foundation/windowmanager/wm/test/systemtest/ |
D | window_gamut_test.cpp | 86 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/ |
D | image_pixel_map_test.cpp | 128 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());
|
D | image_pixel_map_parcel_test.cpp | 100 EXPECT_EQ(pixelmap1->GetColorSpace(), pixelmap2->GetColorSpace());
|
/foundation/graphic/standard/rosen/modules/2d_graphics/src/engine_adapter/skia_adapter/ |
D | skia_paint.cpp | 51 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()
|
D | skia_color_space.cpp | 46 sk_sp<SkColorSpace> SkiaColorSpace::GetColorSpace() const in GetColorSpace() function in OHOS::Rosen::Drawing::SkiaColorSpace
|
D | skia_color_space.h | 39 sk_sp<SkColorSpace> GetColorSpace() const;
|
D | skia_image.cpp | 55 &paint, b, skColorSpaceImpl->GetColorSpace()); in BuildFromPicture()
|
/foundation/graphic/standard/rosen/modules/render_service_base/src/platform/ohos/ |
D | rs_surface_ohos.cpp | 35 SurfaceColorGamut RSSurfaceOhos::GetColorSpace() in GetColorSpace() function in OHOS::Rosen::RSSurfaceOhos
|
D | rs_surface_ohos.h | 41 virtual SurfaceColorGamut GetColorSpace() override;
|
/foundation/graphic/standard/rosen/modules/render_service_base/include/platform/drawing/ |
D | rs_surface.h | 40 virtual SurfaceColorGamut GetColorSpace() = 0;
|
/foundation/graphic/standard/rosen/modules/2d_graphics/src/draw/ |
D | pen.cpp | 67 std::shared_ptr<ColorSpace> Pen::GetColorSpace() const in GetColorSpace() function in OHOS::Rosen::Drawing::Pen 69 return brush_.GetColorSpace(); in GetColorSpace()
|
D | brush.cpp | 77 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/ |
D | rs_render_thread_visitor.cpp | 107 auto surfaceNodeColorSpace = ptr->GetColorSpace(); in ProcessRootRenderNode() 115 auto rsSurfaceColorSpace = rsSurface->GetColorSpace(); in ProcessRootRenderNode()
|
/foundation/graphic/standard/rosen/modules/2d_graphics/include/draw/ |
D | brush.h | 42 std::shared_ptr<ColorSpace> GetColorSpace() const;
|
D | pen.h | 54 std::shared_ptr<ColorSpace> GetColorSpace() const;
|
/foundation/multimedia/image_standard/frameworks/innerkitsimpl/common/src/ |
D | pixel_map_parcel.cpp | 160 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/ |
D | rs_surface_node.h | 65 SurfaceColorGamut GetColorSpace() in GetColorSpace() function
|
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/ |
D | js_window.h | 65 static NativeValue* GetColorSpace(NativeEngine* engine, NativeCallbackInfo* info);
|
D | js_window.cpp | 274 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/ |
D | pixel_map.h | 75 NATIVEEXPORT ColorSpace GetColorSpace();
|
/foundation/windowmanager/interfaces/innerkits/wm/ |
D | window.h | 201 virtual ColorSpace GetColorSpace() = 0;
|
/foundation/windowmanager/wm/include/ |
D | window_impl.h | 187 virtual ColorSpace GetColorSpace() override;
|
/foundation/multimedia/image_standard/frameworks/innerkitsimpl/converter/src/ |
D | post_proc.cpp | 435 pixmapInfo.imageInfo.colorSpace = pixelMap.GetColorSpace(); in ConvertPixelMapToPixmapInfo()
|
/foundation/windowmanager/wm/test/unittest/ |
D | window_impl_test.cpp | 714 ASSERT_EQ(ColorSpace::COLOR_SPACE_DEFAULT, window->GetColorSpace()); 716 ASSERT_EQ(ColorSpace::COLOR_SPACE_WIDE_GAMUT, window->GetColorSpace());
|
/foundation/windowmanager/wm/src/ |
D | window_impl.cpp | 467 ColorSpace WindowImpl::GetColorSpace() in GetColorSpace() function in OHOS::Rosen::WindowImpl 469 auto surfaceGamut = surfaceNode_->GetColorSpace(); in GetColorSpace()
|