Searched refs:points (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java141 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...]
H A DGestureStroke.java31 * 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...]
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
H A DFountainRS.java41 ScriptField_Point points = new ScriptField_Point(mRS, PART_COUNT);//
45 smb.addVertexAllocation(points.getAllocation());
51 mScript.bind_point(points);
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
H A DFountainRS.java41 ScriptField_Point points = new ScriptField_Point(mRS, PART_COUNT);//
45 smb.addVertexAllocation(points.getAllocation());
51 mScript.bind_point(points);
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
H A DFountainFboRS.java44 ScriptField_Point points = new ScriptField_Point(mRS, PART_COUNT);
47 smb.addVertexAllocation(points.getAllocation());
53 mScript.bind_point(points);
/frameworks/base/core/jni/android/graphics/
H A DHarfbuzzSkia.cpp130 SkPoint* points = static_cast<SkPoint*>(malloc(sizeof(SkPoint) * (point + 1)));
131 if (!points)
134 path.getPoints(points, point + 1);
135 *xPos = SkScalarToHBFixed(points[point].fX);
136 *yPos = SkScalarToHBFixed(points[point].fY);
138 delete points;
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.h64 const std::vector<Point>& points() const { return points_; } function in class:android::filterfw::Quad
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.h64 const std::vector<Point>& points() const { return points_; } function in class:android::filterfw::Quad
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DPointCloud.java204 ArrayList<Point> points = mPointCloud;
207 for (int i = 0; i < points.size(); i++) {
208 Point point = points.get(i);
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp186 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 DOpenGLRenderer.cpp2013 status_t OpenGLRenderer::drawLines(float* points, int count, SkPaint* paint) { argument
2120 vec2 a(points[i], points[i + 1]);
2121 vec2 b(points[i + 2], points[i + 3]);
2267 status_t OpenGLRenderer::drawPoints(float* points, int count, SkPaint* paint) { argument
2270 // TODO: The paint's cap style defines whether the points are square or circular
2271 // TODO: Handle AA for round points
2292 // TODO: We should optimize this method to not generate vertices for points
2312 TextureVertex::set(vertex++, points[
3005 float points[pointsCount]; local
[all...]
H A DDisplayListRenderer.cpp590 float* points = getFloats(count); local
597 float* points = getFloats(count); local
1226 float* points = getFloats(count); local
1229 drawGlStatus |= renderer.drawLines(points, count, paint);
1234 float* points = getFloats(count); local
1237 drawGlStatus |= renderer.drawPoints(points, count, paint);
1736 status_t DisplayListRenderer::drawLines(float* points, int count, SkPaint* paint) { argument
1738 addFloats(points, count);
1743 status_t DisplayListRenderer::drawPoints(float* points, int count, SkPaint* paint) { argument
1745 addFloats(points, coun
[all...]
H A DOpenGLRenderer.h196 virtual status_t drawLines(float* points, int count, SkPaint* paint);
197 virtual status_t drawPoints(float* points, int count, SkPaint* paint);
H A DDisplayListRenderer.h603 virtual status_t drawLines(float* points, int count, SkPaint* paint);
604 virtual status_t drawPoints(float* points, int count, SkPaint* paint);
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp463 OpenGLRenderer* renderer, jfloatArray points, jint offset, jint count, SkPaint* paint) {
464 jfloat* storage = env->GetFloatArrayElements(points, NULL);
466 env->ReleaseFloatArrayElements(points, storage, 0);
475 OpenGLRenderer* renderer, jfloatArray points, jint offset, jint count, SkPaint* paint) {
476 jfloat* storage = env->GetFloatArrayElements(points, NULL);
478 env->ReleaseFloatArrayElements(points, storage, 0);
462 android_view_GLES20Canvas_drawPoints(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloatArray points, jint offset, jint count, SkPaint* paint) argument
474 android_view_GLES20Canvas_drawLines(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloatArray points, jint offset, jint count, SkPaint* paint) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s45 ; * so that it points to the current byte in the bit
47 ; * [out] pBitOffset *pBitOffset is updated so that it points to the
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s45 ; * so that it points to the current byte in the bit
47 ; * [out] pBitOffset *pBitOffset is updated so that it points to the
/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c268 * Blocks and Block_byrefs have their own special entry points.
360 * Runtime entry points for maintaining the sharing knowledge of byref data blocks.
380 // src points to stack
520 #pragma mark Compiler SPI entry points
526 Entry points used by the compiler - the real API!
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java969 private static native void nDrawLines(int renderer, float[] points, argument
1078 private static native void nDrawPoints(int renderer, float[] points, argument

Completed in 196 milliseconds