summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNader Jawad <njawad@google.com>2018-11-16 11:22:32 -0800
committerNader Jawad <njawad@google.com>2018-12-10 15:38:59 -0800
commit55e49d8816d7a6fad20df604839a4d2bfe6b9957 (patch)
tree702af16273fc7f932524de5b1a3d1bea676d1b13 /docs
parentf66699ae165ce30f1cda1cfd704027a75bf457d2 (diff)
Added support for additional Blend Modes
Created new BlendMode enum that maps to XferModes with additional supported native values that map to SkBlendMode constants Created new BlendModeColorFilter Deprecated PorterDuffColorMode and PorterDuffColorFilter in favor of BlendMode and BlendModeColorFilter. Updated Paint API to use setBlendMode and deprecated setXfermode Bug: 119671925 Bug: 112166079 Bug: 73224934 Test: Added CTS tests for BlendMode and BlendModeColorFilter Change-Id: Idd50e2f0b81975c5ecf6f1c0edd4eb68198d9131
Diffstat (limited to 'docs')
-rw-r--r--docs/html/reference/images/graphics/blendmode_CLEAR.pngbin0 -> 363 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_COLOR.pngbin0 -> 3836 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_COLOR_BURN.pngbin0 -> 4092 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_COLOR_DODGE.pngbin0 -> 3980 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_DARKEN.pngbin0 -> 3894 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_DIFFERENCE.pngbin0 -> 4055 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_DST.pngbin0 -> 3656 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_DST_ATOP.pngbin0 -> 1717 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_DST_IN.pngbin0 -> 1423 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_DST_OUT.pngbin0 -> 2983 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_DST_OVER.pngbin0 -> 3982 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_EXCLUSION.pngbin0 -> 4002 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_HARD_LIGHT.pngbin0 -> 3857 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_HUE.pngbin0 -> 3926 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_LIGHTEN.pngbin0 -> 3749 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_LUMINOSITY.pngbin0 -> 4052 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_MODULATE.pngbin0 -> 1435 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_MULTIPLY.pngbin0 -> 3949 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_OVERLAY.pngbin0 -> 4011 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_PLUS.pngbin0 -> 3898 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_SATURATION.pngbin0 -> 4015 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_SCREEN.pngbin0 -> 3857 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_SOFT_LIGHT.pngbin0 -> 4031 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_SRC.pngbin0 -> 690 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_SRC_ATOP.pngbin0 -> 3762 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_SRC_IN.pngbin0 -> 1415 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_SRC_OUT.pngbin0 -> 1591 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_SRC_OVER.pngbin0 -> 3188 bytes
-rw-r--r--docs/html/reference/images/graphics/blendmode_XOR.pngbin0 -> 3971 bytes
29 files changed, 0 insertions, 0 deletions
diff --git a/docs/html/reference/images/graphics/blendmode_CLEAR.png b/docs/html/reference/images/graphics/blendmode_CLEAR.png
new file mode 100644
index 000000000000..979782adef58
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_CLEAR.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_COLOR.png b/docs/html/reference/images/graphics/blendmode_COLOR.png
new file mode 100644
index 000000000000..2f41bfb03cfb
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_COLOR.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_COLOR_BURN.png b/docs/html/reference/images/graphics/blendmode_COLOR_BURN.png
new file mode 100644
index 000000000000..26059ce858ee
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_COLOR_BURN.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_COLOR_DODGE.png b/docs/html/reference/images/graphics/blendmode_COLOR_DODGE.png
new file mode 100644
index 000000000000..922f1d9e474d
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_COLOR_DODGE.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_DARKEN.png b/docs/html/reference/images/graphics/blendmode_DARKEN.png
new file mode 100644
index 000000000000..6c04aa3a129f
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_DARKEN.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_DIFFERENCE.png b/docs/html/reference/images/graphics/blendmode_DIFFERENCE.png
new file mode 100644
index 000000000000..aab2bcb8833a
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_DIFFERENCE.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_DST.png b/docs/html/reference/images/graphics/blendmode_DST.png
new file mode 100644
index 000000000000..16f96b4752b8
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_DST.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_DST_ATOP.png b/docs/html/reference/images/graphics/blendmode_DST_ATOP.png
new file mode 100644
index 000000000000..d0ae2cde7b0f
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_DST_ATOP.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_DST_IN.png b/docs/html/reference/images/graphics/blendmode_DST_IN.png
new file mode 100644
index 000000000000..9befe279af73
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_DST_IN.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_DST_OUT.png b/docs/html/reference/images/graphics/blendmode_DST_OUT.png
new file mode 100644
index 000000000000..e9227e9f06d3
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_DST_OUT.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_DST_OVER.png b/docs/html/reference/images/graphics/blendmode_DST_OVER.png
new file mode 100644
index 000000000000..015be0a4a730
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_DST_OVER.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_EXCLUSION.png b/docs/html/reference/images/graphics/blendmode_EXCLUSION.png
new file mode 100644
index 000000000000..307dec90ec33
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_EXCLUSION.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_HARD_LIGHT.png b/docs/html/reference/images/graphics/blendmode_HARD_LIGHT.png
new file mode 100644
index 000000000000..3b62b9855bf4
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_HARD_LIGHT.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_HUE.png b/docs/html/reference/images/graphics/blendmode_HUE.png
new file mode 100644
index 000000000000..012bd3332358
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_HUE.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_LIGHTEN.png b/docs/html/reference/images/graphics/blendmode_LIGHTEN.png
new file mode 100644
index 000000000000..1c3be656e40a
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_LIGHTEN.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_LUMINOSITY.png b/docs/html/reference/images/graphics/blendmode_LUMINOSITY.png
new file mode 100644
index 000000000000..3549082e4c62
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_LUMINOSITY.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_MODULATE.png b/docs/html/reference/images/graphics/blendmode_MODULATE.png
new file mode 100644
index 000000000000..ed1b59d140e8
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_MODULATE.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_MULTIPLY.png b/docs/html/reference/images/graphics/blendmode_MULTIPLY.png
new file mode 100644
index 000000000000..c8c7ccb1e21a
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_MULTIPLY.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_OVERLAY.png b/docs/html/reference/images/graphics/blendmode_OVERLAY.png
new file mode 100644
index 000000000000..6962f928dc7e
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_OVERLAY.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_PLUS.png b/docs/html/reference/images/graphics/blendmode_PLUS.png
new file mode 100644
index 000000000000..015fa2b5d0e4
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_PLUS.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_SATURATION.png b/docs/html/reference/images/graphics/blendmode_SATURATION.png
new file mode 100644
index 000000000000..5ac96c32f648
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_SATURATION.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_SCREEN.png b/docs/html/reference/images/graphics/blendmode_SCREEN.png
new file mode 100644
index 000000000000..d2d70d25850d
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_SCREEN.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_SOFT_LIGHT.png b/docs/html/reference/images/graphics/blendmode_SOFT_LIGHT.png
new file mode 100644
index 000000000000..89fbacd24dcc
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_SOFT_LIGHT.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_SRC.png b/docs/html/reference/images/graphics/blendmode_SRC.png
new file mode 100644
index 000000000000..990ec94301b3
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_SRC.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_SRC_ATOP.png b/docs/html/reference/images/graphics/blendmode_SRC_ATOP.png
new file mode 100644
index 000000000000..d574dfd923f2
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_SRC_ATOP.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_SRC_IN.png b/docs/html/reference/images/graphics/blendmode_SRC_IN.png
new file mode 100644
index 000000000000..dda45d7319a4
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_SRC_IN.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_SRC_OUT.png b/docs/html/reference/images/graphics/blendmode_SRC_OUT.png
new file mode 100644
index 000000000000..f5d43c103dc2
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_SRC_OUT.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_SRC_OVER.png b/docs/html/reference/images/graphics/blendmode_SRC_OVER.png
new file mode 100644
index 000000000000..b1a405bc878d
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_SRC_OVER.png
Binary files differ
diff --git a/docs/html/reference/images/graphics/blendmode_XOR.png b/docs/html/reference/images/graphics/blendmode_XOR.png
new file mode 100644
index 000000000000..31c110d98d27
--- /dev/null
+++ b/docs/html/reference/images/graphics/blendmode_XOR.png
Binary files differ