Searched refs:mDrawPaint (Results 1 – 4 of 4) sorted by relevance
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ShadowGenerator.java | 51 private final Paint mDrawPaint; field in ShadowGenerator 57 mDrawPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.FILTER_BITMAP_FLAG); in ShadowGenerator() 68 mDrawPaint.setAlpha(AMBIENT_SHADOW_ALPHA); in drawShadow() 69 out.drawBitmap(shadow, offset[0], offset[1], mDrawPaint); in drawShadow() 72 mDrawPaint.setAlpha(KEY_SHADOW_ALPHA); in drawShadow() 74 mDrawPaint); in drawShadow() 81 mDrawPaint.setMaskFilter(mDefaultBlurMaskFilter); in addPathShadow() 84 mDrawPaint.setAlpha(AMBIENT_SHADOW_ALPHA); in addPathShadow() 85 out.drawPath(path, mDrawPaint); in addPathShadow() 89 mDrawPaint.setAlpha(KEY_SHADOW_ALPHA); in addPathShadow() [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 | 86 private final Paint mDrawPaint = new Paint(); field in PasswordTextView 129 mDrawPaint.setColor(mDrawColor); in PasswordTextView() 135 mDrawPaint.setFlags(Paint.SUBPIXEL_TEXT_FLAG | Paint.ANTI_ALIAS_FLAG); in PasswordTextView() 136 mDrawPaint.setTextAlign(Paint.Align.CENTER); in PasswordTextView() 137 mDrawPaint.setTypeface(Typeface.create( in PasswordTextView() 270 mDrawPaint.setColor(mDrawColor); in reloadColors() 284 mDrawPaint.setTextSize(textHeight); in getCharBounds() 286 mDrawPaint.getTextBounds("0", 0, 1, bounds); in getCharBounds() 647 canvas.drawText(Character.toString(whichChar), 0, 0, mDrawPaint); in draw() local 654 canvas.drawCircle(0, 0, mDotSize / 2 * currentDotSizeFactor, mDrawPaint); in draw()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 670 private Paint mDrawPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.FILTER_BITMAP_FLAG); field in SimpleIconFactory 684 mDrawPaint.setAlpha(ambientAlpha); in recreateIcon() 685 out.drawBitmap(shadow, offset[0], offset[1], mDrawPaint); in recreateIcon() 688 mDrawPaint.setAlpha(keyAlpha); in recreateIcon() 690 mDrawPaint); in recreateIcon() 693 mDrawPaint.setAlpha(255); // TODO if b/128609682 not fixed by launch use .setAlpha(254) in recreateIcon() 694 out.drawBitmap(icon, 0, 0, mDrawPaint); in recreateIcon()
|