/packages/apps/Contacts/src/com/android/contacts/lettertiles/ |
LetterTileDrawable.java | 45 private final Paint mPaint; 95 mPaint = new Paint(); 96 mPaint.setFilterBitmap(true); 97 mPaint.setDither(true); 142 sPaint.setAlpha(mPaint.getAlpha()); 215 mPaint.setAlpha(alpha); 220 mPaint.setColorFilter(cf);
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
CheckableContactFlipDrawable.java | 140 private final Paint mPaint; 152 mPaint = new Paint(); 153 mPaint.setAntiAlias(true); 154 mPaint.setFilterBitmap(true); 155 mPaint.setColor(sBackgroundColor); 165 canvas.drawCircle(bounds.centerX(), bounds.centerY(), bounds.width() / 2, mPaint); 175 final int oldAlpha = mPaint.getAlpha(); 177 mPaint.setAlpha((int) (oldAlpha * mAlphaFraction)); 178 canvas.drawBitmap(CHECKMARK, sMatrix, mPaint); 180 mPaint.setAlpha(oldAlpha) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
TouchPaint.java | 236 private final Paint mPaint = new Paint(); 259 mPaint.setAntiAlias(true); 267 mPaint.setColor(BACKGROUND_COLOR); 268 mCanvas.drawPaint(mPaint); 288 mPaint.setColor(COLORS[mColorIndex]); 289 mPaint.setAlpha(255); 291 mPaint.setTextSize(size); 293 mPaint.getTextBounds(text, 0, text.length(), bounds); 298 mPaint.setTextSize(size); 299 mPaint.getTextBounds(text, 0, text.length(), bounds) [all...] |
ColorPickerDialog.java | 36 private Paint mPaint; 50 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 51 mPaint.setShader(s); 52 mPaint.setStyle(Paint.Style.STROKE); 53 mPaint.setStrokeWidth(32); 65 float r = CENTER_X - mPaint.getStrokeWidth()*0.5f; 69 canvas.drawOval(new RectF(-r, -r, r, r), mPaint);
|
Compass.java | 80 private Paint mPaint = new Paint(); 96 Paint paint = mPaint; 113 canvas.drawPath(mPath, mPaint);
|
ScaleToFit.java | 33 private final Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 77 mPaint.setColor(sSrcData[index*3 + 2]); 78 canvas.drawOval(mSrcR, mPaint);
|
SensorTest.java | 162 private Paint mPaint = new Paint(); 179 Paint paint = mPaint; 196 canvas.drawPath(mPath, mPaint);
|
TextAlign.java | 33 private Paint mPaint; 71 mPaint = new Paint(); 72 mPaint.setAntiAlias(true); 73 mPaint.setTextSize(30); 74 mPaint.setTypeface(Typeface.SERIF); 76 mPos = buildTextPositions(POSTEXT, 0, mPaint); 90 Paint p = mPaint;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
UserIconDrawable.java | 51 private final Paint mPaint = new Paint(); 104 mPaint.setFilterBitmap(true); 105 mPaint.setAntiAlias(true); 240 mPaint.setColorFilter(null); 243 if (mPaint.getColorFilter() == null) { 244 mPaint.setColorFilter(new PorterDuffColorFilter(color, mTintMode)); 246 ((PorterDuffColorFilter) mPaint.getColorFilter()).setMode(mTintMode); 247 ((PorterDuffColorFilter) mPaint.getColorFilter()).setColor(color); 251 canvas.drawBitmap(mBitmap, 0, 0, mPaint); 257 mPaint.setAlpha(alpha) [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/lettertiles/ |
LetterTileDrawable.java | 90 private final Paint mPaint = new Paint(); 131 mPaint.setTypeface( 133 mPaint.setTextAlign(Align.CENTER); 134 mPaint.setAntiAlias(true); 135 mPaint.setFilterBitmap(true); 136 mPaint.setDither(true); 200 mPaint.setColor(mColor); 206 canvas.drawCircle(bounds.centerX(), bounds.centerY(), minDimension / 2, mPaint); 208 canvas.drawRect(bounds, mPaint); 217 mPaint.setTextSize(mScale * mLetterToTileRatio * minDimension) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageCrop.java | 43 private Paint mPaint = new Paint(); 304 mPaint.reset(); 305 mPaint.setAntiAlias(true); 306 mPaint.setFilterBitmap(true); 307 canvas.drawBitmap(bitmap, mDisplayMatrix, mPaint);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 49 private Paint mPaint; 55 mPaint = new Paint(); 66 mPaint.setShader(shader); 67 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); 76 mPaint.setShader(shader); 77 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); 88 mPaint.setShader(shader); 89 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DraggableDot.java | 41 private Paint mPaint; 91 mPaint = new Paint(); 92 mPaint.setAntiAlias(true); 93 mPaint.setStrokeWidth(6); 94 mPaint.setColor(0xFFD00000); 154 canvas.drawCircle(cx, cy, rad, mPaint);
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheel.java | 44 private Paint mPaint; 63 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 64 mPaint.setShader(s); 65 mPaint.setStyle(Paint.Style.STROKE); 66 mPaint.setStrokeWidth(32); 81 float r = CENTER_X - mPaint.getStrokeWidth()*0.5f; 85 canvas.drawOval(new RectF(-r, -r, r, r), mPaint);
|
/frameworks/base/core/java/android/util/ |
LauncherIcons.java | 148 canvas.drawBitmap(mState.mShadow, null, bounds, mState.mPaint); 164 final Paint mPaint = new Paint(Paint.FILTER_BITMAP_FLAG);
|
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/ |
GradientDrawable.java | 53 private final Paint mPaint; 66 mPaint = new Paint(); 67 mPaint.setStyle(Paint.Style.FILL); 123 mPaint.setAlpha(mAlpha); 135 mPaint.setXfermode(mode); 141 mPaint.setColorFilter(colorFilter); 146 return mPaint.getColorFilter(); 179 mPaint.setShader(radialGradient); 197 canvas.drawRect(x - radius, y - radius, x + radius, y + radius, mPaint);
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
GraphicsPerformanceTests.java | 82 protected Paint mPaint; 93 mPaint = new Paint(); 183 mCanvas.drawBitmap(mBitmap, 0.0f, 0.0f, mPaint); 189 mCanvas.drawBitmap(mBitmap, 1.0f, 0.0f, mPaint);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ColorDrawable.java | 49 private final Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 105 final ColorFilter colorFilter = mPaint.getColorFilter(); 108 mPaint.setColorFilter(mTintFilter); 111 mPaint.setColor(mColorState.mUseColor); 112 canvas.drawRect(getBounds(), mPaint); 115 mPaint.setColorFilter(colorFilter); 180 mPaint.setColorFilter(colorFilter); 224 mPaint.setXfermode(mode); 234 return mPaint.getXfermode(); 239 if (mTintFilter != null || mPaint.getColorFilter() != null) [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
RedEyeFilter.java | 51 private final Paint mPaint = new Paint(); 159 mPaint.setColor(Color.WHITE); 164 mRadius, mPaint);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
AssistDisclosure.java | 104 private final Paint mPaint = new Paint(); 148 mPaint.setColor(Color.WHITE); 149 mPaint.setXfermode(srcMode); 181 mPaint.setAlpha(mAlpha); 185 drawGeometry(canvas, mPaint, 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
PageIndicator.java | 55 private Paint mPaint; 70 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 71 mPaint.setStyle(Paint.Style.FILL); 111 mPaint.setColor(SELECTED_COLOR); 113 mPaint.setColor(UNSELECTED_COLOR); 116 canvas.drawCircle(x, y, mRadius, mPaint);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
IconUtilities.java | 50 private final Paint mPaint = new Paint(); 185 dest.drawBitmap(src, 0, 0, mPaint);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GradientsActivity.java | 92 private final Paint mPaint; 100 mPaint = new Paint(); 101 mPaint.setShader(shader); 113 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint); 118 private final Paint mPaint; 125 mPaint = new Paint(); 126 mPaint.setShader(gradient); 138 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint); 143 private final Paint mPaint; 150 mPaint = new Paint() [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
BidiRenderer.java | 60 private final Paint_Delegate mPaint; 74 mPaint = paint; 130 for (ScriptRun run : getScriptRuns(mText, start, limit, mPaint.getFonts())) { 146 if (mPaint.getFonts().size() == 0 || preferredFont == null) { 168 List<FontInfo> fontInfos = mPaint.getFonts(); 220 if (mPaint.isAntiAliased() &&
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
TileDrawable.java | 37 private final Paint mPaint = new Paint(); 94 if (!isVisible() && mPaint.getAlpha() == 0) { 97 final int alpha = mPaint.getAlpha(); 98 mPaint.setColor(mOpts.backgroundColor); 99 mPaint.setAlpha(alpha); 100 canvas.drawRect(getBounds(), mPaint); 106 final int old = mPaint.getAlpha(); 107 mPaint.setAlpha(alpha); 116 mPaint.setColorFilter(cf); 126 return mPaint.getAlpha() [all...] |