Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java58 private PointerCoords mCoords = new PointerCoords(); field in PointerLocationView.PointerState
244 .append("X: ").append(ps.mCoords.x, 1) in onDraw()
248 .append("Y: ").append(ps.mCoords.y, 1) in onDraw()
278 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1, in onDraw()
281 .append("Prs: ").append(ps.mCoords.pressure, 2) in onDraw()
285 canvas.drawRect(itemW * 6, 0, (itemW * 6) + (ps.mCoords.size * itemW) - 1, in onDraw()
288 .append("Size: ").append(ps.mCoords.size, 2) in onDraw()
361 canvas.drawLine(0, ps.mCoords.y, getWidth(), ps.mCoords.y, mTargetPaint); in onDraw()
362 canvas.drawLine(ps.mCoords.x, 0, ps.mCoords.x, getHeight(), mTargetPaint); in onDraw()
365 int pressureLevel = (int)(ps.mCoords.pressure * 255); in onDraw()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java137 private final int[] mCoords = new int[2]; field in RecipientEditTextView
613 mDropdownAnchor.getLocationOnScreen(mCoords); in setAdapter()
615 setDropDownHeight(mRect.bottom - mCoords[1] - mDropdownAnchor.getHeight() - in setAdapter()
653 getLocationInWindow(mCoords); in scrollBottomIntoView()
658 final int currentPos = mCoords[1] + height; in scrollBottomIntoView()
659 mScrollView.getLocationInWindow(mCoords); in scrollBottomIntoView()
660 final int desiredPos = mCoords[1] + height / getLineCount(); in scrollBottomIntoView()