/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ParcelableColorSpaceTest.java | 65 assertEquals(inParcelable.getColorSpace(), outParcelable.getColorSpace()); in testNamedReadWrite() 67 assertSame(colorSpace, outParcelable.getColorSpace()); in testNamedReadWrite() 86 assertEquals(inParcelable.getColorSpace(), outParcelable.getColorSpace()); in testReadWriteCustom() 87 assertSame(colorSpace, inParcelable.getColorSpace()); in testReadWriteCustom() 88 assertNotSame(colorSpace, outParcelable.getColorSpace()); in testReadWriteCustom() 109 assertEquals(colorSpace, new ParcelableColorSpace(colorSpace).getColorSpace()); in testIsParcelableNamed() 118 assertEquals(colorSpace, new ParcelableColorSpace(colorSpace).getColorSpace()); in testIsParceableCustom() 134 Bitmap.Config.RGBA_F16, false, parcelableColorSpace.getColorSpace()); in testIsColorSpaceContainer() 136 ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testIsColorSpaceContainer() 139 assertEquals(parcelableColorSpace.getColorSpace(), bitmapColorSpace); in testIsColorSpaceContainer()
|
D | BitmapColorSpaceTest.java | 95 ColorSpace cs = b.getColorSpace(); in createWithColorSpace() 108 ColorSpace cs = b.getColorSpace(); in createWithColorSpace() 124 ColorSpace cs = b.getColorSpace(); in createWithColorSpace() 138 assertNull(bitmap.getColorSpace()); in createAlpha8ColorSpace() 142 assertNull(bitmap.getColorSpace()); in createAlpha8ColorSpace() 154 assertSame(sRGB, bitmap.getColorSpace()); in createDefaultColorSpace() 194 assertSame(orig.getColorSpace(), cropped.getColorSpace()); in createFromSourceWithColorSpace() 196 assertNull(cropped.getColorSpace()); in createFromSourceWithColorSpace() 206 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), rotated.getColorSpace()); in createFromSourceWithColorSpace() 213 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 | 487 assertSame(expected, region.getColorSpace()); in testOutColorSpace() 509 assertEquals(ColorSpace.get(ColorSpace.Named.SRGB), region.getColorSpace()); in testReusedColorSpace() 516 assertEquals(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), region.getColorSpace()); in testReusedColorSpace() 535 assertEquals(ColorSpace.get(ColorSpace.Named.SRGB), region.getColorSpace()); in testReusedColorSpaceCropped() 543 assertEquals(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), region.getColorSpace()); in testReusedColorSpaceCropped() 560 assertSame(opts.outColorSpace, region.getColorSpace()); in testInColorSpace() 576 assertSame(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), region.getColorSpace()); in testInColorSpaceRGBA16F() 591 assertSame(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), region.getColorSpace()); in testInColorSpace565()
|
D | BitmapTest.java | 640 assertNotNull(bitmap.getColorSpace()); in testCreateBitmap_Picture_immutable() 961 bitmapColorSpace = mBitmap.getColorSpace(); in testGetColor() 970 if (mBitmap.getColorSpace().equals(sRGB)) { in testGetColor() 1407 ColorSpace actual = mBitmap.getColorSpace(); in testSetColorSpace() 1421 + cs.getName(), c.convert(mBitmap.getColorSpace()), in testSetColorSpace() 1461 assertNull(mBitmap.getColorSpace()); in testSetColorSpaceAlpha8() 1473 assertSame(aces, mBitmap.getColorSpace()); in testSetColorSpaceReducedRange() 1483 assertSame(mBitmap.getColorSpace(), extended); in testSetColorSpaceNotReducedRange() 1492 assertSame(mBitmap.getColorSpace(), linearExtended); in testSetColorSpaceNotReducedRangeLinear() 1501 assertSame(mBitmap.getColorSpace(), linearExtended); in testSetColorSpaceIncreasedRange() [all …]
|
D | AImageDecoderTest.java | 159 record.isF16, nativeDataSpace(record.getColorSpace())); in testCreateBuffer() 172 record.isF16, nativeDataSpace(record.getColorSpace())); in testCreateFd() 183 record.isF16, nativeDataSpace(record.getColorSpace())); in testCreateAsset() 521 assertNull(bm.getColorSpace()); 538 assertNull(bm.getColorSpace()); 1017 bm.getColorSpace().getDataSpace()); 1152 assertEquals(colorSpace, bm.getColorSpace());
|
D | GainmapTest.java | 123 assertEquals(ColorSpace.Named.SRGB.ordinal(), bitmap.getColorSpace().getId()); in checkGainmap() 152 assertEquals(ColorSpace.Named.SRGB.ordinal(), bitmap.getColorSpace().getId()); in checkFountainGainmap() 446 assertEquals(gainmapData.getColorSpace(), unparceledGainmapData.getColorSpace()); in testWriteToParcel()
|
D | ImageDecoderTest.java | 409 assertSame(record.colorSpace, info.getColorSpace()); in testInfo() 1834 assertNull(bm.getColorSpace()); in testAlphaPlusSetTargetColorSpace() 1946 assertNull(bm.getColorSpace()); in testAlphaMask() 2421 public ColorSpace getColorSpace() { 2487 record.checkColorSpace(null, info.getColorSpace()); 2491 record.checkColorSpace(null, bm.getColorSpace()); 2513 record.checkColorSpace(cs, bm.getColorSpace()); 2536 ColorSpace actual = bm.getColorSpace(); in testTargetColorSpaceNoF16HARDWARE() 2584 assertNull(bm.getColorSpace()); in testTargetColorSpaceUpconvert() 2586 assertSame(cs, bm.getColorSpace()); in testTargetColorSpaceUpconvert() [all …]
|
D | RadialGradientTest.java | 83 final ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testColorLong()
|
D | YuvImageTest.java | 230 assertEquals(defaultColorSpace, imageSRGB.getColorSpace()); in testGetColorSpace() 231 assertEquals(expectedColorSpace, imageBT709.getColorSpace()); in testGetColorSpace()
|
D | LinearGradientTest.java | 91 final ColorSpace bitmapColorSpace = b.getColorSpace();
|
D | SweepGradientTest.java | 270 final ColorSpace bitmapColorSpace = bitmap.getColorSpace(); in testColorLong()
|
D | BitmapFactoryTest.java | 987 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-axt/src/com/android/compatibility/common/util/ |
D | ColorUtils.java | 92 if (!expected.getColorSpace().equals(observed.getColorSpace())) { in verifyColor()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SharedElementCallbackTest.java | 75 assertSame(cs, finalBitmap.getColorSpace()); in testSnapshot()
|
/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()
|
D | GainmapTests.java | 108 result.getColorSpace()); in assertChannels() 135 if (result.getColorSpace().getId() == ColorSpace.Named.BT2020_PQ.ordinal()) { in toleranceForResult()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 392 textureViewScreenshot.setColorSpace(surfaceViewScreenshot.getColorSpace()); in testSDRFromSurfaceViewAndTextureView() 705 ColorSpace getColorSpace(); in getColorSpace() method 720 public ColorSpace getColorSpace() { in getColorSpace() method in TextureViewTest.FP16Compare 732 final ColorSpace dstSpace = getColorSpace(); in verify() 756 public ColorSpace getColorSpace() { in getColorSpace() method in TextureViewTest.SRGBCompare 798 compareFunction.getColorSpace()); in testGetBitmap()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTakeScreenshotTest.java | 391 screenshot.getColorSpace()).copy(Bitmap.Config.ARGB_8888, false); in doesScreenshotContainColor() 426 final ColorSpace colorSpace = screenshot.getColorSpace(); in verifyScreenshotResult()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | ActivityTransitionTests.java | 665 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in getIsAppRegionOfScreenOfColorResult() 772 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in assertColorChangeXIndex()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperManagerTest.java | 888 assertThat(mWallpaperManager.getBitmap().getColorSpace()).isEqualTo(srgb); in testWideGamutWallpaper() 893 final boolean isDisplayP3 = mWallpaperManager.getBitmap().getColorSpace().equals(p3); in testWideGamutWallpaper()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 515 expected.hasAlpha(), expected.getColorSpace()); in testExif()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2783 ColorSpace bitmapColorSpace = bitmapImage.getColorSpace(); in validateJpegData()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | test-current.txt | 1627 method @Nullable public android.graphics.ColorSpace getColorSpace();
|