Home
last modified time | relevance | path

Searched defs:points (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/gesture/
DGestureUtils.java330 static float[] computeCentroid(float[] points) { in computeCentroid()
352 private static float[][] computeCoVariance(float[] points) { in computeCoVariance()
376 static float computeTotalLength(float[] points) { in computeTotalLength()
387 static float computeStraightness(float[] points) { in computeStraightness()
394 static float computeStraightness(float[] points, float totalLen) { in computeStraightness()
472 float[] points = new float[count * 2]; in computeOrientedBoundingBox() local
491 float[] points = new float[size]; in computeOrientedBoundingBox() local
499 … private static OrientedBoundingBox computeOrientedBoundingBox(float[] points, float[] centroid) { in computeOrientedBoundingBox()
563 static float[] rotate(float[] points, float angle) { in rotate()
576 static float[] translate(float[] points, float dx, float dy) { in translate()
[all …]
DGestureStroke.java39 public final float[] points; field in GestureStroke
49 public GestureStroke(ArrayList<GesturePoint> points) { in GestureStroke()
222 final ArrayList<GesturePoint> points = new ArrayList<GesturePoint>(count); in deserialize() local
/frameworks/base/libs/hwui/
DPathParser.cpp159 void PathParser::validateVerbAndPoints(char verb, size_t points, PathParser::ParseResult* result) { in validateVerbAndPoints()
240 std::vector<float> points; in getPathDataFromAsciiString() local
DRecordingCanvas.h147 float points[2] = {x, y}; in drawPoint() local
153 float points[4] = {startX, startY, stopX, stopY}; in drawLine() local
DSpotShadow.cpp147 void SpotShadow::xsort(Vector2* points, int pointsLength) { in xsort()
160 int SpotShadow::hull(Vector2* points, int pointsLength, Vector2* retPoly) { in hull()
241 void SpotShadow::swap(Vector2* points, int i, int j) { in swap()
250 void SpotShadow::quicksortCirc(Vector2* points, int low, int high, const Vector2& center) { in quicksortCirc()
322 void SpotShadow::computeLightPolygon(int points, const Vector3& lightCenter, float size, in computeLightPolygon()
DRecordingCanvas.cpp250 static Rect calcBoundsOfPoints(const float* points, int floatCount) { in calcBoundsOfPoints()
259 void RecordingCanvas::drawPoints(const float* points, int floatCount, const SkPaint& paint) { in drawPoints()
268 void RecordingCanvas::drawLines(const float* points, int floatCount, const SkPaint& paint) { in drawLines()
DPathTessellator.cpp753 static void instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, const float* points, in instanceVertices()
768 void PathTessellator::tessellatePoints(const float* points, int count, const SkPaint* paint, in tessellatePoints()
809 void PathTessellator::tessellateLines(const float* points, int count, const SkPaint* paint, in tessellateLines()
DSkiaCanvas.cpp458 void SkiaCanvas::drawPoints(const float* points, int count, const SkPaint& paint, in drawPoints()
475 void SkiaCanvas::drawPoints(const float* points, int count, const SkPaint& paint) { in drawPoints()
484 void SkiaCanvas::drawLines(const float* points, int count, const SkPaint& paint) { in drawLines()
DRecordedOp.h275 const float* points; member
298 const float* points; member
DVectorDrawable.h139 std::vector<float> points; member
/frameworks/base/media/mca/filterfw/native/core/
Dgeometry.h64 const std::vector<Point>& points() const { return points_; } in points() function
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
DQuad.java205 float[] points = asCoords(); in transformed() local
333 private Quad(float[] points) { in Quad()
/frameworks/base/media/mca/filterpacks/native/base/
Dgeometry.h64 const std::vector<Point>& points() const { return points_; } in points() function
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java55 float[] points = new float[6]; in CachedPathIteratorFactory() local
350 float[] points = new float[8]; in next() local
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp101 const std::vector<float>* points, size_t start, size_t end) { in addCommand()
/frameworks/base/core/jni/android/graphics/
DPath.cpp277 static SkPoint cubicBezierCalculation(float t, const SkPoint* points) { in cubicBezierCalculation()
290 static SkPoint quadraticBezierCalculation(float t, const SkPoint* points) { in quadraticBezierCalculation()
298 static bool subdividePoints(const SkPoint* points, bezierCalculation bezierFunction, in subdividePoints()
319 static void addBezier(const SkPoint* points, in addBezier()
363 const SkPoint* points, std::vector<SkPoint>& segmentPoints, in createVerbSegments()
421 SkPoint points[4]; in approximate() local
/frameworks/layoutlib/bridge/src/android/graphics/
DPathMeasure_Delegate.java172 float[] points = new float[6]; in native_getSegment() local
DPath_Delegate.java494 ArrayList<Point2D.Float> points = new ArrayList<Point2D.Float>(); in nApproximate() local
/frameworks/base/libs/hwui/tests/unit/
DBakedOpDispatcherTests.cpp145 const float points[4] = {0.5, 0.5, 1.0, 1.0}; in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
DRecordingCanvasTests.cpp96 float points[] = {0, 0, 200, 200}; in OPENGL_PIPELINE_TEST() local
132 float points[] = {0, 0, 20, 10, 30, 40, 90}; // NB: only 1 valid line in OPENGL_PIPELINE_TEST() local
/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java375 private Point findClosestPoint(int x, int y, Point[] points) { in findClosestPoint()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java697 boolean continued, long interval, Point... points) { in createSimpleGestureFromPoints()