Searched refs:mRed (Results 1 – 7 of 7) sorted by relevance
/cts/apps/CtsVerifier/include/colorchecker/ |
D | vec3.h | 28 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/ |
D | PixelColor.java | 35 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()
|
D | BitmapPixelChecker.java | 76 int expectedColor = Color.argb(mPixelColor.mAlpha, mPixelColor.mRed, in getNumMatchingPixels()
|
D | ASurfaceControlTestActivity.java | 285 int expectedColor = Color.argb(expected.mAlpha, expected.mRed, in getNumMatchingPixels()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicLut.java | 26 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/ |
D | MediaStore_Images_ThumbnailsTest.java | 94 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/ |
D | SurfaceControlTest.java | 2444 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()
|