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.java68 private PointerCoords mCoords = new PointerCoords(); field in PointerLocationView.PointerState
281 .append("X: ").append(ps.mCoords.x, 1) in onDraw()
286 .append("Y: ").append(ps.mCoords.y, 1) in onDraw()
320 (itemW * 5) + (ps.mCoords.pressure * itemW) - 1, bottom, mTextLevelPaint); in onDraw()
322 .append("Prs: ").append(ps.mCoords.pressure, 2) in onDraw()
327 (itemW * 6) + (ps.mCoords.size * itemW) - 1, bottom, mTextLevelPaint); in onDraw()
329 .append("Size: ").append(ps.mCoords.size, 2) in onDraw()
379 canvas.drawLine(0, ps.mCoords.y, getWidth(), ps.mCoords.y, mTargetPaint); in onDraw()
380 canvas.drawLine(ps.mCoords.x, 0, ps.mCoords.x, getHeight(), mTargetPaint); in onDraw()
383 int pressureLevel = (int)(ps.mCoords.pressure * 255); in onDraw()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java143 private final int[] mCoords = new int[2]; field in RecipientEditTextView
662 mDropdownAnchor.getLocationOnScreen(mCoords); in setAdapter()
664 setDropDownHeight(mRect.bottom - mCoords[1] - mDropdownAnchor.getHeight() - in setAdapter()
702 getLocationInWindow(mCoords); in scrollBottomIntoView()
707 final int currentPos = mCoords[1] + height; in scrollBottomIntoView()
708 mScrollView.getLocationInWindow(mCoords); in scrollBottomIntoView()
709 final int desiredPos = mCoords[1] + height / getLineCount(); in scrollBottomIntoView()