Home
last modified time | relevance | path

Searched refs:mMonthNumPaint (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java115 protected Paint mMonthNumPaint; field in SimpleWeekView
324 mMonthNumPaint = new Paint(); in initView()
325 mMonthNumPaint.setFakeBoldText(true); in initView()
326 mMonthNumPaint.setAntiAlias(true); in initView()
327 mMonthNumPaint.setTextSize(MINI_DAY_NUMBER_TEXT_SIZE); in initView()
328 mMonthNumPaint.setColor(mFocusMonthColor); in initView()
329 mMonthNumPaint.setStyle(Style.FILL); in initView()
330 mMonthNumPaint.setTextAlign(Align.CENTER); in initView()
447 mMonthNumPaint.setColor(isFocusMonth ? mFocusMonthColor : mOtherMonthColor); in drawWeekNums()
448 mMonthNumPaint.setFakeBoldText(false); in drawWeekNums()
[all …]
DMonthWeekEventsView.java398 mMonthNumPaint = new Paint(); in initView()
399 mMonthNumPaint.setFakeBoldText(false); in initView()
400 mMonthNumPaint.setAntiAlias(true); in initView()
401 mMonthNumPaint.setTextSize(TEXT_SIZE_MONTH_NUMBER); in initView()
402 mMonthNumPaint.setColor(mMonthNumColor); in initView()
403 mMonthNumPaint.setStyle(Style.FILL); in initView()
404 mMonthNumPaint.setTextAlign(Align.RIGHT); in initView()
405 mMonthNumPaint.setTypeface(Typeface.DEFAULT); in initView()
407 mMonthNumAscentHeight = (int) (-mMonthNumPaint.ascent() + 0.5f); in initView()
408 mMonthNumHeight = (int) (mMonthNumPaint.descent() - mMonthNumPaint.ascent() + 0.5f); in initView()
[all …]