Searched refs:ColorTransform (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/libs/hwui/ |
D | CanvasTransform.cpp | 57 static SkColor transformColor(ColorTransform transform, SkColor color) { in transformColor() 59 case ColorTransform::Light: in transformColor() 61 case ColorTransform::Dark: in transformColor() 68 static void applyColorTransform(ColorTransform transform, SkPaint& paint) { in applyColorTransform() 69 if (transform == ColorTransform::None) return; in applyColorTransform() 126 bool transformPaint(ColorTransform transform, SkPaint* paint) { in transformPaint() 132 bool transformPaint(ColorTransform transform, SkPaint* paint, BitmapPalette palette) { in transformPaint() 135 if (palette == BitmapPalette::Light && transform == ColorTransform::Dark) { in transformPaint() 138 if (palette == BitmapPalette::Dark && transform == ColorTransform::Light) { in transformPaint()
|
D | CanvasTransform.h | 34 enum class ColorTransform { enum 41 bool transformPaint(ColorTransform transform, SkPaint* paint); 43 bool transformPaint(ColorTransform transform, SkPaint* paint, BitmapPalette palette);
|
D | RenderNode.cpp | 346 usage == UsageHint::Background ? ColorTransform::Dark : ColorTransform::Light); in handleForceDark()
|
D | RecordingCanvas.h | 65 void applyColorTransform(ColorTransform transform);
|
D | RecordingCanvas.cpp | 681 typedef void (*color_transform_fn)(const void*, ColorTransform); 736 return [](const void* opRaw, ColorTransform transform) { in colorTransformForOp() 745 return [](const void* opRaw, ColorTransform transform) { in colorTransformForOp() 763 void DisplayListData::applyColorTransform(ColorTransform transform) { in applyColorTransform()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockComposer.h | 30 using android::hardware::graphics::common::V1_0::ColorTransform; 88 MOCK_METHOD3(setColorTransform, Error(Display, const float*, ColorTransform));
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | ComposerHal.h | 49 using types::V1_0::ColorTransform; 139 virtual Error setColorTransform(Display display, const float* matrix, ColorTransform hint) = 0; 354 Error setColorTransform(Display display, const float* matrix, ColorTransform hint) override;
|
D | HWC2.cpp | 629 matrix.asArray(), static_cast<Hwc2::ColorTransform>(hint)); in setColorTransform()
|
D | ComposerHal.cpp | 606 ColorTransform hint) in setColorTransform()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hwc_types.h | 27 using ColorTransform = variable
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 307 setColorTransform(HWC_DISPLAY, _, Hwc2::ColorTransform::IDENTITY)) in setupCommonCompositionCallExpectations() 424 setColorTransform(HWC_DISPLAY, _, Hwc2::ColorTransform::IDENTITY)) in setupCommonCompositionCallExpectations()
|