Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java75 private PointerCoords mCoords = new PointerCoords(); field in PointerLocationView.PointerState
336 canvas.drawLine(0, ps.mCoords.y, getWidth(), ps.mCoords.y, mTargetPaint); in onDraw()
339 canvas.drawLine(ps.mCoords.x, -getHeight(), ps.mCoords.x, in onDraw()
345 canvas.drawPoint(ps.mCoords.x, ps.mCoords.y, mPaint); in onDraw()
349 drawOval(canvas, ps.mCoords.x, ps.mCoords.y, ps.mCoords.touchMajor, in onDraw()
350 ps.mCoords.touchMinor, ps.mCoords.orientation, mPaint); in onDraw()
354 drawOval(canvas, ps.mCoords.x, ps.mCoords.y, ps.mCoords.toolMajor, in onDraw()
355 ps.mCoords.toolMinor, ps.mCoords.orientation, mPaint); in onDraw()
370 canvas.drawLine(ps.mCoords.x, ps.mCoords.y, in onDraw()
426 .append("X: ").append(ps.mCoords.x, 1) in drawLabels()
[all …]
/aosp12/frameworks/base/tests/Codegen/src/com/android/codegentest/
H A DSampleDataClass.java606 this.mCoords = coords; in SampleDataClass()
612 int coordsSize = mCoords.length; in SampleDataClass()
819 return mCoords; in getCoords()
1115 mCoords = value; in setCoords()
1121 int coordsSize = mCoords.length; in setCoords()
1215 && java.util.Arrays.equals(mCoords, that.mCoords) in equals()
1362 dest.writeFloatArray(mCoords); in writeToParcel()
1473 this.mCoords = coords; in SampleDataClass()
1479 int coordsSize = mCoords.length; in SampleDataClass()
1873 mCoords = value; in setCoords()
[all …]
/aosp12/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java143 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()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputDispatcher_test.cpp1192 mCoords.clear(); in PointerBuilder()
1200 mCoords.setAxisValue(axis, value); in axis()
1206 PointerCoords buildCoords() const { return mCoords; } in buildCoords()
1210 PointerCoords mCoords; member in android::inputdispatcher::PointerBuilder