Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java48 private PointerCoords mCoords = new PointerCoords(); field in PointerLocationView.PointerState
213 .append("X: ").append(ps.mCoords.x, 1) in onDraw()
217 .append("Y: ").append(ps.mCoords.y, 1) in onDraw()
247 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1, in onDraw()
250 .append("Prs: ").append(ps.mCoords.pressure, 2) in onDraw()
254 canvas.drawRect(itemW * 6, 0, (itemW * 6) + (ps.mCoords.size * itemW) - 1, in onDraw()
257 .append("Size: ").append(ps.mCoords.size, 2) in onDraw()
310 canvas.drawLine(0, ps.mCoords.y, getWidth(), ps.mCoords.y, mTargetPaint); in onDraw()
311 canvas.drawLine(ps.mCoords.x, 0, ps.mCoords.x, getHeight(), mTargetPaint); in onDraw()
314 int pressureLevel = (int)(ps.mCoords.pressure * 255); in onDraw()
[all …]