Home
last modified time | relevance | path

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

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DShadowGenerator.java47 private final Paint mDrawPaint; field in ShadowGenerator
53 mDrawPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.FILTER_BITMAP_FLAG); in ShadowGenerator()
68 mDrawPaint.setAlpha(ambientAlpha); in recreateIcon()
69 out.drawBitmap(shadow, offset[0], offset[1], mDrawPaint); in recreateIcon()
72 mDrawPaint.setAlpha(keyAlpha); in recreateIcon()
73 out.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconSize, mDrawPaint); in recreateIcon()
76 mDrawPaint.setAlpha(255); in recreateIcon()
77 out.drawBitmap(icon, 0, 0, mDrawPaint); in recreateIcon()
/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.java97 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()
194 mDrawPaint.setTextSize(textHeight); in getCharBounds()
196 mDrawPaint.getTextBounds("0", 0, 1, bounds); in getCharBounds()
703 canvas.drawText(Character.toString(whichChar), 0, 0, mDrawPaint); in draw() local
710 canvas.drawCircle(0, 0, mDotSize / 2 * currentDotSizeFactor, mDrawPaint); in draw()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java657 private Paint mDrawPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.FILTER_BITMAP_FLAG); field in SimpleIconFactory
671 mDrawPaint.setAlpha(ambientAlpha); in recreateIcon()
672 out.drawBitmap(shadow, offset[0], offset[1], mDrawPaint); in recreateIcon()
675 mDrawPaint.setAlpha(keyAlpha); in recreateIcon()
677 mDrawPaint); in recreateIcon()
680 mDrawPaint.setAlpha(255); // TODO if b/128609682 not fixed by launch use .setAlpha(254) in recreateIcon()
681 out.drawBitmap(icon, 0, 0, mDrawPaint); in recreateIcon()