/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.h | 64 const std::vector<Point>& points() const { return points_; } function in class:android::filterfw::Quad
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.h | 64 const std::vector<Point>& points() const { return points_; } function in class:android::filterfw::Quad
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 31 * consists of a sequence of timed points. One or multiple strokes form a gesture. 39 public final float[] points; field in class:GestureStroke 45 * A constructor that constructs a gesture stroke from a list of gesture points. 47 * @param points 49 public GestureStroke(ArrayList<GesturePoint> points) { argument 50 final int count = points.size(); 59 final GesturePoint p = points.get(i); 80 this.points = tmpPoints; 91 points = pts.clone(); 97 return new GestureStroke(boundingBox, length, points, timestamp [all...] |
H A D | GestureUtils.java | 141 float[] strokepoints = stroke.points; 262 * points. 265 * @param numPoints the number of points 266 * @return the sampled points in the form of [x1, y1, x2, y2, ..., xn, yn] 273 float[] pts = stroke.points; 325 * Calculates the centroid of a set of points. 327 * @param points the points in the form of [x1, y1, x2, y2, ..., xn, yn] 330 static float[] computeCentroid(float[] points) { argument 333 int count = points 352 computeCoVariance(float[] points) argument 376 computeTotalLength(float[] points) argument 387 computeStraightness(float[] points) argument 394 computeStraightness(float[] points, float totalLen) argument 499 computeOrientedBoundingBox(float[] points, float[] centroid) argument 563 rotate(float[] points, float angle) argument 576 translate(float[] points, float dx, float dy) argument 585 scale(float[] points, float sx, float sy) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.cpp | 186 SkPoint points[2]; local 187 points[0].set(bounds[0], bounds[1]); 188 points[1].set(bounds[2], bounds[3]); 191 toUnitMatrix(points, &unitMatrix);
|
H A D | DisplayListRenderer.cpp | 381 status_t DisplayListRenderer::drawLines(float* points, int count, SkPaint* paint) { argument 382 points = refBuffer<float>(points, count); 385 addDrawOp(new (alloc()) DrawLinesOp(points, count, paint)); 389 status_t DisplayListRenderer::drawPoints(float* points, int count, SkPaint* paint) { argument 390 points = refBuffer<float>(points, count); 393 addDrawOp(new (alloc()) DrawPointsOp(points, count, paint));
|
H A D | PathTessellator.cpp | 168 // zig zag between all previous points on the inside of the hull to create a 334 // generate alpha points - fill Alpha vertex gaps in between each point with 370 // zig zag between all previous points on the inside of the hull to create a 472 //copy most recent two points to first two points 536 * 'middlePts' is (number of points in the unclosed input vertex list, minus 2) times two 782 void PathTessellator::tessellateLines(const float* points, int count, SkPaint* paint, argument 803 bounds.set(points[0], points[1], points[ [all...] |
H A D | DisplayListOp.h | 221 // Calculates bounds as smallest rect encompassing all points 224 DrawBoundedOp(const float* points, int count, SkPaint* paint) argument 225 : DrawOp(paint), mLocalBounds(points[0], points[1], points[0], points[1]) { 227 mLocalBounds.left = fminf(mLocalBounds.left, points[i]); 228 mLocalBounds.right = fmaxf(mLocalBounds.right, points[i]); 229 mLocalBounds.top = fminf(mLocalBounds.top, points[i + 1]); 230 mLocalBounds.bottom = fmaxf(mLocalBounds.bottom, points[ 1159 DrawLinesOp(float* points, int count, SkPaint* paint) argument 1189 DrawPointsOp(float* points, int count, SkPaint* paint) argument [all...] |
H A D | OpenGLRenderer.cpp | 2450 status_t OpenGLRenderer::drawLines(float* points, int count, SkPaint* paint) { argument 2457 PathTessellator::tessellateLines(points, count, paint, mSnapshot->transform, bounds, buffer); 2469 status_t OpenGLRenderer::drawPoints(float* points, int count, SkPaint* paint) { argument 2472 // TODO: The paint's cap style defines whether the points are square or circular 2473 // TODO: Handle AA for round points 2495 // TODO: We should optimize this method to not generate vertices for points 2515 TextureVertex::set(vertex++, points[i], points[i + 1], 0.0f, 0.0f); 2518 float left = points[i] - halfWidth; 2519 float right = points[ 3260 float points[pointsCount]; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_GLES20Canvas.cpp | 508 OpenGLRenderer* renderer, jfloatArray points, jint offset, jint count, SkPaint* paint) { 509 jfloat* storage = env->GetFloatArrayElements(points, NULL); 511 env->ReleaseFloatArrayElements(points, storage, 0); 520 OpenGLRenderer* renderer, jfloatArray points, jint offset, jint count, SkPaint* paint) { 521 jfloat* storage = env->GetFloatArrayElements(points, NULL); 523 env->ReleaseFloatArrayElements(points, storage, 0); 507 android_view_GLES20Canvas_drawPoints(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloatArray points, jint offset, jint count, SkPaint* paint) argument 519 android_view_GLES20Canvas_drawLines(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloatArray points, jint offset, jint count, SkPaint* paint) argument
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 954 private static native void nDrawLines(int renderer, float[] points, argument 1076 private static native void nDrawPoints(int renderer, float[] points, argument
|