Searched refs:mCoords (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 74 private PointerCoords mCoords = new PointerCoords(); field in PointerLocationView.PointerState 303 .append("X: ").append(ps.mCoords.x, 1) in onDraw() 308 .append("Y: ").append(ps.mCoords.y, 1) in onDraw() 342 (itemW * 5) + (ps.mCoords.pressure * itemW) - 1, bottom, mTextLevelPaint); in onDraw() 344 .append("Prs: ").append(ps.mCoords.pressure, 2) in onDraw() 349 (itemW * 6) + (ps.mCoords.size * itemW) - 1, bottom, mTextLevelPaint); in onDraw() 351 .append("Size: ").append(ps.mCoords.size, 2) in onDraw() 401 canvas.drawLine(0, ps.mCoords.y, getWidth(), ps.mCoords.y, mTargetPaint); in onDraw() 402 canvas.drawLine(ps.mCoords.x, 0, ps.mCoords.x, getHeight(), mTargetPaint); in onDraw() 405 int pressureLevel = (int)(ps.mCoords.pressure * 255); in onDraw() [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 143 private final int[] mCoords = new int[2]; field in RecipientEditTextView 665 mDropdownAnchor.getLocationOnScreen(mCoords); in setAdapter() 667 setDropDownHeight(mRect.bottom - mCoords[1] - mDropdownAnchor.getHeight() - in setAdapter() 705 getLocationInWindow(mCoords); in scrollBottomIntoView() 710 final int currentPos = mCoords[1] + height; in scrollBottomIntoView() 711 mScrollView.getLocationInWindow(mCoords); in scrollBottomIntoView() 712 final int desiredPos = mCoords[1] + height / getLineCount(); in scrollBottomIntoView()
|