Lines Matching full:paint
24 import android.graphics.Paint;
201 Paint paint = new Paint();
202 paint.setAntiAlias(true);
245 float th = paint.getTextSize();
249 paint.setARGB((int) (textAlpha * 255.0f),
254 tw = paint.measureText(cityName);
264 canvas.drawText(cityName, cx - tw / 2, cy - radius - th, paint);
267 cx - tw / 2 + 1, cy - radius - th, paint);
269 tw = paint.measureText(time);
271 canvas.drawText(time, cx - tw / 2, cy + radius + th + 5, paint);
274 paint.setARGB((int)(alpha * 255.0f),
279 paint.setStyle(Paint.Style.FILL);
280 canvas.drawOval(new RectF(cx - 2, cy - 2, cx + 2, cy + 2), paint);
282 paint.setStyle(Paint.Style.STROKE);
283 paint.setStrokeWidth(radius * 0.12f);
287 paint);
329 paint.setStyle(Paint.Style.FILL);
330 canvas.drawPath(path, paint);