Searched refs:PixelColor (Results 1 – 9 of 9) sorted by relevance
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | MultiFramePixelChecker.java | 27 private final PixelColor[] mPixelColors; 32 mPixelColors = new PixelColor[colors.length]; in MultiFramePixelChecker() 34 mPixelColors[i] = new PixelColor(colors[i]); in MultiFramePixelChecker() 38 private PixelColor getColor(long frameNumber) { in getColor()
|
D | PixelChecker.java | 27 private PixelColor mPixelColor; 33 mPixelColor = new PixelColor(); in PixelChecker() 37 mPixelColor = new PixelColor(color); in PixelChecker() 40 public static int getNumMatchingPixels(PixelColor expectedColor, Image.Plane plane, in getNumMatchingPixels() 77 static boolean matchesColor(PixelColor expectedColor, byte[] scanline, int offset) { in matchesColor()
|
D | PixelColor.java | 21 public class PixelColor { class 39 public PixelColor(@ColorInt int color) { in PixelColor() method in PixelColor 55 public PixelColor() { in PixelColor() method in PixelColor
|
D | RectChecker.java | 32 PixelColor mPixelColor; 36 mPixelColor = new PixelColor(p); in Target()
|
D | ASurfaceControlTestActivity.java | 256 private final PixelColor mPixelColor; 268 mPixelColor = new PixelColor(color); in PixelChecker() 284 PixelColor expected = getExpectedColor(x, y); in getNumMatchingPixels() 304 public PixelColor getExpectedColor(int x, int y) { in getExpectedColor()
|
D | BitmapPixelChecker.java | 47 private final PixelColor mPixelColor; 55 mPixelColor = new PixelColor(color); in BitmapPixelChecker()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | ASurfaceControlTest.java | 80 import android.view.cts.surfacevalidator.PixelColor; 120 private static final PixelColor RED = new PixelColor(Color.RED); 121 private static final PixelColor BLUE = new PixelColor(Color.BLUE); 122 private static final PixelColor MAGENTA = new PixelColor(Color.MAGENTA); 123 private static final PixelColor GREEN = new PixelColor(Color.GREEN); 124 private static final PixelColor YELLOW = new PixelColor(Color.YELLOW); 563 PixelColor.TRANSLUCENT_RED); in testSurfaceTransaction_setBufferOpaque_opaque() 584 PixelColor.TRANSLUCENT_RED); in testSurfaceTransaction_setBufferOpaque_translucent() 639 public PixelColor getExpectedColor(int x, int y) { in testSurfaceTransaction_setDestinationRect_small() 665 public PixelColor getExpectedColor(int x, int y) { in testSurfaceTransaction_setDestinationRect_childSmall() [all …]
|
D | SurfaceControlTest.java | 58 import android.view.cts.surfacevalidator.PixelColor; 112 private static final PixelColor RED = new PixelColor(Color.RED); 113 private static final PixelColor BLUE = new PixelColor(Color.BLUE); 114 private static final PixelColor MAGENTA = new PixelColor(Color.MAGENTA); 115 private static final PixelColor GREEN = new PixelColor(Color.GREEN); 116 private static final PixelColor YELLOW = new PixelColor(Color.YELLOW); 471 PixelColor.TRANSLUCENT_RED); in testSurfaceTransaction_setBufferOpaque_opaque() 494 PixelColor.TRANSLUCENT_RED); in testSurfaceTransaction_setBufferOpaque_translucent() 554 public PixelColor getExpectedColor(int x, int y) { in testSurfaceTransaction_setDestinationRect_small() 583 public PixelColor getExpectedColor(int x, int y) { in testSurfaceTransaction_setDestinationRect_smallScaleFirst() [all …]
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayManagerTest.java | 45 import android.view.cts.surfacevalidator.PixelColor; 129 int matchingPixels = PixelChecker.getNumMatchingPixels(new PixelColor(Color.RED), in testCreateVirtualDisplayFromShell()
|