/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapColorSpaceTest.java | 92 ColorSpace cs = b.getColorSpace(); in createWithColorSpace() 105 ColorSpace cs = b.getColorSpace(); in createWithColorSpace() 121 ColorSpace cs = b.getColorSpace(); in createWithColorSpace() 135 assertNull(bitmap.getColorSpace()); in createAlpha8ColorSpace() 139 assertNull(bitmap.getColorSpace()); in createAlpha8ColorSpace() 151 assertSame(sRGB, bitmap.getColorSpace()); in createDefaultColorSpace() 190 assertSame(orig.getColorSpace(), cropped.getColorSpace()); in createFromSourceWithColorSpace() 192 assertNull(cropped.getColorSpace()); in createFromSourceWithColorSpace() 202 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), rotated.getColorSpace()); in createFromSourceWithColorSpace() 209 orig.getColorSpace(), rotated.getColorSpace()); in createFromSourceWithColorSpace() [all …]
|
D | Color_ColorLongTest.java | 139 assertTrue(color1.getColorSpace().isSrgb()); in testValueOf() 146 assertTrue(color2.getColorSpace().isSrgb()); in testValueOf() 153 assertTrue(color3.getColorSpace().isSrgb()); in testValueOf() 160 assertFalse(color4.getColorSpace().isSrgb()); in testValueOf() 161 assertEquals(p3, color4.getColorSpace()); in testValueOf() 168 assertFalse(color5.getColorSpace().isSrgb()); in testValueOf() 169 assertEquals(p3, color5.getColorSpace()); in testValueOf() 176 assertTrue(color6.getColorSpace().isSrgb()); in testValueOf() 183 assertTrue(color7.getColorSpace().isSrgb()); in testValueOf() 191 assertTrue(color8.getColorSpace().isSrgb()); in testValueOf() [all …]
|
D | BitmapRegionDecoderTest.java | 489 assertSame(expected, region.getColorSpace()); in testOutColorSpace() 511 assertEquals(ColorSpace.get(ColorSpace.Named.SRGB), region.getColorSpace()); in testReusedColorSpace() 518 assertEquals(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), region.getColorSpace()); in testReusedColorSpace() 535 assertSame(opts.outColorSpace, region.getColorSpace()); in testInColorSpace() 551 assertSame(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), region.getColorSpace()); in testInColorSpaceRGBA16F() 566 assertSame(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), region.getColorSpace()); in testInColorSpace565()
|
D | BitmapTest.java | 533 assertNotNull(bitmap.getColorSpace()); in testCreateBitmap_Picture_immutable() 696 bitmapColorSpace = mBitmap.getColorSpace(); in testGetColor() 705 if (mBitmap.getColorSpace().equals(sRGB)) { in testGetColor() 1142 ColorSpace actual = mBitmap.getColorSpace(); in testSetColorSpace() 1156 + cs.getName(), c.convert(mBitmap.getColorSpace()), in testSetColorSpace() 1196 assertNull(mBitmap.getColorSpace()); in testSetColorSpaceAlpha8() 1208 assertSame(aces, mBitmap.getColorSpace()); in testSetColorSpaceReducedRange() 1218 assertSame(mBitmap.getColorSpace(), extended); in testSetColorSpaceNotReducedRange() 1227 assertSame(mBitmap.getColorSpace(), linearExtended); in testSetColorSpaceNotReducedRangeLinear() 1236 assertSame(mBitmap.getColorSpace(), linearExtended); in testSetColorSpaceIncreasedRange() [all …]
|
D | ImageDecoderTest.java | 275 assertSame(record.colorSpace, info.getColorSpace()); in testInfo() 1632 assertNull(bm.getColorSpace()); in testAlphaPlusSetTargetColorSpace() 1744 assertNull(bm.getColorSpace()); in testAlphaMask() 2184 record.checkColorSpace(null, info.getColorSpace()); 2188 record.checkColorSpace(null, bm.getColorSpace()); 2210 record.checkColorSpace(cs, bm.getColorSpace()); 2250 assertNull(bm.getColorSpace()); in testTargetColorSpaceUpconvert() 2252 assertSame(cs, bm.getColorSpace()); in testTargetColorSpaceUpconvert() 2278 assertNull(bm.getColorSpace()); in testTargetColorSpaceUpconvert() 2280 ColorSpace actual = bm.getColorSpace(); in testTargetColorSpaceUpconvert()
|
D | RadialGradientTest.java | 83 final ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testColorLong()
|
D | LinearGradientTest.java | 91 final ColorSpace bitmapColorSpace = b.getColorSpace();
|
D | SweepGradientTest.java | 270 final ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testColorLong()
|
D | BitmapFactoryTest.java | 944 assertNull(alpha8.getColorSpace()); in decodeConfigs()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | SamplePointWideGamutVerifier.java | 42 + "wide gamut: " + bitmap.getColorSpace(), bitmap.getColorSpace().isWideGamut()); in verify() 49 Color actual = bitmap.getColor(p.x, p.y).convert(expected.getColorSpace()); in verify()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ColorUtils.java | 92 if (!expected.getColorSpace().equals(observed.getColorSpace())) { in verifyColor()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ColorUtils.java | 92 if (!expected.getColorSpace().equals(observed.getColorSpace())) { in verifyColor()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 388 ColorSpace getColorSpace(); in getColorSpace() method 403 public ColorSpace getColorSpace() { in getColorSpace() method in TextureViewTest.FP16Compare 415 final ColorSpace dstSpace = getColorSpace(); in verify() 439 public ColorSpace getColorSpace() { in getColorSpace() method in TextureViewTest.SRGBCompare 481 compareFunction.getColorSpace()); in testGetBitmap()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | WideColorGamutTests.java | 155 final ColorSpace cs = a.getColorSpace(); in plus() 156 Assert.assertSame(cs, b.getColorSpace()); in plus()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SharedElementCallbackTest.java | 75 assertSame(cs, finalBitmap.getColorSpace()); in testSnapshot()
|