Home
last modified time | relevance | path

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

/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/
DPointTest.kt103 @Test fun toPoint() { in toPoint() method in androidx.core.graphics.PointTest
104 assertEquals(Point(1, 2), PointF(1.1f, 2.8f).toPoint()) in toPoint()
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/
DPoint.kt164 inline fun PointF.toPoint() = Point(x.toInt(), y.toInt()) method
/frameworks/base/core/jni/android/graphics/
DPath.cpp255 const SkPoint& toPoint) { in addLine() argument
259 } else if (segmentPoints.back() == toPoint) { in addLine()
262 float length = lengths.back() + SkPoint::Distance(segmentPoints.back(), toPoint); in addLine()
263 segmentPoints.push_back(toPoint); in addLine()
/frameworks/support/core/ktx/api/
D0.1.txt203 method public static final android.graphics.Point toPoint(android.graphics.PointF);
Dcurrent.txt207 method public static android.graphics.Point toPoint(android.graphics.PointF);
D0.2.txt206 method public static android.graphics.Point toPoint(android.graphics.PointF);