/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | DuotoneFilter.java | 30 import android.graphics.Color; 115 float first[] = { Color.red(mFirstColor)/255f, 116 Color.green(mFirstColor)/255f, 117 Color.blue(mFirstColor)/255f }; 118 float second[] = { Color.red(mSecondColor)/255f, 119 Color.green(mSecondColor)/255f, 120 Color.blue(mSecondColor)/255f };
|
H A D | TintFilter.java | 30 import android.graphics.Color; 126 float tint_color[] = {Color.red(mTint) / 255f, 127 Color.green(mTint) / 255f, 128 Color.blue(mTint) / 255f };
|
H A D | RedEyeFilter.java | 32 import android.graphics.Color; 164 mPaint.setColor(Color.WHITE);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 21 import android.graphics.Color; 74 c.drawColor(Color.RED); 77 c.drawColor(Color.RED); 80 c.drawColor(Color.RED); 83 c.drawColor(Color.RED);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ShadersActivity.java | 25 import android.graphics.Color; 85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); 93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP); 96 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
|
H A D | PathOffsetActivity.java | 22 import android.graphics.Color; 57 mPaint.setColor(Color.RED);
|
H A D | ColoredRectsActivity.java | 23 import android.graphics.Color; 39 final RectsView gpuView = new RectsView(this, 0, Color.GREEN); 41 final RectsView swView = new RectsView(this, 400, Color.RED); 44 final RectsView hwBothView = new RectsView(this, 850, Color.GREEN); 49 final RectsView swBothView = new RectsView(this, 854, Color.RED);
|
H A D | ViewLayerInvalidationActivity.java | 20 import android.graphics.Color; 31 int currentColor = Color.WHITE; 83 currentColor = (currentColor == Color.WHITE) ? Color.RED : Color.WHITE;
|
H A D | FramebufferBlendActivity.java | 25 import android.graphics.Color; 58 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP);
|
H A D | MoreShadersActivity.java | 25 import android.graphics.Color; 83 Color.RED, 0x7f00ff00, Shader.TileMode.CLAMP); 86 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
|
H A D | ViewPropertyAlphaActivity.java | 24 import android.graphics.Color; 82 text.setSpan(new BackgroundColorSpan(Color.RED), 0, 3, 84 text.setSpan(new ForegroundColorSpan(Color.BLUE), 4, 9, 124 mPaint.setColor(Color.RED);
|
H A D | AdvancedBlendActivity.java | 25 import android.graphics.Color; 82 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP);
|
H A D | PointsActivity.java | 23 import android.graphics.Color; 51 final RenderingView gpuView = new RenderingView(this, Color.GREEN); 53 final RenderingView swView = new RenderingView(this, Color.RED);
|
H A D | Lines2Activity.java | 23 import android.graphics.Color; 39 final LinesView gpuView = new LinesView(this, 0, Color.GREEN); 41 final LinesView swView = new LinesView(this, 400, Color.RED); 44 final LinesView hwBothView = new LinesView(this, 850, Color.GREEN); 49 final LinesView swBothView = new LinesView(this, 854, Color.RED);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardCircleFramedDrawable.java | 21 import android.graphics.Color; 84 mPaint.setColor(Color.BLACK); 123 mPaint.setColor(Color.argb((int) (0.33f * 255), 124 Color.red(mHighlightColor), 125 Color.green(mHighlightColor), 126 Color.blue(mHighlightColor)));
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 207 int a0 = Color.alpha(c0); 208 int a1 = Color.alpha(c1); 211 int r0 = Color.red(c0); 212 int r1 = Color.red(c1); 216 int g0 = Color.green(c0); 217 int g1 = Color.green(c1); 221 int b0 = Color.blue(c0); 222 int b1 = Color.blue(c1); 227 int cc = Color.argb(a0, rr, gg, bb);
|
H A D | BitmapFactoryTest.java | 34 new int[] { Color.BLUE }, 1, 1, Bitmap.Config.RGB_565);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewAttachView.java | 21 import android.graphics.Color; 78 canvas.drawColor(Color.BLUE);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestViewDrawText.java | 22 import android.graphics.Color; 47 mColor = a.getColor(R.styleable.DrawTextTestView_color, Color.YELLOW);
|
H A D | BiDiTestView.java | 21 import android.graphics.Color; 96 drawInsideRect(canvas, new Paint(), Color.BLACK); 161 paint.setColor(Color.WHITE); 172 drawMetricsAroundText(canvas, x, y, textWidthHB, textWidthICU, textSize, Color.RED, Color.GREEN);
|
/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionSpan.java | 21 import android.graphics.Color; 152 mMisspelledUnderlineColor = Color.BLACK; 153 mEasyCorrectUnderlineColor = Color.BLACK; 154 mAutoCorrectionUnderlineColor = Color.BLACK; 164 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK); 172 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK); 180 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK);
|
H A D | DynamicDrawableSpan.java | 20 import android.graphics.Color;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 28 import android.graphics.Color; 85 mTextPaint.setColor(Color.WHITE); 151 mPainter.setColor(Color.BLACK); 162 mPainter.setColor(Color.RED); 166 mPainter.setColor(Color.BLACK);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | IconLoader.java | 22 import android.graphics.Color; 65 // Color lookup table offset inside the EF. 271 return Color.WHITE; 273 return Color.BLACK; 295 clut[numOfClutEntries - 1] = Color.TRANSPARENT; 316 pixels[pixelIndex++] = Color.rgb(clut[clutIndex],
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderDrawable.java | 38 import java.awt.Color; 124 gc.setColor(new Color(0x00000000, true));
|