Home
last modified time | relevance | path

Searched refs:golden (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/nativehardware/jni/
DAHardwareBufferGLTest.cpp328 void CheckGoldenPixel(int x, int y, const std::array<T, 4>& golden, in CheckGoldenPixel() argument
331 EXPECT_EQ(golden, actual) << "Pixel doesn't match at X=" << x << ", Y=" << y; in CheckGoldenPixel()
361 bool GetGoldenColor(const GoldenColor& golden, uint32_t format, int32_t max_err, in GetGoldenColor() argument
372 switch (golden) { in GetGoldenColor()
395 if (golden == kRed50 || golden == kRed50Srgb) { in GetGoldenColor()
405 if ((golden == kRed50 || golden == kRed50Alpha100) && in GetGoldenColor()
434 void GetGoldenColor(const GoldenColor& golden, uint32_t format, in GetGoldenColor() argument
437 GetGoldenColor(golden, format, 0, golden_pixel_out, &ignore); in GetGoldenColor()
441 void GetGoldenColor(const GoldenColor& golden, std::array<float, 4>* golden_pixel_out) { in GetGoldenColor() argument
445 switch (golden) { in GetGoldenColor()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTest.java248 final int golden = getGoldenId(vf.getDescription(), vf.getOriginalSize()); in runTest() local
249 assertTrue("No golden found.", golden != 0); in runTest()
251 validateResult(vf, videoViewFactory.getVideoViewSnapshot(), golden); in runTest()
265 final Bitmap golden = getHelper().generateBitmapFromImageResourceId(goldenId); in validateResult() local
267 result, golden, videoFormat.getOriginalWidth(), videoFormat.getOriginalHeight()); in validateResult()
/cts/tools/release-parser/tests/
DAndroid.bp33 // Holds golden sample files in assets for validation
Dgenerate_golden_sample_files.sh13 echo Generating golden sample files for parser validation
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DGradientTests.java214 Bitmap golden = createRadialGradientGoldenBitmap(); in testRadialGradientWithFocalPointMatchesRegularRadialGradient() local
235 new GoldenImageVerifier(golden, new MSSIMComparer(0.99f))); in testRadialGradientWithFocalPointMatchesRegularRadialGradient()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DVectorDrawableTest.java272 Bitmap golden = BitmapFactory.decodeResource(mResources, goldenImages[i]); in verifyVectorDrawables() local
273 DrawableTestUtils.compareImages(mResources.getString(resIds[i]), mBitmap, golden, in verifyVectorDrawables() local
DNinePatchDrawableTest.java690 final Bitmap golden = BitmapFactory.decodeResource(mResources, goldenResId); in compareOrSave() local
691 DrawableTestUtils.compareImages(densityDpi + " dpi", golden, bitmap, in compareOrSave()