/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
HitRectBug.java | 43 private Paint mPaint; 51 mPaint = new Paint(); 52 mPaint.setColor(Color.RED); 53 mPaint.setStyle(Paint.Style.STROKE); 88 canvas.drawRect(mRect, mPaint);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
CircleView.java | 34 private final Paint mPaint = new Paint(); 53 mPaint.setAntiAlias(true); 115 mPaint.setColor(mCircleColor); 116 canvas.drawCircle(mXCenter, mYCenter, mCircleRadius, mPaint); 119 mPaint.setColor(mDotColor); 120 canvas.drawCircle(mXCenter, mYCenter, 2, mPaint);
|
/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/ |
SpringView.java | 29 final Paint mPaint = new Paint(); 35 mPaint.setColor(context.getResources().getColor(R.color.springColor)); 36 mPaint.setStrokeWidth(10); 60 canvas.drawLine(x, 0, x + sectionWidth / 2, sectionHeight / 2, mPaint); 64 canvas.drawLine(lastX, lastY, 2 * x - lastX, lastY + sectionHeight, mPaint); 68 canvas.drawLine(lastX, lastY, x, mLastHeight, mPaint);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
ColorFilterDimmer.java | 35 private final Paint mPaint; 81 mPaint = new Paint(); 93 view.setLayerType(View.LAYER_TYPE_HARDWARE, mPaint); 114 mPaint.setColorFilter(mFilter); 132 return 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);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FastBitmapDrawable.java | 32 private final Paint mPaint = new Paint(Paint.FILTER_BITMAP_FLAG); 49 canvas.drawBitmap(mBitmap, null, r, mPaint); 54 mPaint.setColorFilter(cf); 65 mPaint.setAlpha(alpha); 69 mPaint.setFilterBitmap(filterBitmap);
|
DragView.java | 40 private Paint mPaint; 120 mPaint = new Paint(Paint.FILTER_BITMAP_FLAG); 187 mPaint.setAlpha(alpha); 189 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, mPaint); 191 mPaint.setAlpha((int) (255 * mCrossFadeProgress)); 196 canvas.drawBitmap(mCrossFadeBitmap, 0.0f, 0.0f, mPaint); 219 if (mPaint == null) { 220 mPaint = new Paint(Paint.FILTER_BITMAP_FLAG); 223 mPaint.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP)); 225 mPaint.setColorFilter(null) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
FastScrollThumbDrawable.java | 34 private final Paint mPaint; 38 mPaint = paint; 72 canvas.drawPath(mPath, mPaint);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryActiveView.java | 27 private final Paint mPaint = new Paint(); 65 mPaint.setColor(color); 67 mPaint);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
DvrSchedulesFocusView.java | 33 private final Paint mPaint; 54 mPaint = createPaint(context); 68 canvas.drawRoundRect(mRoundRectF, mRoundRectRadius, mRoundRectRadius, mPaint);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiCategoryPageIndicatorView.java | 27 private final Paint mPaint = new Paint(); 42 mPaint.setColor(foregroundColor); 68 canvas.drawRect(left, top, right, bottom, mPaint);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
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...] |
MeasureText.java | 51 private Paint mPaint; 59 mPaint = new Paint(); 60 mPaint.setAntiAlias(true); 61 mPaint.setStrokeWidth(5); 62 mPaint.setStrokeCap(Paint.Cap.ROUND); 63 mPaint.setTextSize(64); 64 mPaint.setTypeface(Typeface.create(Typeface.SERIF, 69 // mPaint.setTextAlign(align); 74 int count = mPaint.getTextWidths(text, 0, text.length(), widths); 75 float w = mPaint.measureText(text, 0, text.length()) [all...] |
ColorFilters.java | 41 private Paint mPaint; 82 mPaint = new Paint(); 83 mPaint.setAntiAlias(true); 84 mPaint.setTextSize(16); 85 mPaint.setTextAlign(Paint.Align.CENTER); 87 mPaint2 = new Paint(mPaint); 90 Paint.FontMetrics fm = mPaint.getFontMetrics(); 113 if (mPaint.getColor() == 0xFF000000) { 114 mPaint.setColor(0xFFFFFFFF); 117 mPaint.setColor(0xFF000000) [all...] |
ColorMatrixSample.java | 35 private Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 86 Paint paint = mPaint;
|
CreateBitmap.java | 57 private Paint mPaint; 95 mPaint = new Paint(); 96 mPaint.setDither(true); 122 false, mPaint);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
CircleFramedDrawable.java | 44 private final Paint mPaint; 78 mPaint = new Paint(); 79 mPaint.setAntiAlias(true); 80 mPaint.setColor(Color.BLACK); 81 mPaint.setStyle(Paint.Style.FILL); 82 canvas.drawPath(fillPath, mPaint); 85 mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_IN)); 86 canvas.drawBitmap(icon, cropRect, circleRect, mPaint); 89 mPaint.setXfermode(null);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ViewLayersActivity5.java | 39 private final Paint mPaint = new Paint(); 86 mPaint.setColorFilter(new PorterDuffColorFilter(0xff00ff00, PorterDuff.Mode.MULTIPLY)); 98 findViewById(R.id.container).setLayerType(View.LAYER_TYPE_HARDWARE, mPaint);
|
/packages/apps/EmergencyInfo/src/com/android/emergency/ |
CircleFramedDrawable.java | 41 private final Paint mPaint; 75 mPaint = new Paint(); 76 mPaint.setAntiAlias(true); 77 mPaint.setColor(Color.BLACK); 78 mPaint.setStyle(Paint.Style.FILL); 79 canvas.drawPath(fillPath, mPaint); 82 mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_IN)); 83 canvas.drawBitmap(icon, cropRect, circleRect, mPaint); 86 mPaint.setXfermode(null);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
CategoryView.java | 39 private Paint mPaint = new Paint(); 90 mPaint.reset(); 91 mPaint.setAntiAlias(true); 92 mPaint.setColor(mSpacerColor); 94 canvas.drawCircle(getWidth() / 2, getHeight() / 2, getHeight() / 5, mPaint); 96 canvas.drawCircle(getWidth() / 2, getHeight() / 2, getWidth() / 5, mPaint);
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
FocusIndicatorHelper.java | 78 private final Paint mPaint; 100 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 103 mPaint.setColor(0xFF000000 | color); 111 mPaint.setAlpha((int) (mAlpha * mMaxAlpha)); 136 c.drawRect(mDirtyRect, mPaint);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
StateView.java | 36 private Paint mPaint = new Paint(); 115 mPaint.reset(); 117 mPaint.setColor(mSelectedTextColor); 119 mPaint.setColor(mTextColor); 122 mPaint.setColor(mEndsTextColor); 124 mPaint.setTypeface(Typeface.DEFAULT_BOLD); 125 mPaint.setAntiAlias(true); 126 mPaint.setTextSize(mTextSize); 127 mPaint.getTextBounds(mText, 0, mText.length(), mTextBounds); 130 canvas.drawText(mText, x, y, mPaint); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
WaveScopeView.java | 30 private final Paint mPaint = new Paint(); 133 cvs.drawLines(mPointsBuffer, mPaint); 162 cvs.drawLines(mPointsBuffer, mPaint); 168 mPaint.setColor(mBackgroundColor); 169 canvas.drawRect(0, 0, getWidth(), height, mPaint); 171 mPaint.setColor(mTraceColor);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ShapeHolder.java | 34 private Paint mPaint; 37 mPaint = value; 41 return mPaint;
|
/cts/tests/tests/view/src/android/view/cts/ |
PixelCopyViewProducerActivity.java | 127 private Paint mPaint = new Paint(); 143 mPaint.setColor(Color.RED); 144 canvas.drawRect(mRect, mPaint); 147 mPaint.setColor(Color.GREEN); 148 canvas.drawRect(mRect, mPaint); 151 mPaint.setColor(Color.BLUE); 152 canvas.drawRect(mRect, mPaint); 155 mPaint.setColor(Color.BLACK); 156 canvas.drawRect(mRect, mPaint);
|