Home
last modified time | relevance | path

Searched refs:bitmapColorSpace (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DParcelableColorSpaceTest.java136 ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testIsColorSpaceContainer() local
137 assertNotNull(bitmapColorSpace); in testIsColorSpaceContainer()
138 assertEquals(colorSpace.getId(), bitmapColorSpace.getId()); in testIsColorSpaceContainer()
139 assertEquals(parcelableColorSpace.getColorSpace(), bitmapColorSpace); in testIsColorSpaceContainer() local
DRadialGradientTest.java83 final ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testColorLong() local
85 return Color.valueOf(Color.convert(l, bitmapColorSpace)); in testColorLong()
DLinearGradientTest.java91 final ColorSpace bitmapColorSpace = b.getColorSpace();
93 return Color.valueOf(Color.convert(l, bitmapColorSpace));
DSweepGradientTest.java270 final ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testColorLong() local
272 return Color.valueOf(Color.convert(l, bitmapColorSpace)); in testColorLong()
DBitmapTest.java958 for (ColorSpace bitmapColorSpace : rgbColorSpaces) { in testGetColor()
960 bitmapColorSpace); in testGetColor()
961 bitmapColorSpace = mBitmap.getColorSpace(); in testGetColor()
973 if (eraseColorSpace.equals(bitmapColorSpace)) { in testGetColor()
976 + bitmapColorSpace, wideGamutColor, result, .001f); in testGetColor()
980 Color.convert(wideGamutLong, bitmapColorSpace)); in testGetColor()
988 bitmapColorSpace); in testGetColor()
991 + ", ColorSpace: " + bitmapColorSpace in testGetColor()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2783 ColorSpace bitmapColorSpace = bitmapImage.getColorSpace(); in validateJpegData() local
2784 boolean matchingColorSpace = colorSpace.equals(bitmapColorSpace); in validateJpegData()
2787 Log.e(TAG, "Bitmap color space:\n\t" + bitmapColorSpace); in validateJpegData()