Home
last modified time | relevance | path

Searched refs:mPixelColor (Results 1 – 4 of 4) sorted by relevance

/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DRectChecker.java32 PixelColor mPixelColor; field in RectChecker.Target
36 mPixelColor = new PixelColor(p); in Target()
73 final short maxAlpha = t.mPixelColor.mMaxAlpha; in validatePlaneForTarget()
74 final short minAlpha = t.mPixelColor.mMinAlpha; in validatePlaneForTarget()
75 final short maxRed = t.mPixelColor.mMaxRed; in validatePlaneForTarget()
76 final short minRed = t.mPixelColor.mMinRed; in validatePlaneForTarget()
77 final short maxGreen = t.mPixelColor.mMaxGreen; in validatePlaneForTarget()
78 final short minGreen = t.mPixelColor.mMinGreen; in validatePlaneForTarget()
79 final short maxBlue = t.mPixelColor.mMaxBlue; in validatePlaneForTarget()
80 final short minBlue = t.mPixelColor.mMinBlue; in validatePlaneForTarget()
DBitmapPixelChecker.java47 private final PixelColor mPixelColor; field in BitmapPixelChecker
55 mPixelColor = new PixelColor(color); in BitmapPixelChecker()
71 if (mPixelColor.matchesColor(color)) { in getNumMatchingPixels()
76 int expectedColor = Color.argb(mPixelColor.mAlpha, mPixelColor.mRed, in getNumMatchingPixels()
77 mPixelColor.mGreen, mPixelColor.mBlue); in getNumMatchingPixels()
DPixelChecker.java27 private PixelColor mPixelColor; field in PixelChecker
33 mPixelColor = new PixelColor(); in PixelChecker()
37 mPixelColor = new PixelColor(color); in PixelChecker()
106 mMatchingPixelCount = getNumMatchingPixels(mPixelColor, plane, boundsToCheck); in validatePlane()
DASurfaceControlTestActivity.java256 private final PixelColor mPixelColor; field in ASurfaceControlTestActivity.PixelChecker
268 mPixelColor = new PixelColor(color); in PixelChecker()
305 return mPixelColor; in getExpectedColor()