Searched refs:mDrawPaint (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskViewThumbnail.java | 78 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/ |
D | CalendarViewLegacyDelegate.java | 1170 private final Paint mDrawPaint = new Paint(); field in CalendarViewLegacyDelegate.WeekView 1296 mDrawPaint.setFakeBoldText(false); in initializePaints() 1297 mDrawPaint.setAntiAlias(true); in initializePaints() 1298 mDrawPaint.setStyle(Paint.Style.FILL); in initializePaints() 1418 mDrawPaint.setColor(mSelectedWeekBackgroundColor); in drawBackground() 1432 canvas.drawRect(mTempRect, mDrawPaint); in drawBackground() 1441 canvas.drawRect(mTempRect, mDrawPaint); in drawBackground() 1450 final float textHeight = mDrawPaint.getTextSize(); in drawWeekNumbersAndDates() 1455 mDrawPaint.setTextAlign(Paint.Align.CENTER); in drawWeekNumbersAndDates() 1456 mDrawPaint.setTextSize(mDateTextSize); in drawWeekNumbersAndDates() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 97 private final Paint mDrawPaint = new Paint(); field in PasswordTextView 135 mDrawPaint.setColor(textColor); in PasswordTextView() 139 mDrawPaint.setFlags(Paint.SUBPIXEL_TEXT_FLAG | Paint.ANTI_ALIAS_FLAG); in PasswordTextView() 140 mDrawPaint.setTextAlign(Paint.Align.CENTER); in PasswordTextView() 141 mDrawPaint.setTypeface(Typeface.create( in PasswordTextView() 192 mDrawPaint.setTextSize(textHeight); in getCharBounds() 194 mDrawPaint.getTextBounds("0", 0, 1, bounds); in getCharBounds() 701 canvas.drawText(Character.toString(whichChar), 0, 0, mDrawPaint); in draw() local 708 canvas.drawCircle(0, 0, mDotSize / 2 * currentDotSizeFactor, mDrawPaint); in draw()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 592 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()
|