Home
last modified time | relevance | path

Searched refs:createTextPaint (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DFitStepsWatchFaceService.java211 mHourPaint = createTextPaint(TEXT_HOURS_MINS_COLOR, BOLD_TYPEFACE); in onCreate()
212 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); in onCreate()
213 mSecondPaint = createTextPaint(TEXT_SECONDS_COLOR); in onCreate()
214 mAmPmPaint = createTextPaint(TEXT_AM_PM_COLOR); in onCreate()
215 mColonPaint = createTextPaint(TEXT_COLON_COLOR); in onCreate()
216 mStepCountPaint = createTextPaint(TEXT_STEP_COUNT_COLOR); in onCreate()
228 private Paint createTextPaint(int color) { in createTextPaint() method in FitStepsWatchFaceService.Engine
229 return createTextPaint(color, NORMAL_TYPEFACE); in createTextPaint()
232 private Paint createTextPaint(int color, Typeface typeface) { in createTextPaint() method in FitStepsWatchFaceService.Engine
DFitDistanceWatchFaceService.java214 mHourPaint = createTextPaint(TEXT_HOURS_MINS_COLOR, BOLD_TYPEFACE); in onCreate()
215 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); in onCreate()
216 mSecondPaint = createTextPaint(TEXT_SECONDS_COLOR); in onCreate()
217 mAmPmPaint = createTextPaint(TEXT_AM_PM_COLOR); in onCreate()
218 mColonPaint = createTextPaint(TEXT_COLON_COLOR); in onCreate()
219 mDistanceCountPaint = createTextPaint(TEXT_DISTANCE_COUNT_COLOR); in onCreate()
231 private Paint createTextPaint(int color) { in createTextPaint() method in FitDistanceWatchFaceService.Engine
232 return createTextPaint(color, NORMAL_TYPEFACE); in createTextPaint()
235 private Paint createTextPaint(int color, Typeface typeface) { in createTextPaint() method in FitDistanceWatchFaceService.Engine
DDigitalWatchFaceService.java204 mDatePaint = createTextPaint( in onCreate()
206 mHourPaint = createTextPaint(mInteractiveHourDigitsColor, BOLD_TYPEFACE); in onCreate()
207 mMinutePaint = createTextPaint(mInteractiveMinuteDigitsColor); in onCreate()
208 mSecondPaint = createTextPaint(mInteractiveSecondDigitsColor); in onCreate()
209 mAmPmPaint = createTextPaint( in onCreate()
211 mColonPaint = createTextPaint( in onCreate()
225 private Paint createTextPaint(int defaultInteractiveColor) { in createTextPaint() method in DigitalWatchFaceService.Engine
226 return createTextPaint(defaultInteractiveColor, NORMAL_TYPEFACE); in createTextPaint()
229 private Paint createTextPaint(int defaultInteractiveColor, Typeface typeface) { in createTextPaint() method in DigitalWatchFaceService.Engine