/packages/apps/Gallery2/jni/filters/ |
negative.c | 30 dst[BLUE] = 255 - dst[BLUE];
|
exposure.c | 33 rgb[BLUE] = clamp((255*(rgb[BLUE]))/m);
|
contrast.c | 52 rgb[BLUE] = clamp((int)(m*rgb[BLUE]+c));
|
bwfilter.c | 44 float b = sb *rgb[BLUE]; 52 rgb[BLUE] = rgb[RED];
|
gradient.c | 52 int b = destination[BLUE]; 54 destination[BLUE] = b;
|
hue.c | 32 int b = rgb[BLUE]; 40 rgb[BLUE] = clamp((int)bf);
|
saturated.c | 38 int b = destination[BLUE]; 50 destination[BLUE] = CLAMP(Bc);
|
vibrance.c | 40 int b = destination[BLUE]; 59 destination[BLUE] = CLAMP(Bc);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ArgbEvaluatorTest.java | 26 final int BLUE = 0xff8080FF; 30 int bRED = Color.blue(RED); 31 int aBLUE = Color.alpha(BLUE); 32 int rBLUE = Color.red(BLUE); 33 int gBLUE = Color.green(BLUE); 34 int bBLUE = Color.blue(BLUE); 40 result = (Integer) evaluator.evaluate(0.5f, RED, BLUE); 51 int bResult = Color.blue(result);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
MockEnum.java | 29 RED, BLUE, YELLO 43 samEnum = Sample2.BLUE;
|
MockEnum2.java | 30 RED, BLUE, YELLO
|
/cts/tests/tests/text/src/android/text/style/cts/ |
ClickableSpanTest.java | 40 tp.linkColor = Color.BLUE; 42 assertEquals(Color.BLUE, tp.getColor());
|
BackgroundColorSpanTest.java | 48 backgroundColorSpan = new BackgroundColorSpan(Color.BLUE); 50 assertEquals(Color.BLUE, tp.bgColor);
|
ForegroundColorSpanTest.java | 42 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.BLUE); 43 assertEquals(Color.BLUE, foregroundColorSpan.getForegroundColor());
|
QuoteSpanTest.java | 54 quoteSpan = new QuoteSpan(Color.BLUE); 55 assertEquals(Color.BLUE, quoteSpan.getColor());
|
/frameworks/native/services/surfaceflinger/ |
Colorizer.h | 31 BLUE = 34,
|
/external/guava/guava-tests/test/com/google/common/collect/ |
EnumMultisetTest.java | 39 BLUE, RED, YELLOW, GREEN, WHITE 47 assertEquals(0, ms.count(Color.BLUE)); 55 assertEquals(0, ms.count(Color.BLUE)); 70 ms.add(Color.BLUE, 3); 73 assertEquals("[BLUE x 3, RED x 2, YELLOW]", ms.toString()); 85 ms.add(Color.BLUE, 3);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PorterDuffXfermodeTest.java | 40 b2.eraseColor(Color.BLUE); 48 assertEquals(Color.BLUE, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4)); 49 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4)); 67 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4));
|
PorterDuffColorFilterTest.java | 37 b2.eraseColor(Color.BLUE); 63 assertEquals(Color.BLUE, target.getPixel(width / 4, height * 3 / 4)); 64 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4));
|
AvoidXfermodeTest.java | 50 blueTargetingGreenPaint.setColor(Color.BLUE); 65 assertEquals(Color.BLUE, b.getPixel(BASE_SIZE / 2, BASE_SIZE + BASE_SIZE / 2));
|
LightingColorFilterTest.java | 47 assertColor(Color.BLUE, bitmap.getPixel(0, 0)); 50 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); 87 assertEquals(Color.blue(expected), Color.blue(actual), TOLERANCE);
|
LinearGradientTest.java | 34 int[] color = { Color.BLUE, Color.GREEN, Color.RED }; 42 // BLUE -> GREEN, B sub-value decreasing while G sub-value increasing 43 assertTrue(Color.blue(b.getPixel(10, 0)) > Color.blue(b.getPixel(10, 5))); 44 assertTrue(Color.blue(b.getPixel(10, 5)) > Color.blue(b.getPixel(10, 10))); 53 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP); 58 // RED -> BLUE, R sub-value decreasing while B sub-value increasing 61 assertTrue(Color.blue(b.getPixel(10, 0)) < Color.blue(b.getPixel(10, 15))) [all...] |
PictureTest.java | 85 // overwrite (0,0) with a blue dot 86 paint.setColor(Color.BLUE); 91 // first pixel is BLUE, rest of the line is RED 92 assertEquals(Color.BLUE, bitmap.getPixel(0, 0));
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Layers.java | 58 mPaint.setColor(Color.BLUE);
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapFactoryTest.java | 34 new int[] { Color.BLUE }, 1, 1, Bitmap.Config.RGB_565);
|