/cts/tests/tests/graphics/src/android/graphics/cts/ |
CornerPathEffectTest.java | 50 pathPaint.setColor(Color.GREEN); 82 if (Color.green(pixel) > 0) { 84 // green path must overlap with red guide line
|
DashPathEffectTest.java | 41 private static final int FOREGROUND = Color.GREEN;
|
DiscretePathEffectTest.java | 46 paint.setColor(Color.GREEN); 81 if (Color.green(pixel) > 0) { 95 // green line must vary in y direction
|
LinearGradientTest.java | 34 int[] color = { Color.BLUE, Color.GREEN, Color.RED }; 42 // BLUE -> GREEN, B sub-value decreasing while G sub-value increasing 45 assertTrue(Color.green(b.getPixel(10, 0)) < Color.green(b.getPixel(10, 5))); 46 assertTrue(Color.green(b.getPixel(10, 5)) < Color.green(b.getPixel(10, 10))); 47 // GREEN -> RED, G sub-value decreasing while R sub-value increasing 48 assertTrue(Color.green(b.getPixel(10, 15)) > Color.green(b.getPixel(10, 20))); 49 assertTrue(Color.green(b.getPixel(10, 20)) > Color.green(b.getPixel(10, 25))) [all...] |
PorterDuffColorFilterTest.java | 42 // semi-transparent green 52 assertEquals(0x80, Color.green(lowerLeft), TOLERANCE); 67 filter = new PorterDuffColorFilter(Color.GREEN, PorterDuff.Mode.SCREEN);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
AlphaBitmap.java | 71 Color.RED, Color.GREEN, Color.BLUE },
|
Clipping.java | 57 mPaint.setColor(Color.GREEN);
|
PathEffects.java | 68 Color.GREEN, Color.MAGENTA, Color.BLACK
|
Patterns.java | 47 p.setColor(Color.GREEN);
|
ScaleToFit.java | 53 40, 80, Color.GREEN,
|
BitmapPixels.java | 75 int g = Color.green(c); 138 makeRamp(premultiplyColor(Color.RED), premultiplyColor(Color.GREEN),
|
Regions.java | 116 drawRgn(canvas, Color.GREEN, "Difference", Region.Op.DIFFERENCE);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
EnumMultisetTest.java | 39 BLUE, RED, YELLOW, GREEN, WHITE
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
SyncCommon.java | 44 protected static final Color AUTH_COLORS[] = {Color.MAGENTA, Color.GREEN, Color.BLUE,
|
/frameworks/base/graphics/java/android/graphics/ |
Color.java | 27 * green, blue. The values are unpremultiplied, meaning any transparency is 30 * (green << 8) | blue. Each component ranges between 0..255 with 0 33 * no contributions from red, green, or blue), and opaque-white would be 43 public static final int GREEN = 0xFF00FF00; 67 * Return the green component of a color int. This is the same as saying 70 public static int green(int color) { method in class:Color 83 * Return a color-int from red, green, blue components. 89 * @param green Green component [0..255] of the color 92 public static int rgb(int red, int green, int blue) 259 float green = 0.0f; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationSeeking.java | 94 private static final int GREEN = 0xff80ff80; 134 int green = (int)(100 + Math.random() * 155); local 136 int color = 0xff000000 | red << 16 | green << 8 | blue; 138 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
AnimationLoading.java | 80 addBall(500, 50, Color.GREEN); 138 int green = (int)(100 + Math.random() * 155); local 140 int color = 0xff000000 | red << 16 | green << 8 | blue; 142 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
BouncingBalls.java | 58 private static final int GREEN = 0xff80ff80; 160 int green = (int)(Math.random() * 255); local 162 int color = 0xff000000 | red << 16 | green << 8 | blue; 164 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsMessagingDemo.java | 155 statusView.setTextColor(error ? Color.RED : Color.GREEN);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PointsActivity.java | 51 final RenderingView gpuView = new RenderingView(this, Color.GREEN);
|
ShadersActivity.java | 85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
|
Lines2Activity.java | 39 final LinesView gpuView = new LinesView(this, 0, Color.GREEN); 44 final LinesView hwBothView = new LinesView(this, 850, Color.GREEN);
|
/external/llvm/utils/lit/lit/ |
ProgressBar.py | 19 >>> print 'This is '+term.GREEN+'green'+term.NORMAL 25 >>> print term.render('This is ${GREEN}green${NORMAL}') 71 BLACK = BLUE = GREEN = CYAN = RED = MAGENTA = YELLOW = WHITE = '' 82 _COLORS = """BLACK BLUE GREEN CYAN RED MAGENTA YELLOW WHITE""".split() 83 _ANSICOLORS = "BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE".split() 209 BAR = '%s${GREEN}[${BOLD}%s%s${NORMAL}${GREEN}]${NORMAL}%s'
|
/cts/tests/tests/view/src/android/view/cts/ |
View_UsingViewsTest.java | 137 mEditText.setDrawingCacheBackgroundColor(Color.GREEN); 138 assertEquals(Color.GREEN, mEditText.getDrawingCacheBackgroundColor()); 145 assertEquals(Color.GREEN, b.getPixel(0, 0));
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ReflectionTest.java | 288 Class<?> greenClass = TrafficLights.GREEN.getClass(); 371 GREEN {
|