Home
last modified time | relevance | path

Searched refs:golden (Results 1 – 6 of 6) 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.java236 final int golden = getGoldenId(vf.getDescription(), vf.getOriginalSize()); in runTest() local
237 assertTrue("No golden found.", golden != 0); in runTest()
239 validateResult(vf, videoViewFactory.getVideoViewSnapshot(), golden); in runTest()
253 final Bitmap golden = getHelper().generateBitmapFromImageResourceId(goldenId); in validateResult() local
255 result, golden, videoFormat.getOriginalWidth(), videoFormat.getOriginalHeight()); in validateResult()
/cts/tools/release-parser/tests/
DAndroid.bp29 // Holds golden sample files in assets for validation
Dgenerate_golden_sample_files.sh13 echo Generating golden sample files for parser validation
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DVectorDrawableTest.java271 Bitmap golden = BitmapFactory.decodeResource(mResources, goldenImages[i]); in verifyVectorDrawables() local
272 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()