Loading graphics/java/android/graphics/Bitmap.java +5 −0 Original line number Diff line number Diff line Loading @@ -1718,6 +1718,11 @@ public final class Bitmap implements Parcelable { * <p>Modifies the bitmap to have the specified {@link ColorSpace}, without * affecting the underlying allocation backing the bitmap.</p> * * <p>This affects how the framework will interpret the color at each pixel. A bitmap * with {@link Config#ALPHA_8} never has a color space, since a color space does not * affect the alpha channel. Other {@code Config}s must always have a non-null * {@code ColorSpace}.</p> * * @throws IllegalArgumentException If the specified color space is {@code null}, not * {@link ColorSpace.Model#RGB RGB}, has a transfer function that is not an * {@link ColorSpace.Rgb.TransferParameters ICC parametric curve}, or whose Loading Loading
graphics/java/android/graphics/Bitmap.java +5 −0 Original line number Diff line number Diff line Loading @@ -1718,6 +1718,11 @@ public final class Bitmap implements Parcelable { * <p>Modifies the bitmap to have the specified {@link ColorSpace}, without * affecting the underlying allocation backing the bitmap.</p> * * <p>This affects how the framework will interpret the color at each pixel. A bitmap * with {@link Config#ALPHA_8} never has a color space, since a color space does not * affect the alpha channel. Other {@code Config}s must always have a non-null * {@code ColorSpace}.</p> * * @throws IllegalArgumentException If the specified color space is {@code null}, not * {@link ColorSpace.Model#RGB RGB}, has a transfer function that is not an * {@link ColorSpace.Rgb.TransferParameters ICC parametric curve}, or whose Loading