Lines Matching defs:mCoords

58         private PointerCoords mCoords = new PointerCoords();
244 .append("X: ").append(ps.mCoords.x, 1)
248 .append("Y: ").append(ps.mCoords.y, 1)
278 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1,
281 .append("Prs: ").append(ps.mCoords.pressure, 2)
285 canvas.drawRect(itemW * 6, 0, (itemW * 6) + (ps.mCoords.size * itemW) - 1,
288 .append("Size: ").append(ps.mCoords.size, 2)
361 canvas.drawLine(0, ps.mCoords.y, getWidth(), ps.mCoords.y, mTargetPaint);
362 canvas.drawLine(ps.mCoords.x, 0, ps.mCoords.x, getHeight(), mTargetPaint);
365 int pressureLevel = (int)(ps.mCoords.pressure * 255);
367 canvas.drawPoint(ps.mCoords.x, ps.mCoords.y, mPaint);
371 drawOval(canvas, ps.mCoords.x, ps.mCoords.y, ps.mCoords.touchMajor,
372 ps.mCoords.touchMinor, ps.mCoords.orientation, mPaint);
376 drawOval(canvas, ps.mCoords.x, ps.mCoords.y, ps.mCoords.toolMajor,
377 ps.mCoords.toolMinor, ps.mCoords.orientation, mPaint);
380 float arrowSize = ps.mCoords.toolMajor * 0.7f;
385 float orientationVectorX = (float) (Math.sin(ps.mCoords.orientation)
387 float orientationVectorY = (float) (-Math.cos(ps.mCoords.orientation)
392 canvas.drawLine(ps.mCoords.x, ps.mCoords.y,
393 ps.mCoords.x + orientationVectorX,
394 ps.mCoords.y + orientationVectorY,
399 ps.mCoords.x - orientationVectorX,
400 ps.mCoords.y - orientationVectorY,
401 ps.mCoords.x + orientationVectorX,
402 ps.mCoords.y + orientationVectorY,
408 ps.mCoords.getAxisValue(MotionEvent.AXIS_TILT));
410 ps.mCoords.x + orientationVectorX * tiltScale,
411 ps.mCoords.y + orientationVectorY * tiltScale,
587 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords;
600 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords;