/external/vulkan-validation-layers/tests/ |
vkvalidatelayerdoc.sh | 4 RED='\033[0;31m' 8 RED='' 28 printf "$RED[ FAILED ]$NC Validation of vk_validation_layer_details.md failed\n" 29 printf "$RED[ FAILED ]$NC 1 test\n"
|
/packages/apps/Gallery2/jni/filters/ |
negative.c | 28 dst[RED] = 255 - dst[RED];
|
exposure.c | 31 rgb[RED] = clamp((255*(rgb[RED]))/m);
|
bwfilter.c | 42 float r = sr *rgb[RED]; 50 rgb[RED] = CLAMP(avg); 51 rgb[GREEN] = rgb[RED]; 52 rgb[BLUE] = rgb[RED];
|
contrast.c | 50 rgb[RED] = clamp((int)(m*rgb[RED]+c));
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ColorTest.java | 24 assertEquals(0xff, Color.alpha(Color.RED)); 30 assertEquals(Color.RED, Color.argb(0xff, 0xff, 0x00, 0x00)); 35 assertEquals(0x00, Color.blue(Color.RED)); 40 assertEquals(0x00, Color.green(Color.RED)); 55 Color.colorToHSV(Color.RED, hsv); 56 assertEquals(Color.RED, Color.HSVToColor(hsv)); 70 Color.colorToHSV(Color.RED, hsv); 71 assertEquals(Color.RED, Color.HSVToColor(0xff, hsv)); 83 assertEquals(Color.RED, Color.parseColor("#ff0000")); 84 assertEquals(Color.RED, Color.parseColor("#ffff0000")) [all...] |
PorterDuffXfermodeTest.java | 38 b1.eraseColor(Color.RED); 47 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4)); 56 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4)); 57 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4)); 65 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4));
|
PorterDuffColorFilterTest.java | 35 b1.eraseColor(Color.RED); 49 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); 51 assertEquals(0x80, Color.red(lowerLeft), TOLERANCE); 62 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); 72 assertEquals(Color.RED, target.getPixel(width / 4, height / 4));
|
/packages/apps/Messaging/build/ |
colorize_errors.py | 23 RED = "\033[31m" 33 print RED + line,
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
EnumMultisetTest.java | 50 BLUE, RED, YELLOW, GREEN, WHITE 59 ms.add(Color.RED); 61 ms.add(Color.RED); 64 assertEquals(2, ms.count(Color.RED)); 69 asList(Color.RED, Color.YELLOW, Color.RED)); 72 assertEquals(2, ms.count(Color.RED)); 85 ms.add(Color.RED); 100 ms.add(Color.RED, 2); 101 assertEquals("[BLUE x 3, RED x 2, YELLOW]", ms.toString()) [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
QuoteSpanTest.java | 31 QuoteSpan q = new QuoteSpan(Color.RED); 74 QuoteSpan quoteSpan = new QuoteSpan(Color.RED); 79 QuoteSpan quoteSpan = new QuoteSpan(Color.RED); 86 QuoteSpan quoteSpan = new QuoteSpan(Color.RED); 90 assertEquals(Color.RED, q.getColor());
|
ClickableSpanTest.java | 32 tp.linkColor = Color.RED; 37 assertEquals(Color.RED, tp.getColor());
|
BackgroundColorSpanTest.java | 69 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.RED); 74 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.RED); 81 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.RED); 85 assertEquals(Color.RED, b.getBackgroundColor());
|
ForegroundColorSpanTest.java | 71 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.RED); 76 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.RED); 83 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.RED); 87 assertEquals(Color.RED, f.getForegroundColor());
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewOverlayTest.java | 74 final Drawable redDrawable = new ColorDrawable(Color.RED); 79 colorRectangles.add(new Pair<>(new Rect(20, 30, 40, 50), Color.RED)); 80 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, 90 final Drawable redDrawable = new ColorDrawable(Color.RED); 100 colorRectangles.add(new Pair<>(new Rect(20, 30, 40, 50), Color.RED)); 101 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, 112 final Drawable redDrawable = new ColorDrawable(Color.RED); 117 colorRectangles.add(new Pair<>(new Rect(20, 30, 40, 50), Color.RED)); 118 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, 134 final Drawable redDrawable = new ColorDrawable(Color.RED); [all...] |
ViewGroupOverlayTest.java | 87 redView.setBackgroundColor(Color.RED); 93 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); 94 DrawingUtils.assertAllPixelsOfColor("Overlay with one red view", 106 redView.setBackgroundColor(Color.RED); 123 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); 132 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); 147 redView.setBackgroundColor(Color.RED); 159 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); 180 redView.setBackgroundColor(Color.RED); 195 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
EnumMultisetTest.java | 76 BLUE, RED, YELLOW, GREEN, WHITE 85 ms.add(Color.RED); 87 ms.add(Color.RED); 90 assertEquals(2, ms.count(Color.RED)); 95 asList(Color.RED, Color.YELLOW, Color.RED)); 98 assertEquals(2, ms.count(Color.RED)); 111 ms.add(Color.RED); 126 ms.add(Color.RED, 2); 127 assertEquals("[BLUE x 3, RED x 2, YELLOW]", ms.toString()) [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
BitmapVerifier.java | 26 protected static final int FAIL_COLOR = Color.RED;
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/ |
PassFailVisualizer.java | 25 * This method will return a bitmap where white is same red is different 36 output[y] = Color.RED;
|
/frameworks/native/services/surfaceflinger/ |
Colorizer.h | 28 RED = 31,
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
GlifPatternDrawableTest.java | 36 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); 54 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); 75 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); 89 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); 104 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
RggbChannelVector.java | 30 /** Red color channel in a bayer Raw pattern. */ 31 public static final int RED = 0; 51 * @param red red pixel 58 public RggbChannelVector(final float red, final float greenEven, final float greenOdd, 60 mRed = checkArgumentFinite(red, "red"); 67 * Get the red component. 105 * <p>{@code colorChannel} must be one of {@link #RED}, {@link #GREEN_EVEN}, {@link #GREEN_ODD}, 119 case RED [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
StrictModeFlash.java | 81 c.drawColor(Color.RED); 84 c.drawColor(Color.RED); 87 c.drawColor(Color.RED); 90 c.drawColor(Color.RED);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
MockEnum.java | 29 RED, BLUE, YELLO
|
/external/chromium-trace/catapult/catapult_build/ |
test_runner.py | 15 RED = '\033[91m' 53 print _Color('Oops! Some tests failed.', RED), FAIL_EMOJI
|