Home
last modified time | relevance | path

Searched refs:ColorTransform (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/
DCanvasTransform.cpp57 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()
DCanvasTransform.h34 enum class ColorTransform { enum
41 bool transformPaint(ColorTransform transform, SkPaint* paint);
43 bool transformPaint(ColorTransform transform, SkPaint* paint, BitmapPalette palette);
DRenderNode.cpp346 usage == UsageHint::Background ? ColorTransform::Dark : ColorTransform::Light); in handleForceDark()
DRecordingCanvas.h65 void applyColorTransform(ColorTransform transform);
DRecordingCanvas.cpp681 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/
DMockComposer.h30 using android::hardware::graphics::common::V1_0::ColorTransform;
88 MOCK_METHOD3(setColorTransform, Error(Display, const float*, ColorTransform));
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.h49 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;
DHWC2.cpp629 matrix.asArray(), static_cast<Hwc2::ColorTransform>(hint)); in setColorTransform()
DComposerHal.cpp606 ColorTransform hint) in setColorTransform()
/frameworks/native/libs/vr/libvrflinger/
Dhwc_types.h27 using ColorTransform = variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp307 setColorTransform(HWC_DISPLAY, _, Hwc2::ColorTransform::IDENTITY)) in setupCommonCompositionCallExpectations()
424 setColorTransform(HWC_DISPLAY, _, Hwc2::ColorTransform::IDENTITY)) in setupCommonCompositionCallExpectations()