Home
last modified time | relevance | path

Searched refs:mDrawPaint (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java78 private Paint mDrawPaint = new Paint(); field in TaskViewThumbnail
110 mDrawPaint.setColorFilter(mLightingColorFilter); in TaskViewThumbnail()
111 mDrawPaint.setFilterBitmap(true); in TaskViewThumbnail()
112 mDrawPaint.setAntiAlias(true); in TaskViewThumbnail()
173 mCornerRadius, mCornerRadius, mDrawPaint); in onDraw()
187 mDrawPaint.setShader(mBitmapShader); in setThumbnail()
196 mDrawPaint.setShader(null); in setThumbnail()
222 mDrawPaint.setColorFilter(filter); in updateThumbnailPaintFilter()
227 mDrawPaint.setColorFilter(mLightingColorFilter); in updateThumbnailPaintFilter()
228 mDrawPaint.setColor(0xFFffffff); in updateThumbnailPaintFilter()
[all …]
/frameworks/base/core/java/android/widget/
DCalendarViewLegacyDelegate.java1172 private final Paint mDrawPaint = new Paint(); field in CalendarViewLegacyDelegate.WeekView
1298 mDrawPaint.setFakeBoldText(false); in initializePaints()
1299 mDrawPaint.setAntiAlias(true); in initializePaints()
1300 mDrawPaint.setStyle(Paint.Style.FILL); in initializePaints()
1420 mDrawPaint.setColor(mSelectedWeekBackgroundColor); in drawBackground()
1434 canvas.drawRect(mTempRect, mDrawPaint); in drawBackground()
1443 canvas.drawRect(mTempRect, mDrawPaint); in drawBackground()
1452 final float textHeight = mDrawPaint.getTextSize(); in drawWeekNumbersAndDates()
1457 mDrawPaint.setTextAlign(Paint.Align.CENTER); in drawWeekNumbersAndDates()
1458 mDrawPaint.setTextSize(mDateTextSize); in drawWeekNumbersAndDates()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java95 private final Paint mDrawPaint = new Paint(); field in PasswordTextView
133 mDrawPaint.setColor(textColor); in PasswordTextView()
137 mDrawPaint.setFlags(Paint.SUBPIXEL_TEXT_FLAG | Paint.ANTI_ALIAS_FLAG); in PasswordTextView()
138 mDrawPaint.setTextAlign(Paint.Align.CENTER); in PasswordTextView()
139 mDrawPaint.setTypeface(Typeface.create( in PasswordTextView()
190 mDrawPaint.setTextSize(textHeight); in getCharBounds()
192 mDrawPaint.getTextBounds("0", 0, 1, bounds); in getCharBounds()
699 canvas.drawText(Character.toString(whichChar), 0, 0, mDrawPaint); in draw() local
706 canvas.drawCircle(0, 0, mDotSize / 2 * currentDotSizeFactor, mDrawPaint); in draw()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java592 private Paint mDrawPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.FILTER_BITMAP_FLAG); field in SimpleIconFactory
606 mDrawPaint.setAlpha(ambientAlpha); in recreateIcon()
607 out.drawBitmap(shadow, offset[0], offset[1], mDrawPaint); in recreateIcon()
610 mDrawPaint.setAlpha(keyAlpha); in recreateIcon()
612 mDrawPaint); in recreateIcon()
615 mDrawPaint.setAlpha(255); // TODO if b/128609682 not fixed by launch use .setAlpha(254) in recreateIcon()
616 out.drawBitmap(icon, 0, 0, mDrawPaint); in recreateIcon()