Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/include/colorchecker/
Dvec3.h28 mRed = inputRed; in Vec3()
37 Vec3<T> temp(mRed + param.r(), mGreen + param.g(), mBlue + param.b());
42 Vec3<T> temp(mRed - param.r(), mGreen - param.g(), mBlue - param.b());
47 Vec3<T> temp(mRed * param, mGreen * param, mBlue * param);
53 Vec3<float> temp(mRed * static_cast<U>(param.r()),
63 temp.set(static_cast<float>(mRed) / static_cast<float>(param),
73 temp.set(static_cast<float>(mRed) / static_cast<float>(param.r()),
82 difference = static_cast<float>(mRed - param.r()) * in squareDistance()
83 static_cast<float>(mRed - param.r()) + in squareDistance()
93 return (0.299 * static_cast<float>(mRed) + in convertToLuminance()
[all …]
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelColor.java35 public short mRed; field in PixelColor
41 mRed = (short) ((color >> 16) & 0xFF); in PixelColor()
47 mMinRed = (short) getMinValue(mRed); in PixelColor()
48 mMaxRed = (short) getMaxValue(mRed); in PixelColor()
DBitmapPixelChecker.java76 int expectedColor = Color.argb(mPixelColor.mAlpha, mPixelColor.mRed, in getNumMatchingPixels()
DASurfaceControlTestActivity.java285 int expectedColor = Color.argb(expected.mAlpha, expected.mRed, in getNumMatchingPixels()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicLut.java26 short mRed[] = new short[256]; field in IntrinsicLut
49 mRed[ct] = (short)r.nextInt(256); in createTest()
53 mIntrinsic.setRed(ct, mRed[ct]); in createTest()
58 mScript.set_red(mRed); in createTest()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Images_ThumbnailsTest.java94 private Uri mRed; field in MediaStore_Images_ThumbnailsTest
124 mRed = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages()
126 mRowsAdded.add(mRed); in prepareImages()
155 values.put(Thumbnails.IMAGE_ID, ContentUris.parseId(mRed)); in testQueryExternalThumbnails()
263 values.put(Thumbnails.IMAGE_ID, ContentUris.parseId(mRed)); in testStoreImagesMediaExternal()
279 assertEquals(ContentUris.parseId(mRed), c.getLong(c.getColumnIndex(Thumbnails.IMAGE_ID))); in testStoreImagesMediaExternal()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlTest.java2444 final PixelColor mRed = new PixelColor(Color.RED); in testSetGeometry_dstBoundsOffScreen()
2449 return mRed; in testSetGeometry_dstBoundsOffScreen()
2477 final PixelColor mRed = new PixelColor(Color.RED); in testSetGeometry_dstBoundsOnScreen()
2482 return mRed; in testSetGeometry_dstBoundsOnScreen()