From df1b76b4e52f9c9e6bc47c2d3c989480b1a5e4cf Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 2 Mar 2023 19:11:01 -0800 Subject: ColorSpace.java,cosmetics: fix some typos Change-Id: I2cd5a5a4b27b1715e721fd0216be5fbd8a611ea0 Test: N/A --- graphics/java/android/graphics/ColorSpace.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'graphics/java/android') 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.

* - *

The ID, areturned by {@link #getId()}, of an object created by + *

The ID, as returned by {@link #getId()}, of an object created by * this constructor is always {@link #MIN_ID}.

* * @param name Name of the color space, cannot be null, its length must be >= 1 @@ -3832,7 +3832,7 @@ public abstract class ColorSpace { * *

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} -- cgit v1.2.3-59-g8ed1b