question: private void initPaints ( Resources res ) { final String monthTypeface = res . getString ( R . string . sp_date_picker_month_typeface ) ; final String dayOfWeekTypeface = res . getString ( R . string . sp_date_picker_day_of_week_typeface ) ; final String dayTypeface = res . getString ( R . string . sp_date_picker_day_typeface ) ; final int monthTextSize = res . getDimensionPixelSize ( R . dimen . sp_date_picker_month_text_size ) ; final int dayOfWeekTextSize = res . getDimensionPixelSize ( R . dimen . sp_date_picker_day_of_week_text_size ) ; final int dayTextSize = res . getDimensionPixelSize ( R . dimen . sp_date_picker_day_text_size ) ; mMonthPaint . setAntiAlias ( true ) ; mMonthPaint . setTextSize ( monthTextSize ) ; mMonthPaint . setTypeface ( Typeface . create ( monthTypeface , 0 ) ) ; mMonthPaint . setTextAlign ( Paint . Align . CENTER ) ; mMonthPaint . setStyle ( Paint . Style . FILL ) ; mDayOfWeekPaint . setAntiAlias ( true ) ; mDayOfWeekPaint . setTextSize ( dayOfWeekTextSize ) ; mDayOfWeekPaint . setTypeface ( Typeface . create ( dayOfWeekTypeface , 0 ) ) ; mDayOfWeekPaint . setTextAlign ( Paint . Align . CENTER ) ; mDayOfWeekPaint . setStyle ( Paint . Style . FILL ) ; mDaySelectorPaint . setAntiAlias ( true ) ; mDaySelectorPaint . setStyle ( Paint . Style . FILL ) ; mDayHighlightPaint . setAntiAlias ( true ) ; mDayHighlightPaint . setStyle ( Paint . Style . FILL ) ; mDayRangeSelectorPaint . setAntiAlias ( true ) ; mDayRangeSelectorPaint . setStyle ( Paint . Style . FILL ) ; mDayPaint . setAntiAlias ( true ) ; mDayPaint . setTextSize ( dayTextSize ) ; mDayPaint . setTypeface ( Typeface . create ( dayTypeface , 0 ) ) ; mDayPaint . setTextAlign ( Paint . Align . CENTER ) ; mDayPaint . setStyle ( Paint . Style . FILL ) ; }
target:  Sets up the text and style properties for painting.