Lines Matching refs:pt
375 Paint pt) { in drawVector() argument
384 canvas.drawLine(0,0, 0, mag, pt); in drawVector()
385 canvas.drawLine(0, mag, -4, mag-4, pt); in drawVector()
386 canvas.drawLine(0, mag, 4, mag-4, pt); in drawVector()
395 Paint pt = new Paint(Paint.ANTI_ALIAS_FLAG); in onDraw() local
396 pt.setColor(0xFFCC0000); in onDraw()
397 pt.setTextSize(30f); in onDraw()
398 pt.setStrokeWidth(1.0f); in onDraw()
404 pt.setStyle(Paint.Style.FILL); in onDraw()
405 canvas.drawText("#"+id, x+38, y-38, pt); in onDraw()
406 pt.setStyle(Paint.Style.STROKE); in onDraw()
407 canvas.drawLine(x-40, y, x+40, y, pt); in onDraw()
408 canvas.drawLine(x, y-40, x, y+40, pt); in onDraw()
409 canvas.drawCircle(x, y, 40, pt); in onDraw()
411 pt.setStyle(Paint.Style.STROKE); in onDraw()
416 pt.setColor(0xFF6699FF); in onDraw()
418 canvas.drawOval(bounds, pt); in onDraw()
420 pt.setStrokeWidth(3); in onDraw()
421 drawVector(canvas, x, y, mBody.v.x/100, mBody.v.y/100, pt); in onDraw()
423 pt.setColor(0xFF0033FF); in onDraw()
425 drawVector(canvas, x, y, f.x/1000, f.y/1000, pt); in onDraw()