/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
FramebufferBlendActivity.java | 46 private Paint mPaint; 60 mPaint = new Paint(); 88 mPaint.setShader(null); 89 mPaint.setXfermode(null); 90 canvas.drawBitmap(mTexture, 0.0f, 0.0f, mPaint); 92 mPaint.setShader(mHorGradient); 93 mPaint.setXfermode(new PorterDuffXfermode(mode)); 94 canvas.drawRect(0.0f, 0.0f, mTexWidth, mTexHeight, mPaint); 100 mPaint.setXfermode(null); 101 mPaint.setShader(mHorGradient) [all...] |
RotationActivity.java | 43 private final Paint mPaint; 47 mPaint = new Paint(); 48 mPaint.setAntiAlias(true); 57 mPaint.setColor(0xffff0000); 58 canvas.drawRect(-80.0f, -80.0f, 80.0f, 80.0f, mPaint); 59 canvas.drawRect(0.0f, 0.0f, 220.0f, 220.0f, mPaint);
|
ViewLayersActivity6.java | 35 private final Paint mPaint = new Paint(); 43 mPaint.setColorFilter(new PorterDuffColorFilter(0xff00ff00, PorterDuff.Mode.MULTIPLY)); 49 findViewById(R.id.list1).setLayerType(View.LAYER_TYPE_HARDWARE, mPaint);
|
AdvancedGradientsActivity.java | 40 private final Paint mPaint; 65 mPaint = new Paint(); 77 mPaint.setShader(mSweepGradient); 78 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); 83 mPaint.setShader(mSweepGradient); 84 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); 89 mPaint.setShader(mSweepGradient); 90 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); 95 mPaint.setShader(mRadialGradient); 96 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); [all...] |
SmallCircleActivity.java | 48 private final Paint mPaint; 58 mPaint = new Paint(); 59 mPaint.setAntiAlias(true); 60 mPaint.setColor(0xffffffff); 67 canvas.drawPath(mPath, mPaint);
|
AlphaLayersActivity.java | 72 private final Paint mPaint; 76 mPaint = new Paint(); 83 mPaint.setColor(0xffff0000); 84 canvas.drawRect(200.0f, 0.0f, 220.0f, 20.0f, mPaint); 119 mPaint.setColor(0xff00ff00); 120 canvas.drawRect(0.0f, 0.0f, 20.0f, 20.0f, mPaint); 122 mPaint.setColor(0xff0000ff); 123 canvas.drawRect(20.0f, 0.0f, 40.0f, 20.0f, mPaint); 130 mPaint.setColor(0xff0000ff); 131 canvas.drawRect(0.0f, 100.0f, 40.0f, 150.0f, mPaint); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Layers.java | 39 private Paint mPaint; 45 mPaint = new Paint(); 46 mPaint.setAntiAlias(true); 56 mPaint.setColor(Color.RED); 57 canvas.drawCircle(75, 75, 75, mPaint); 58 mPaint.setColor(Color.BLUE); 59 canvas.drawCircle(125, 125, 75, mPaint);
|
Typefaces.java | 33 private Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 42 mPaint.setTextSize(64); 48 mPaint.setTypeface(null); 49 canvas.drawText("Default", 10, 100, mPaint); 50 mPaint.setTypeface(mFace); 51 canvas.drawText("Custom", 10, 200, mPaint);
|
Clipping.java | 33 private Paint mPaint; 40 mPaint = new Paint(); 41 mPaint.setAntiAlias(true); 42 mPaint.setStrokeWidth(6); 43 mPaint.setTextSize(16); 44 mPaint.setTextAlign(Paint.Align.RIGHT); 54 mPaint.setColor(Color.RED); 55 canvas.drawLine(0, 0, 100, 100, mPaint); 57 mPaint.setColor(Color.GREEN); 58 canvas.drawCircle(30, 70, 30, mPaint); [all...] |
DrawPoints.java | 33 private Paint mPaint = new Paint(); 63 Paint paint = mPaint;
|
PathEffects.java | 34 private Paint mPaint; 59 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 60 mPaint.setStyle(Paint.Style.STROKE); 61 mPaint.setStrokeWidth(6); 84 mPaint.setPathEffect(mEffects[i]); 85 mPaint.setColor(mColors[i]); 86 canvas.drawPath(mPath, mPaint);
|
PathFillTypes.java | 37 private Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 62 Paint paint = mPaint;
|
PolyToPoly.java | 37 private Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 46 mPaint.setColor(Color.GRAY); 47 mPaint.setStyle(Paint.Style.STROKE); 48 canvas.drawRect(0, 0, 64, 64, mPaint); 49 canvas.drawLine(0, 0, 64, 64, mPaint); 50 canvas.drawLine(0, 64, 64, 0, mPaint); 52 mPaint.setColor(Color.RED); 53 mPaint.setStyle(Paint.Style.FILL); 59 canvas.drawText(src.length/2 + "", x, y, mPaint); 68 mPaint.setStrokeWidth(4) [all...] |
RoundRects.java | 35 private Paint mPaint; 44 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
|
Sweep.java | 34 private Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 51 mPaint.setShader(mShader); 55 Paint paint = mPaint; 85 mPaint.setDither(!mPaint.isDither());
|
FingerPaint.java | 35 mPaint = new Paint(); 36 mPaint.setAntiAlias(true); 37 mPaint.setDither(true); 38 mPaint.setColor(0xFFFF0000); 39 mPaint.setStyle(Paint.Style.STROKE); 40 mPaint.setStrokeJoin(Paint.Join.ROUND); 41 mPaint.setStrokeCap(Paint.Cap.ROUND); 42 mPaint.setStrokeWidth(12); 50 private Paint mPaint; 55 mPaint.setColor(color) [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
TextLayoutTest.java | 30 protected TextPaint mPaint; 35 mPaint = new TextPaint(); 40 Layout l = new StaticLayout(mString, mPaint, 200, 47 Layout l = new DynamicLayout(mString, mPaint, 200,
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HolographicPagedViewIcon.java | 33 Paint mPaint; 38 mPaint = new Paint(); 52 mPaint);
|
FastBitmapDrawable.java | 32 private final Paint mPaint = new Paint(); 48 canvas.drawBitmap(mBitmap, r.left, r.top, mPaint); 53 mPaint.setColorFilter(cf); 64 mPaint.setAlpha(alpha); 68 mPaint.setFilterBitmap(filterBitmap);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
StringTexture.java | 33 private final TextPaint mPaint; 40 mPaint = paint; 83 canvas.drawText(mText, 0, 0, mPaint);
|
/development/samples/Snake/src/com/example/android/snake/ |
TileView.java | 63 private final Paint mPaint = new Paint(); 162 mPaint);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewPerformanceTest.java | 36 private Paint mPaint; 55 mPaint = new Paint(); 97 mCanvas.drawText(mString, 30, 30, mPaint);
|
/frameworks/base/graphics/java/android/graphics/ |
NinePatch.java | 40 private Paint mPaint; 66 if (patch.mPaint != null) { 67 mPaint = new Paint(patch.mPaint); 73 mPaint = p; 86 mPaint != null ? mPaint.mNativePaint : 0, 89 canvas.drawPatch(mBitmap, mChunk, location, mPaint); 103 mPaint != null ? mPaint.mNativePaint : 0 [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
TrackingPatternView.java | 31 private Paint mPaint; 43 mPaint = new Paint(); 44 mPaint.setDither(false); 50 final Paint paint = mPaint;
|
/packages/apps/Gallery/src/com/android/camera/ |
ActionMenuButton.java | 40 private Paint mPaint; 62 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 63 mPaint.setColor(getContext().getResources() 85 canvas.drawRoundRect(rect, CORNER_RADIUS, CORNER_RADIUS, mPaint);
|