HomeSort by relevance Sort by last modified time
    Searched defs:path (Results 326 - 350 of 4009) sorted by null

<<11121314151617181920>>

  /external/skia/experimental/c-api-example/
skia-c-example.c 25 static void emit_png(const char* path, sk_surface_t* surface) {
29 FILE* f = fopen(path, "wb");
53 sk_path_t* path = sk_path_new(); local
55 sk_path_move_to(path, 50.0f, 50.0f);
56 sk_path_line_to(path, 590.0f, 50.0f);
57 sk_path_cubic_to(path, -490.0f, 50.0f, 1130.0f, 430.0f, 50.0f, 430.0f);
58 sk_path_line_to(path, 590.0f, 430.0f);
59 sk_canvas_draw_path(canvas, path, stroke);
69 sk_path_delete(path);
  /external/skia/gm/
bigmatrix.cpp 31 SkPath path; local
37 path.addCircle(pt.fX, pt.fY, small);
38 canvas->drawPath(path, paint);
blurs.cpp 90 SkPath path; local
91 path.addRect(outer, SkPath::kCW_Direction);
92 path.addRect(inner, SkPath::kCCW_Direction);
94 canvas->drawPath(path, paint);
96 // of the same path w.r.t. the pixel grid
97 SkScalar dx = SkScalarRoundToScalar(path.getBounds().width()) + 14 + 0.25f;
99 canvas->drawPath(path, paint);
109 SkPath path; local
110 path.addRect(outer, SkPath::kCW_Direction);
111 path.addRect(inner, SkPath::kCW_Direction)
    [all...]
fatpathfill.cpp 34 static void draw_fatpath(SkCanvas* canvas, SkSurface* surface, const SkPath& path) {
38 surface->getCanvas()->drawPath(path, paint);
44 canvas->drawPath(path, paint);
61 SkPath line, path; local
64 paint.getFillPath(line, &path);
65 draw_fatpath(canvas, surface, path);
pathcontourstart.cpp 54 SkPath path;
55 path.addRect(rect, dir, startIndex);
56 return path;
60 SkPath path;
61 path.addOval(rect, dir, startIndex);
62 return path;
70 SkPath path;
71 path.addRRect(rrect, dir, startIndex);
72 return path;
79 SkPath path;
115 const SkPath path = makePath(fRect, dir, i); local
    [all...]
pathinterior.cpp 37 void show(SkCanvas* canvas, const SkPath& path) {
43 bool hasInterior = path.hasRectangularInterior(&rect);
49 canvas->drawPath(path, paint);
52 canvas->drawPath(path, paint);
74 SkPath path; variable
75 path.setFillType(doEvenOdd ? SkPath::kEvenOdd_FillType : SkPath::kWinding_FillType);
81 path.addRoundRect(r, RAD, RAD, outerDir);
83 path.addRect(r, outerDir);
87 path.addRoundRect(r, RAD, RAD, innerDir);
89 path.addRect(r, innerDir)
    [all...]
stringart.cpp 42 SkPath path; variable
43 path.moveTo(center);
49 path.lineTo(rp);
53 path.close();
60 canvas->drawPath(path, paint);
strokerect.cpp 14 static void draw_path(SkCanvas* canvas, const SkPath& path, const SkRect& rect,
28 canvas->drawPath(path, paint);
32 int n = path.countPoints();
34 path.getPoints(points.get(), n);
96 SkPath path, fillPath; variable
97 path.addRect(r);
98 paint.getFillPath(path, &fillPath);
  /external/skia/samplecode/
SampleClock.cpp 37 SkPath path; variable
64 path.reset();
65 path.moveTo(200,0);
66 path.lineTo(240,0);
67 canvas->drawPath(path, paintStroke);
92 path.reset();
93 path.moveTo(234,0);
94 path.lineTo(240,0);
95 canvas->drawPath(path, paintStroke);
114 path.reset()
    [all...]
SampleStringArt.cpp 39 SkPath path; variable
40 path.moveTo(center);
46 path.lineTo(rp);
50 path.close();
57 canvas->drawPath(path, paint);
  /external/skia/src/gpu/batches/
GrStencilAndCoverPathRenderer.cpp 44 return true; // doesn't do per-path AA, relies on the target having MSAA
53 SkAutoTUnref<GrPath> path(
55 if (!path) {
56 path.reset(resourceProvider->createPath(skPath, stroke));
58 resourceProvider->assignUniqueKeyToResource(key, path);
61 SkASSERT(path->isEqualTo(skPath, stroke));
63 return path.detach();
78 const SkPath& path = *args.fPath; local
89 SkAutoTUnref<GrPath> p(get_gr_path(fResourceProvider, path, *args.fStroke));
91 if (path.isInverseFillType())
    [all...]
  /external/skia/tests/
ClipCubicTest.cpp 24 SkPath path; local
25 path.moveTo(0, 0); path.lineTo(1, 0); path.lineTo(33, 1);
28 canvas.drawPath(path, paint);
ErrorTest.cpp 48 SkPath path; local
49 path.addRect(r);
52 path.addRoundRect(r, 10, 10);
56 path.addRoundRect(r, -10, -10);
61 path.addRoundRect(r, -10, -10);
PDFJpegEmbedTest.cpp 43 SkString path(GetResourcePath(filename));
44 SkData* data = SkData::NewFromFileName(path.c_str());
119 const char* path; member in struct:__anon23178
129 load_resource(r, "JpegIdentification", kTests[i].path));
136 ERRORF(r, "%s failed isJfif test", kTests[i].path);
143 ERRORF(r, "%s failed jfif type test", kTests[i].path);
146 INFOF(r, "\nJpegIdentification: %s [%d x %d]\n", kTests[i].path,
PathMeasureTest.cpp 12 SkPath path; local
19 path.moveTo(pts[0]);
21 path.cubicTo(pts[i], pts[i + 1], pts[i + 2]);
24 SkPathMeasure meas(path, false);
29 SkPath path; local
36 path.moveTo(pts[0]);
38 path.quadTo(pts[i], pts[i + 1]);
40 SkPathMeasure meas(path, false);
45 SkPath path; local
54 path.moveTo(pts[0])
77 SkPath path; local
    [all...]
PathOpsSimplifyFailTest.cpp 41 SkPath path; local
46 case 0: path.lineTo(nonFinitePts[i]); break;
47 case 1: path.quadTo(nonFinitePts[i], nonFinitePts[i]); break;
48 case 2: path.quadTo(nonFinitePts[i], finitePts[f]); break;
49 case 3: path.quadTo(finitePts[f], nonFinitePts[i]); break;
50 case 4: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[f]); break;
51 case 5: path.cubicTo(finitePts[f], nonFinitePts[i], finitePts[f]); break;
52 case 6: path.cubicTo(finitePts[f], finitePts[f], nonFinitePts[i]); break;
53 case 7: path.cubicTo(nonFinitePts[i], nonFinitePts[i], finitePts[f]); break;
54 case 8: path.cubicTo(nonFinitePts[i], finitePts[f], nonFinitePts[i]); break
70 SkPath path; local
    [all...]
StrokeTest.cpp 39 SkPath path, fillPath; local
40 path.moveTo(cubicVals[0]);
41 path.cubicTo(cubicVals[1], cubicVals[2], cubicVals[3]);
42 paint.getFillPath(path, &fillPath);
43 path.reset();
44 path.moveTo(SkBits2Float(hexCubicVals[0]), SkBits2Float(hexCubicVals[1]));
45 path.cubicTo(SkBits2Float(hexCubicVals[2]), SkBits2Float(hexCubicVals[3]),
48 paint.getFillPath(path, &fillPath);
70 SkPath path, fillPath; local
71 path.addRect(r)
    [all...]
  /external/skia/tools/
ThermalManager.cpp 40 SkString path; local
41 while (it.next(&path, true)) {
42 if (!path.contains("thermal_zone")) {
47 fullPath.append(path);
75 int32_t ThermalManager::OpenFileAndReadInt32(const char* path) {
76 FILE* tempFile = fopen(path, "r");
get_images_from_skps.cpp 16 DEFINE_string2(skps, s, "", "A path to a directory of skps.");
17 DEFINE_string2(out, o, "", "A path to an output directory.");
36 SkString path; local
42 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "jpg").c_str(), "");
43 path.appendS32(gCtr++);
44 path.append(".jpg");
47 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "png").c_str(), "");
48 path.appendS32(gCtr++);
49 path.append(".png");
52 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "gif").c_str(), "")
    [all...]
  /external/skia/tools/VisualBench/
VisualBenchmarkStream.cpp 36 // We draw a big nonAA path to warmup the gpu / cpu
52 // We draw a big path to warm up the cpu, and then use perlin noise shader to warm up the
89 SkString path; local
90 while (it.next(&path)) {
91 fSKPs.push_back() = SkOSPath::Join(FLAGS_skps[0], path.c_str());
107 bool VisualBenchmarkStream::ReadPicture(const char* path, SkAutoTUnref<SkPicture>* pic) {
110 if (SkCommandLineFlags::ShouldSkip(FLAGS_match, path)) {
114 SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(path));
116 SkDebugf("Could not read %s.\n", path);
122 SkDebugf("Could not read %s as an SkPicture.\n", path);
177 const SkString& path = fSKPs[fCurrentSKP++]; local
    [all...]
  /external/testng/src/test/java/test/ant/
TestCommandLineArgs.java 21 String path = "/wee/wom/flibble.txt"; local
23 String[] segments = path.split("[/\\\\]", -1);
32 String path = "c:\\\\com\\pants\\wibble.txt"; local
34 String[] segments = path.split("[/\\\\]", -1);
47 String path = file.getAbsolutePath(); local
49 assert path.split("[/\\\\]", -1).length > 1;
  /external/toybox/toys/posix/
chgrp.c 59 char *path = dirtree_path(node, 0); local
64 TT.group_name ? TT.group_name : "", path);
66 perror_msg("'%s' to '%s:%s'", path, TT.owner_name, TT.group_name);
67 free(path);
  /external/v8/test/mjsunit/tools/
profviz.js 42 var path = TEST_FILE_NAME.substr(0, path_length + 1); variable
43 var input_file = path + "profviz-test.log";
44 var reference_file = path + "profviz-test.default";
  /external/valgrind/coregrind/m_initimg/
initimg-pathscan.c 3 /*--- Startup: search PATH for an executable initimg-pathscan.c ---*/
106 // matching executable later in the path.
134 // No '/' - we need to search the path
135 HChar* path = VG_(getenv)("PATH"); local
141 scan_colsep(path, match_executable);
  /external/valgrind/memcheck/tests/x86-solaris/
scalar.c 36 const char path[] = "/"; local
40 SY(SYS_statvfs64, x0 + path, x0 + &stats); SUCC;

Completed in 1302 milliseconds

<<11121314151617181920>>