/external/skia/src/core/ |
SkPicturePlayback.cpp | 488 size_t points = reader->readInt(); local 489 reader->validate(points == text.count()); 490 const SkPoint* pos = (const SkPoint*)reader->skip(points, sizeof(SkPoint)); 500 size_t points = reader->readInt(); local 501 reader->validate(points == text.count()); 502 const SkPoint* pos = (const SkPoint*)reader->skip(points, sizeof(SkPoint));
|
SkPictureRecord.cpp | 267 // assert that the final offset value points to a save verb 293 // value that points to the offset of the previous RestoreOffset 568 int points = paint.countText(text, byteLength); local 570 // op + paint index + length + 'length' worth of data + num points + x&y point data 571 size_t size = 3 * kUInt32Size + SkAlign4(byteLength) + kUInt32Size + points * sizeof(SkPoint); 578 this->addInt(points); 579 fWriter.writeMul4(pos, points * sizeof(SkPoint)); 585 int points = paint.countText(text, byteLength); local 587 // op + paint index + length + 'length' worth of data + num points 589 // + y + the actual points [all...] |
/external/skqp/src/core/ |
SkLiteDL.cpp | 362 auto points = pod<SkPoint>(this); local 364 c->drawPosText(text, bytes, points, paint); 670 void SkLiteDL::drawPatch(const SkPoint points[12], const SkColor colors[4], const SkPoint texs[4], 672 this->push<DrawPatch>(0, points, colors, texs, bmode, paint); 674 void SkLiteDL::drawPoints(SkCanvas::PointMode mode, size_t count, const SkPoint points[], 677 copy_v(pod, points,count);
|
SkPicturePlayback.cpp | 492 size_t points = reader->readInt(); local 493 reader->validate(points == text.count()); 494 const SkPoint* pos = (const SkPoint*)reader->skip(points, sizeof(SkPoint)); 504 size_t points = reader->readInt(); local 505 reader->validate(points == text.count()); 506 const SkPoint* pos = (const SkPoint*)reader->skip(points, sizeof(SkPoint));
|
SkPictureRecord.cpp | 267 // assert that the final offset value points to a save verb 293 // value that points to the offset of the previous RestoreOffset 568 int points = paint.countText(text, byteLength); local 570 // op + paint index + length + 'length' worth of data + num points + x&y point data 571 size_t size = 3 * kUInt32Size + SkAlign4(byteLength) + kUInt32Size + points * sizeof(SkPoint); 578 this->addInt(points); 579 fWriter.writeMul4(pos, points * sizeof(SkPoint)); 585 int points = paint.countText(text, byteLength); local 587 // op + paint index + length + 'length' worth of data + num points 589 // + y + the actual points [all...] |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
CaptureActivity.java | 221 * @param rawResult The decoded results which contains the points to draw. 224 ResultPoint[] points = rawResult.getResultPoints(); local 225 if (points != null && points.length > 0) { 235 if (points.length == 2) { 237 drawLine(canvas, paint, points[0], points[1]); 238 } else if (points.length == 4 && (rawResult.getBarcodeFormat() == BarcodeFormat.UPC_A 241 drawLine(canvas, paint, points[0], points[1]) [all...] |
/frameworks/base/core/java/android/gesture/ |
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) { 333 int count = points.length 472 float[] points = new float[count * 2]; local 491 float[] points = new float[size]; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
Path.cpp | 242 typedef SkPoint (*bezierCalculation)(float t, const SkPoint* points); 277 static SkPoint cubicBezierCalculation(float t, const SkPoint* points) { 278 float x = cubicCoordinateCalculation(t, points[0].x(), points[1].x(), 279 points[2].x(), points[3].x()); 280 float y = cubicCoordinateCalculation(t, points[0].y(), points[1].y(), 281 points[2].y(), points[3].y()) 421 SkPoint points[4]; local [all...] |
/frameworks/base/libs/hwui/ |
RecordedOp.h | 273 LinesOp(BASE_PARAMS, const float* points, const int floatCount) 274 : SUPER(LinesOp), points(points), floatCount(floatCount) {} 275 const float* points; member in struct:android::uirenderer::LinesOp 296 PointsOp(BASE_PARAMS, const float* points, const int floatCount) 297 : SUPER(PointsOp), points(points), floatCount(floatCount) {} 298 const float* points; member in struct:android::uirenderer::PointsOp
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
DistributionPointFetcher.java | 115 List<DistributionPoint> points = local 116 ext.get(CRLDistributionPointsExtension.POINTS); 118 for (Iterator<DistributionPoint> t = points.iterator(); 301 * @param point one of the distribution points of the certificate [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterGradRepresentation.java | 461 Vector<Band> points = new Vector<Band>(); local 486 points.add(p); 492 mBands = points;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
Spline.java | 150 ControlPoint[] points = new ControlPoint[mPoints.size()]; local 153 points[i] = new ControlPoint(p.x, p.y); 155 double[] derivatives = solveSystem(points); 158 if (points[0].x != 0) { 159 start = (int) (points[0].x * 256); 161 if (points[points.length - 1].x != 1) { 162 end = (int) (points[points.length - 1].x * 256); 165 curve[i] = 1.0f - points[0].y 267 ControlPoint[] points = new ControlPoint[mPoints.size()]; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
ECPoint.java | 7 * base class for points on elliptic curves. 357 // Points with null curve are in affine form, so already normalized 375 ECPoint[] points = new ECPoint[]{ this, c1.importPoint(p2) }; local 378 c1.normalizeAll(points); 380 p1 = points[0]; 381 p2 = points[1]; 600 * Elliptic curve points over Fp 611 * @deprecated Use ECCurve.createPoint to construct points [all...] |
/external/freetype/include/freetype/ |
ftimage.h | 295 /* n_points :: The number of points in the outline. */ 297 /* points :: A pointer to an array of `n_points' @FT_Vector */ 307 /* Bit~1 is meaningful for `off' points only. If set, */ 320 /* example, the first contour is defined by the points */ 322 /* the points `contours[0]+1' to `contours[1]', etc. */ 337 short n_points; /* number of points in the glyph */ 339 FT_Vector* points; /* the outline's points */ member in struct:FT_Outline_ 340 char* tags; /* the points flags */ 341 short* contours; /* the contour end points */ [all...] |
/external/freetype/src/autofit/ |
afcjk.c | 304 /* extremum points (depending on the string properties) */ 351 FT_Pos best_pos; /* same as points.y or points.x, resp. */ 353 FT_Vector* points; local 406 points = outline.points; 424 /* In some fonts, they correspond to mark attachment points */ 434 if ( best_point < 0 || points[pp].x > best_pos ) 437 best_pos = points[pp].x; 443 if ( best_point < 0 || points[pp].x < best_pos [all...] |
/external/freetype/src/pshinter/ |
pshalgo.c | 39 #define COMPUTE_INFLEXS /* compute inflection points to optimize `S' */ 886 /***** POINTS INTERPOLATION ROUTINES *****/ 925 /* compute all inflex points in a given glyph */ 940 /* we need at least 4 points to create an inflection point */ 1043 FT_FREE( glyph->points ); 1084 FT_Vector* vec = glyph->outline->points; 1085 PSH_Point point = glyph->points; 1119 PSH_Point point = glyph->points; 1120 FT_Vector* vec = glyph->outline->points; 1169 /* allocate and setup points + contours arrays * 1179 PSH_Point points = glyph->points; local 1218 PSH_Point points = glyph->points; local 1785 PSH_Point points = glyph->points; local [all...] |
pshalgo.h | 64 /* this is an interpolation zone used for strong points; */ 65 /* weak points are interpolated according to their strong */ 194 PSH_Point points; member in struct:PSH_GlyphRec_
|
/external/freetype/src/truetype/ |
ttgload.c | 350 /* reading the contours' endpoints & number of points */ 385 /* note that we will add four phantom points later */ 471 vec = outline->points; 510 vec = gloader->current.outline.points; 690 FT_TRACE7(( " matching points: base=%d, component=%d\n", 763 zone->cur = load->outline.points + start_point; 778 /* the zone is supposed to include four phantom points. */ 831 /* round phantom points */ 869 /* Save possibly modified glyph phantom points unless in v40 backward */ 921 /* set phantom points */ 1667 FT_Vector points[4]; local 1844 FT_Vector* points = NULL; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_tris.c | 594 tnl_points_func points; member in struct:__anon30400 1014 tnl->Driver.Render.Points = rast_tab[index].points; [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_swtcl.c | 403 tnl_points_func points; member in struct:__anon30536 587 tnl->Driver.Render.Points = rast_tab[index].points; 743 * Cope with depth operations by drawing individual pixels as points.
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_swtcl.c | 525 tnl_points_func points; member in struct:__anon30549 710 tnl->Driver.Render.Points = rast_tab[index].points;
|
/external/opencv/cv/src/ |
cvsurf.cpp | 101 CvSeq* points = cvCreateSeq( 0, sizeof(CvSeq), sizeof(CvSURFPoint), storage ); local 234 cvSeqPush( points, &point ); 248 return points;
|
/external/skia/samplecode/ |
SamplePathFuzz.cpp | 301 void makePointArray(size_t arrayCount, SkPoint* points) { 303 points[index] = makePoint(); 307 void makePointArray(SkTDArray<SkPoint>* points) { 310 *points->append() = makePoint(); 404 SkTDArray<SkPoint> points; local 405 makePointArray(&points); 407 path.addPoly(&points[0], points.count(), close);
|
/external/skia/src/pathops/ |
SkPathOpsTypes.h | 568 inline SkPath::Verb SkPathOpsPointsToVerb(int points) { 569 int verb = (1 << points) >> 1; 571 switch (points) { 583 int points = (int) verb - (((int) verb + 1) >> 2); local 586 case SkPath::kLine_Verb: SkASSERT(1 == points); break; 587 case SkPath::kQuad_Verb: SkASSERT(2 == points); break; 588 case SkPath::kConic_Verb: SkASSERT(2 == points); break; 589 case SkPath::kCubic_Verb: SkASSERT(3 == points); break; 593 return points;
|
/external/skia/src/pipe/ |
SkPipeReader.cpp | 494 const SkPoint* points = reader.skipT<SkPoint>(count); local 495 canvas->drawPoints(mode, count, points, read_paint(reader)); [all...] |