HomeSort by relevance Sort by last modified time
    Searched full:fpath (Results 1 - 25 of 200) sorted by null

1 2 3 4 5 6 7 8

  /external/skia/src/animator/
SkPathParts.cpp 16 SkPathPart::SkPathPart() : fPath(nullptr) {
20 fPath->dirty();
24 return fPath;
31 fPath = (SkDrawPath*) parent;
51 fPath->fPath.moveTo(x, y);
68 fPath->fPath.rMoveTo(x, y);
89 fPath->fPath.lineTo(x, y)
    [all...]
SkParseSVGPath.cpp 28 static void quadApprox(SkPath &fPath, const SkPoint &p0, const SkPoint &p1, const SkPoint &p2)
33 fPath.getLastPt(&c);
44 fPath.quadTo(mid,q);
50 fPath.quadTo(mid,p2);
114 fPath.reset();
145 fPath.moveTo(points[0]);
151 fPath.lineTo(points[0]);
157 fPath.lineTo(x, c.fY);
164 fPath.lineTo(c.fX, y);
182 quadApprox(fPath, points[0], points[1], points[2])
    [all...]
  /external/skia/bench/
CoverageBench.cpp 20 SkPath fPath;
31 fPath.moveTo(0, 0);
32 fPath.quadTo(500, 0, 500, 500);
33 fPath.quadTo(250, 0, 0, 500);
38 fRC.setRect(fPath.getBounds().round());
54 fDraw.drawPathCoverage(fPath, fPaint);
58 fDraw.drawPath(fPath, fPaint);
PathIterBench.cpp 31 SkPath fPath;
45 fPath.moveTo(pts[0]);
48 fPath.lineTo(pts[1]);
51 fPath.quadTo(pts[1], pts[2]);
54 fPath.cubicTo(pts[1], pts[2], pts[3]);
72 SkPath::RawIter iter(fPath);
80 SkPath::Iter iter(fPath, false);
BigPathBench.cpp 23 SkPath fPath;
46 sk_tool_utils::make_big_path(fPath);
59 const SkRect r = fPath.getBounds();
72 canvas->drawPath(fPath, paint);
  /bionic/tests/
ftw_test.cpp 50 void sanity_check_ftw(const char* fpath, const struct stat* sb, int tflag) {
51 ASSERT_TRUE(fpath != NULL);
55 EXPECT_TRUE(tflag == FTW_D || tflag == FTW_DNR || tflag == FTW_DP) << fpath;
57 EXPECT_EQ(FTW_SL, tflag) << fpath;
59 EXPECT_EQ(FTW_F, tflag) << fpath;
63 void sanity_check_nftw(const char* fpath, const struct stat* sb, int tflag, struct FTW* ftwbuf) {
64 sanity_check_ftw(fpath, sb, tflag);
65 ASSERT_EQ('/', fpath[ftwbuf->base - 1]) << fpath;
68 int check_ftw(const char* fpath, const struct stat* sb, int tflag)
    [all...]
  /external/skia/gm/
filltypes.cpp 14 SkPath fPath;
21 if (fPath.isEmpty()) {
23 fPath.addCircle(SkIntToScalar(50), SkIntToScalar(50), radius);
24 fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius);
46 fPath.setFillType(ft);
50 canvas->drawPath(fPath, paint);
perspshaders.cpp 75 fPath.moveTo(0, 0);
76 fPath.lineTo(0, SkIntToScalar(kCellSize));
77 fPath.lineTo(kCellSize/2.0f, kCellSize/2.0f);
78 fPath.lineTo(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize));
79 fPath.lineTo(SkIntToScalar(kCellSize), 0);
80 fPath.close();
124 canvas->drawPath(fPath, pathPaint);
136 canvas->drawPath(fPath, gradPaint2);
162 SkPath fPath;
cubicpaths.cpp 72 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 80, 150));
74 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 80, 100));
76 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 30, 150));
78 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 10, 150));
104 fPath.moveTo(69.7030518991886f, 0);
105 fPath.cubicTo( 69.7030518991886f, 21.831149999999997f,
107 fPath.cubicTo( 11.608591683531916f, 87.33115f, -0.010765133872116195f, 109.16448333333332f,
109 fPath.close();
110 fFlipped = fPath;
120 SkPath fPath;
    [all...]
  /external/skia/samplecode/
SamplePath.cpp 91 SkPath fPath[6];
118 fPath[0].moveTo(40, 70);
119 fPath[0].lineTo(70, 70 + SK_ScalarHalf);
120 fPath[0].lineTo(110, 70);
122 fPath[1].moveTo(40, 70);
123 fPath[1].lineTo(70, 70 - SK_ScalarHalf);
124 fPath[1].lineTo(110, 70);
126 fPath[2].moveTo(V, V);
127 fPath[2].lineTo(50, V);
128 fPath[2].lineTo(50, 50)
    [all...]
SampleStrokePath.cpp 100 SkPath fPath;
112 SkParsePath::FromSVGString(str, &fPath);
114 fPath.addCircle(0, 0, SkIntToScalar(50), SkPath::kCW_Direction);
115 fPath.addCircle(0, SkIntToScalar(-50), SkIntToScalar(30), SkPath::kCW_Direction);
118 scale_to_width(&fPath, fWidth);
119 const SkRect& bounds = fPath.getBounds();
120 fPath.offset(-bounds.fLeft, -bounds.fTop);
143 canvas->drawPath(fPath, *paint);
199 fPath = p;
200 fPath.offset(100, 0)
    [all...]
SamplePathEffects.cpp 92 SkPath fPath;
108 fPath.moveTo(x, y);
113 fPath.moveTo(x, tmpY);
115 fPath.lineTo(x, tmpY);
124 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8));
147 canvas->drawPath(fPath, paint);
153 canvas->drawPath(fPath, paint);
161 canvas->drawPath(fPath, paint);
SampleFillType.cpp 19 SkPath fPath;
23 fPath.addCircle(SkIntToScalar(50), SkIntToScalar(50), radius);
24 fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius);
48 fPath.setFillType(ft);
52 canvas->drawPath(fPath, paint);
SampleTextOnPath.cpp 93 SkPath fPath;
101 fPath.addOval(r);
102 fPath.offset(SkIntToScalar(-50), SkIntToScalar(-50));
128 canvas->drawTextOnPathHV(text, len, fPath,
132 canvas->drawTextOnPathHV(text, len, fPath,
136 canvas->drawTextOnPathHV(text, len, fPath,
142 canvas->drawPath(fPath, paint);
  /prebuilts/go/darwin-x86/src/os/
path_test.go 34 fpath := path + "/file"
35 f, err := Create(fpath)
37 t.Fatalf("create %q: %s", fpath, err)
42 err = MkdirAll(fpath, 0777)
44 t.Fatalf("MkdirAll %q: no error", fpath)
48 t.Fatalf("MkdirAll %q returned %T, not *PathError", fpath, err)
50 if filepath.Clean(perr.Path) != filepath.Clean(fpath) {
51 t.Fatalf("MkdirAll %q returned wrong error path: %q not %q", fpath, filepath.Clean(perr.Path), filepath.Clean(fpath))
55 ffpath := fpath + "/subdir
    [all...]
  /prebuilts/go/linux-x86/src/os/
path_test.go 34 fpath := path + "/file"
35 f, err := Create(fpath)
37 t.Fatalf("create %q: %s", fpath, err)
42 err = MkdirAll(fpath, 0777)
44 t.Fatalf("MkdirAll %q: no error", fpath)
48 t.Fatalf("MkdirAll %q returned %T, not *PathError", fpath, err)
50 if filepath.Clean(perr.Path) != filepath.Clean(fpath) {
51 t.Fatalf("MkdirAll %q returned wrong error path: %q not %q", fpath, filepath.Clean(perr.Path), filepath.Clean(fpath))
55 ffpath := fpath + "/subdir
    [all...]
  /external/skia/src/gpu/batches/
GrStencilPathBatch.h 38 string.printf("PATH: 0x%p, AA:%d", fPath.get(), fUseHWAA);
55 , fPath(path) {
66 state->gpu()->pathRendering()->stencilPath(args, fPath.get());
74 GrPendingIOResource<const GrPath, kRead_GrIOType> fPath;
GrDashLinePathRenderer.cpp 15 if (args.fStroke->isDashed() && args.fPath->isLine(pts)) {
24 SkAssertResult(args.fPath->isLine(pts));
  /external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
test_lifecycle.py 81 fpath = self.CreateTempFile(contents=self.empty_doc1)
82 self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)])
89 fpath = self.CreateTempFile(contents=self.lifecycle_doc)
90 self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)])
97 fpath = self.CreateTempFile(contents=self.lifecycle_doc_bucket_style)
98 self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)])
105 fpath = self.CreateTempFile(contents=self.lifecycle_created_before_doc)
106 self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)])
113 fpath = self.CreateTempFile(contents=self.bad_doc)
114 stderr = self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)]
    [all...]
test_cors.py 99 fpath = self.CreateTempFile(contents=self.empty_doc1)
100 self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)])
107 fpath = self.CreateTempFile(contents=self.empty_doc2)
108 self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)])
115 fpath = self.CreateTempFile(contents=self.cors_doc)
116 self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)])
123 fpath = self.CreateTempFile(contents=self.xml_cors_doc)
124 stderr = self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)],
130 fpath = self.CreateTempFile(contents=self.cors_bad)
131 stderr = self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)]
    [all...]
  /external/skia/src/gpu/
GrGlyph.h 35 SkPath* fPath;
44 fPath = nullptr;
53 if (fPath) {
54 delete fPath;
55 fPath = nullptr;
GrPathRenderer.h 76 * fPath The path to draw
83 const SkPath* fPath;
94 SkASSERT(fPath);
96 SkASSERT(!fPath->isEmpty());
120 * fPath the path to draw.
130 const SkPath* fPath;
139 SkASSERT(fPath);
141 SkASSERT(!fPath->isEmpty());
155 canArgs.fPath = args.fPath;
    [all...]
  /external/skia/src/utils/win/
SkDWriteGeometrySink.cpp 18 SkDWriteGeometrySink::SkDWriteGeometrySink(SkPath* path) : fRefCount(1), fPath(path) { }
51 fPath->setFillType(SkPath::kEvenOdd_FillType);
54 fPath->setFillType(SkPath::kWinding_FillType);
69 fPath->moveTo(startPoint.x, startPoint.y);
77 fPath->lineTo(points->x, points->y);
115 fPath->getLastPt(&lastPt);
125 fPath->quadTo(quadratic[1].x, quadratic[1].y,
128 fPath->cubicTo(beziers->point1.x, beziers->point1.y,
137 fPath->close();
  /system/extras/pagecache/
dumpcache.c 42 static struct file_info *get_file_info(const char* fpath, size_t file_size) {
59 info->name = malloc(strlen(fpath) + 1);
64 strcpy(info->name, fpath);
74 static int store_num_cached(const char* fpath, const struct stat *sb) {
76 fd = open (fpath, O_RDONLY);
96 struct file_info *info = get_file_info(fpath, sb->st_size);
107 static int scan_entry(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf) {
109 store_num_cached(fpath, sb);
  /external/skia/src/pathops/
SkOpEdgeBuilder.h 19 , fPath(path.nativePath())
29 , fPath(&path)
63 const SkPath* fPath;

Completed in 846 milliseconds

1 2 3 4 5 6 7 8