diff --git a/graphics/java/android/graphics/BlendMode.java b/graphics/java/android/graphics/BlendMode.java index 0b267048d976a..5c294aa72ce80 100644 --- a/graphics/java/android/graphics/BlendMode.java +++ b/graphics/java/android/graphics/BlendMode.java @@ -22,6 +22,8 @@ import android.annotation.Nullable; public enum BlendMode { /** + * {@usesMathJax} + * *

* *

Destination pixels covered by the source are cleared to 0.
@@ -32,6 +34,8 @@ public enum BlendMode { CLEAR(0), /** + * {@usesMathJax} + * *

* *

The source pixels replace the destination pixels.
@@ -42,6 +46,8 @@ public enum BlendMode { SRC(1), /** + * {@usesMathJax} + * *

* *

The source pixels are discarded, leaving the destination intact.
@@ -52,6 +58,8 @@ public enum BlendMode { DST(2), /** + * {@usesMathJax} + * *

* *

The source pixels are drawn over the destination pixels.
@@ -62,6 +70,8 @@ public enum BlendMode { SRC_OVER(3), /** + * {@usesMathJax} + * *

* *

The source pixels are drawn behind the destination pixels.
@@ -72,6 +82,8 @@ public enum BlendMode { DST_OVER(4), /** + * {@usesMathJax} + * *

* *

Keeps the source pixels that cover the destination pixels, @@ -83,6 +95,8 @@ public enum BlendMode { SRC_IN(5), /** + * {@usesMathJax} + * *

* *

Keeps the destination pixels that cover source pixels, @@ -94,6 +108,8 @@ public enum BlendMode { DST_IN(6), /** + * {@usesMathJax} + * *

* *

Keeps the source pixels that do not cover destination pixels. @@ -106,6 +122,8 @@ public enum BlendMode { SRC_OUT(7), /** + * {@usesMathJax} + * *

* *

Keeps the destination pixels that are not covered by source pixels. @@ -118,6 +136,8 @@ public enum BlendMode { DST_OUT(8), /** + * {@usesMathJax} + * *

* *

Discards the source pixels that do not cover destination pixels. @@ -129,6 +149,8 @@ public enum BlendMode { SRC_ATOP(9), /** + * {@usesMathJax} + * *

* *

Discards the destination pixels that are not covered by source pixels. @@ -140,6 +162,8 @@ public enum BlendMode { DST_ATOP(10), /** + * {@usesMathJax} + * *

* *

Discards the source and destination pixels where source pixels @@ -153,6 +177,8 @@ public enum BlendMode { XOR(11), /** + * {@usesMathJax} + * *

* *

Adds the source pixels to the destination pixels and saturates @@ -164,6 +190,8 @@ public enum BlendMode { PLUS(12), /** + * {@usesMathJax} + * *

* *

Multiplies the source and destination pixels.
@@ -175,6 +203,8 @@ public enum BlendMode { MODULATE(13), /** + * {@usesMathJax} + * *

* *

@@ -188,6 +218,8 @@ public enum BlendMode { SCREEN(14), /** + * {@usesMathJax} + * *

* *

@@ -205,6 +237,8 @@ public enum BlendMode { OVERLAY(15), /** + * {@usesMathJax} + * *

* *

@@ -221,6 +255,8 @@ public enum BlendMode { DARKEN(16), /** + * {@usesMathJax} + * *

* *

Retains the largest component of the source and @@ -235,6 +271,8 @@ public enum BlendMode { LIGHTEN(17), /** + * {@usesMathJax} + * *

* *

Makes destination brighter to reflect source.
@@ -257,6 +295,8 @@ public enum BlendMode { COLOR_DODGE(18), /** + * {@usesMathJax} + * *

* *

Makes destination darker to reflect source.
@@ -280,6 +320,8 @@ public enum BlendMode { COLOR_BURN(19), /** + * {@usesMathJax} + * *

* *

Makes destination lighter or darker, depending on source.
@@ -302,6 +344,8 @@ public enum BlendMode { HARD_LIGHT(20), /** + * {@usesMathJax} + * *

* *

Makes destination lighter or darker, depending on source.
@@ -348,6 +392,8 @@ public enum BlendMode { SOFT_LIGHT(21), /** + * {@usesMathJax} + * *

* *

Subtracts darker from lighter with higher contrast.
@@ -367,6 +413,8 @@ public enum BlendMode { DIFFERENCE(22), /** + * {@usesMathJax} + * *

* *

Subtracts darker from lighter with lower contrast.
@@ -385,6 +433,8 @@ public enum BlendMode { EXCLUSION(23), /** + * {@usesMathJax} + * *

* *

Multiplies the source and destination pixels.
@@ -397,6 +447,8 @@ public enum BlendMode { MULTIPLY(24), /** + * {@usesMathJax} + * *

* *

@@ -408,6 +460,8 @@ public enum BlendMode { HUE(25), /** + * {@usesMathJax} + * *

* *

@@ -419,6 +473,8 @@ public enum BlendMode { SATURATION(26), /** + * {@usesMathJax} + * *

* *

@@ -430,6 +486,8 @@ public enum BlendMode { COLOR(27), /** + * {@usesMathJax} + * *

* *