summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author James Zern <jzern@google.com> 2023-03-02 19:11:01 -0800
committer James Zern <jzern@google.com> 2023-03-02 19:11:45 -0800
commitdf1b76b4e52f9c9e6bc47c2d3c989480b1a5e4cf (patch)
tree54b411110e3b82d093eb4823e49732a21316ea31
parent7e359a705bfb6a190dd4612ef72d0692e46ce890 (diff)
ColorSpace.java,cosmetics: fix some typos
Change-Id: I2cd5a5a4b27b1715e721fd0216be5fbd8a611ea0 Test: N/A
-rw-r--r--graphics/java/android/graphics/ColorSpace.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/java/android/graphics/ColorSpace.java b/graphics/java/android/graphics/ColorSpace.java
index ca3c84729388..6e60e9e2df6a 100644
--- a/graphics/java/android/graphics/ColorSpace.java
+++ b/graphics/java/android/graphics/ColorSpace.java
@@ -170,7 +170,7 @@ public abstract class ColorSpace {
/**
* Standard CIE 1931 2° illuminant D65, encoded in xyY.
* This illuminant has a color temperature of 6504K. This illuminant
- * is commonly used in RGB color spaces such as sRGB, BT.209, etc.
+ * is commonly used in RGB color spaces such as sRGB, BT.709, etc.
*/
public static final float[] ILLUMINANT_D65 = { 0.31271f, 0.32902f };
/**
@@ -832,8 +832,8 @@ public abstract class ColorSpace {
public enum Model {
/**
* The RGB model is a color model with 3 components that
- * refer to the three additive primiaries: red, green
- * andd blue.
+ * refer to the three additive primaries: red, green
+ * and blue.
*/
RGB(3),
/**
@@ -2405,7 +2405,7 @@ public abstract class ColorSpace {
* does not need to be specified and is assumed to be 1.0. Only the xy components
* are required.</p>
*
- * <p class="note">The ID, areturned by {@link #getId()}, of an object created by
+ * <p class="note">The ID, as returned by {@link #getId()}, of an object created by
* this constructor is always {@link #MIN_ID}.</p>
*
* @param name Name of the color space, cannot be null, its length must be >= 1
@@ -3832,7 +3832,7 @@ public abstract class ColorSpace {
*
* <p>We can only connect color spaces if they use the same profile
* connection space. We assume the connection space is always
- * CIE XYZ but we maye need to perform a chromatic adaptation to
+ * CIE XYZ but we maybe need to perform a chromatic adaptation to
* match the white points. If an adaptation is needed, we use the
* CIE standard illuminant D50. The unmatched color space is adapted
* using the von Kries transform and the {@link Adaptation#BRADFORD}