Home
last modified time | relevance | path

Searched refs:getColorSpace (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapColorSpaceTest.java92 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 …]
DColor_ColorLongTest.java139 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 …]
DBitmapRegionDecoderTest.java489 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()
DBitmapTest.java533 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 …]
DImageDecoderTest.java275 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()
DRadialGradientTest.java83 final ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testColorLong()
DLinearGradientTest.java91 final ColorSpace bitmapColorSpace = b.getColorSpace();
DSweepGradientTest.java270 final ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testColorLong()
DBitmapFactoryTest.java944 assertNull(alpha8.getColorSpace()); in decodeConfigs()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DSamplePointWideGamutVerifier.java42 + "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/
DColorUtils.java92 if (!expected.getColorSpace().equals(observed.getColorSpace())) { in verifyColor()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DColorUtils.java92 if (!expected.getColorSpace().equals(observed.getColorSpace())) { in verifyColor()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java388 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/
DWideColorGamutTests.java155 final ColorSpace cs = a.getColorSpace(); in plus()
156 Assert.assertSame(cs, b.getColorSpace()); in plus()
/cts/tests/tests/transition/src/android/transition/cts/
DSharedElementCallbackTest.java75 assertSame(cs, finalBitmap.getColorSpace()); in testSnapshot()