Home
last modified time | relevance | path

Searched refs:Make (Results 1 – 25 of 1722) sorted by relevance

12345678910>>...69

/external/skia/bench/
DPatchBench.cpp239 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kNone_VertexMode); )
240 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kColors_VertexMode); )
241 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kTexCoords_VertexMode); )
242 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kBoth_VertexMode); )
243 DEF_BENCH( return new PatchBench(SkVector::Make(1.f, 1.0f), PatchBench::kNone_VertexMode); )
244 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kColors_VertexMode); )
245 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kTexCoords_VertexMode); )
246 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kBoth_VertexMode); )
247 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kNone_VertexMode); )
248 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kColors_VertexMode); )
[all …]
DShapesBench.cpp133 SkIPoint onGetSize() override { return SkIPoint::Make(kBenchWidth, kBenchHeight); } in onGetSize()
254 10000, SkISize::Make(32, 32), false);)
256 10000, SkISize::Make(32, 32), false);)
258 10000, SkISize::Make(32, 33), false);)
260 10000, SkISize::Make(32, 32), false);)
262 10000, SkISize::Make(32, 33), false);)
266 100, SkISize::Make(500, 500), false);)
268 100, SkISize::Make(500, 500), false);)
270 100, SkISize::Make(500, 501), false);)
272 100, SkISize::Make(500, 500), false);)
[all …]
/external/skia/gm/
Dpictureimagegenerator.cpp66 const SkPoint pts1[] = { SkPoint::Make(underlineRect.x(), 0), in draw_vector_logo()
67 SkPoint::Make(iBox.centerX(), 0) }; in draw_vector_logo()
77 const SkPoint pts2[] = { SkPoint::Make(iBox.x() - iBox.width() * kGradientPad, 0), in draw_vector_logo()
78 SkPoint::Make(iBox.right() + iBox.width() * kGradientPad, 0) }; in draw_vector_logo()
107 return SkISize::Make(1160, 860); in onISize()
124 { SkISize::Make(200, 100), 1, 1, 1 }, in onDraw()
125 { SkISize::Make(200, 200), 1, 1, 1 }, in onDraw()
126 { SkISize::Make(200, 200), 1, 2, 1 }, in onDraw()
127 { SkISize::Make(400, 200), 2, 2, 1 }, in onDraw()
129 { SkISize::Make(200, 100), 1, 1, 0.9f }, in onDraw()
[all …]
Ddegeneratesegments.cpp30 SkISize onISize() { return SkISize::Make(896, 930); } in onISize()
38 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMove()
44 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveClose()
56 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenLine()
63 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenLineClose()
76 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenQuad()
83 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenQuadClose()
96 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenCubic()
103 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenCubicClose()
116 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddLine()
[all …]
Dgradients.cpp114 virtual SkISize onISize() { return SkISize::Make(840, 815); } in onISize()
175 virtual SkISize onISize() { return SkISize::Make(840, 815); } in onISize()
231 virtual SkISize onISize() { return SkISize::Make(840, 500); } in onISize()
273 virtual SkISize onISize() { return SkISize::Make(320, 320); } in onISize()
318 virtual SkISize onISize() { return SkISize::Make(640, 510); } in onISize()
362 SkISize onISize() override { return SkISize::Make(1280, 1280); } in onISize()
405 SkISize onISize() override { return SkISize::Make(800, 400); } in onISize()
478 SkISize onISize() override { return SkISize::Make(500, 500); } in onISize()
515 SkISize onISize() override { return SkISize::Make(500, 500); } in onISize()
557 SkISize onISize() override { return SkISize::Make(500, 500); } in onISize()
[all …]
Dimagefiltersscaled.cpp43 return SkISize::Make(1428, 500); in onISize()
62 SkPoint3 pointLocation = SkPoint3::Make(0, 0, SkIntToScalar(10)); in onDraw()
63 SkPoint3 spotLocation = SkPoint3::Make(SkIntToScalar(-10), in onDraw()
66 SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in onDraw()
96 SkVector::Make(SkScalarInvert(2), SkScalarInvert(2)), in onDraw()
97 SkVector::Make(SkIntToScalar(1), SkIntToScalar(1)), in onDraw()
98 SkVector::Make(SkIntToScalar(1), SkIntToScalar(2)), in onDraw()
99 SkVector::Make(SkIntToScalar(2), SkIntToScalar(1)), in onDraw()
100 SkVector::Make(SkIntToScalar(2), SkIntToScalar(2)), in onDraw()
149 SkGradientShader::CreateRadial(SkPoint::Make(x, y), radius, colors, nullptr, 2, in MakeGradientCircle()
Dmatrixconvolution.cpp36 SkPoint pts[2] = { SkPoint::Make(0, 0), in makeBitmap()
37 SkPoint::Make(0, SkIntToScalar(80)) }; in makeBitmap()
47 return SkISize::Make(500, 300); in onISize()
58 SkISize kernelSize = SkISize::Make(3, 3); in draw()
88 SkIPoint kernelOffset = SkIPoint::Make(1, 0); in onDraw()
89 SkImageFilter::CropRect rect(SkRect::Make(fBitmap.bounds())); in onDraw()
Dlighting.cpp31 return SkISize::Make(WIDTH, HEIGHT); in onISize()
60 SkPoint3 pointLocation = SkPoint3::Make(0, 0, SkIntToScalar(10)); in onDraw()
63 SkPoint3 distantDirection = SkPoint3::Make(SkScalarMul(SkScalarCos(azimuthRad), in onDraw()
68 SkPoint3 spotLocation = SkPoint3::Make(SkIntToScalar(-10), in onDraw()
71 SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in onDraw()
Dpictureshader.cpp53 return SkISize::Make(1400, 1450); in onISize()
57 this->drawSceneColumn(canvas, SkPoint::Make(0, 0), 1, 1, 0); in onDraw()
58 this->drawSceneColumn(canvas, SkPoint::Make(0, fSceneSize * 6.4f), 1, 2, 0); in onDraw()
59 this->drawSceneColumn(canvas, SkPoint::Make(fSceneSize * 2.4f, 0), 1, 1, 1); in onDraw()
60 this->drawSceneColumn(canvas, SkPoint::Make(fSceneSize * 2.4f, fSceneSize * 6.4f), 1, 1, 2); in onDraw()
61 this->drawSceneColumn(canvas, SkPoint::Make(fSceneSize * 4.8f, 0), 2, 1, 0); in onDraw()
62 this->drawSceneColumn(canvas, SkPoint::Make(fSceneSize * 9.6f, 0), 2, 2, 0); in onDraw()
Dstringart.cpp32 return SkISize::Make(kWidth, kHeight); in onISize()
38 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight)); in onDraw()
47 SkPoint rp = SkPoint::Make(length*SkScalarCos(step) + center.fX, in onDraw()
/external/skia/samplecode/
DSampleClock.cpp80 radii[0] = SkPoint::Make(2.5f,2.5f); in onDrawContent()
81 radii[1] = SkPoint::Make(2.5f,2.5f); in onDrawContent()
82 radii[2] = SkPoint::Make(2.5f,2.5f); in onDrawContent()
83 radii[3] = SkPoint::Make(2.5f,2.5f); in onDrawContent()
120 radii[0] = SkPoint::Make(7,7); in onDrawContent()
121 radii[1] = SkPoint::Make(7,7); in onDrawContent()
122 radii[2] = SkPoint::Make(7,7); in onDrawContent()
123 radii[3] = SkPoint::Make(7,7); in onDrawContent()
141 radii[0] = SkPoint::Make(5,5); in onDrawContent()
142 radii[1] = SkPoint::Make(5,5); in onDrawContent()
[all …]
DSampleLighting.cpp18 const SkVector3 dir = SkVector3::Make(SkScalarSin(angle)*SkScalarSin(SK_ScalarPI*0.25f), in create_lights()
24 builder.add(SkLight(SkColor3f::Make(1.0f, 1.0f, blue), dir)); in create_lights()
25 builder.add(SkLight(SkColor3f::Make(0.1f, 0.1f, 0.1f))); in create_lights()
52 lights, SkVector::Make(1.0f, 0.0f), in LightingView()
79 lights, SkVector::Make(1.0f, 0.0f), in onDrawContent()
/external/skia/tests/
DPoint3Test.cpp14 const SkPoint3 p0 = SkPoint3::Make(0, 0, 0); in test_eq_ops()
15 const SkPoint3 p1 = SkPoint3::Make(1, 1, 1); in test_eq_ops()
16 const SkPoint3 p2 = SkPoint3::Make(1, 1, 1); in test_eq_ops()
23 SkPoint3 v = SkPoint3::Make(1, 1, 1); in test_ops()
34 SkPoint3 p1 = SkPoint3::Make(20.0f, 2.0f, 10.0f); in test_ops()
51 const SkPoint3 xAxis = SkPoint3::Make(1.0f, 0.0f, 0.0f); in test_dot()
52 const SkPoint3 yAxis = SkPoint3::Make(0.0f, 1.0f, 0.0f); in test_dot()
53 const SkPoint3 zAxis = SkPoint3::Make(0.0f, 0.0f, 1.0f); in test_dot()
64 SkPoint3 v = SkPoint3::Make(13.0f, 2.0f, 7.0f); in test_dot()
70 v = SkPoint3::Make(SK_ScalarRoot2Over2, SK_ScalarRoot2Over2, 0.0f); in test_dot()
[all …]
DCodexTest.cpp346 check(r, "mandrill.wbmp", SkISize::Make(512, 512), true, false); in DEF_TEST()
349 check(r, "baby_tux.webp", SkISize::Make(386, 395), false, true); in DEF_TEST()
350 check(r, "color_wheel.webp", SkISize::Make(128, 128), false, true); in DEF_TEST()
351 check(r, "yellow_rose.webp", SkISize::Make(400, 301), false, true); in DEF_TEST()
354 check(r, "randPixels.bmp", SkISize::Make(8, 8), true, false); in DEF_TEST()
355 check(r, "rle.bmp", SkISize::Make(320, 240), true, false); in DEF_TEST()
361 check(r, "color_wheel.ico", SkISize::Make(128, 128), true, false, false); in DEF_TEST()
363 check(r, "google_chrome.ico", SkISize::Make(256, 256), true, false, false); in DEF_TEST()
367 check(r, "box.gif", SkISize::Make(200, 55), true, false, false); in DEF_TEST()
368 check(r, "color_wheel.gif", SkISize::Make(128, 128), true, false, false); in DEF_TEST()
[all …]
DImageFilterTest.cpp238 SkRect rect = SkRect::Make(SkIRect::MakeWH(kBitmapSize, kBitmapSize)); in DEF_TEST()
254 SkPoint3 location = SkPoint3::Make(0, 0, SK_Scalar1); in DEF_TEST()
256 SkPoint3 target = SkPoint3::Make(location.fX, location.fY, location.fZ); in DEF_TEST()
287 SkPoint3 location = SkPoint3::Make(0, 0, SK_Scalar1); in test_crop_rects()
293 SkISize kernelSize = SkISize::Make(3, 3); in test_crop_rects()
307 …SkMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, SkIPoint::Make(1, 1), SkMat… in test_crop_rects()
348 SkGradientShader::CreateRadial(SkPoint::Make(x, y), radius, colors, nullptr, 2, in make_gradient_circle()
425 SkPoint3 location = SkPoint3::Make(0, 0, SK_Scalar1); in DEF_TEST()
431 const SkISize kernelSize = SkISize::Make(3, 3); in DEF_TEST()
449 recordingCanvas->drawRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 30, 20)), greenPaint); in DEF_TEST()
[all …]
DSkResourceCacheTest.cpp99 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), cache); in test_mipmapcache()
106 const SkMipMap* mm = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), cache); in test_mipmapcache()
120 mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), cache); in test_mipmapcache()
139 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src[i]), cache); in test_mipmap_notify()
149 mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src[i]), cache); in test_mipmap_notify()
204 make_bitmap(&cachedBitmap, SkImageInfo::Make(5, 5, testType, kPremul_SkAlphaType), in testBitmapCache_discarded_bitmap()
233 make_bitmap(&cachedBitmap, SkImageInfo::Make(5, 5, testType, kPremul_SkAlphaType), in testBitmapCache_discarded_bitmap()
326 return SkImage::NewFromPicture(picture, SkISize::Make(10, 10), nullptr, nullptr); in DEF_TEST()
/external/vulkan-validation-layers/tests/gtest-1.7.0/codegear/
Dgtest.groupproj23 <Target Name="gtest:Make">
24 <MSBuild Projects="gtest.cbproj" Targets="Make" />
32 <Target Name="gtest_main:Make">
33 <MSBuild Projects="gtest_main.cbproj" Targets="Make" />
41 <Target Name="gtest_unittest:Make">
42 <MSBuild Projects="gtest_unittest.cbproj" Targets="Make" />
50 <Target Name="Make">
51 <CallTarget Targets="gtest:Make;gtest_main:Make;gtest_unittest:Make" />
/external/google-breakpad/src/testing/gtest/codegear/
Dgtest.groupproj23 <Target Name="gtest:Make">
24 <MSBuild Projects="gtest.cbproj" Targets="Make" />
32 <Target Name="gtest_main:Make">
33 <MSBuild Projects="gtest_main.cbproj" Targets="Make" />
41 <Target Name="gtest_unittest:Make">
42 <MSBuild Projects="gtest_unittest.cbproj" Targets="Make" />
50 <Target Name="Make">
51 <CallTarget Targets="gtest:Make;gtest_main:Make;gtest_unittest:Make" />
/external/protobuf/gtest/codegear/
Dgtest.groupproj23 <Target Name="gtest:Make">
24 <MSBuild Projects="gtest.cbproj" Targets="Make" />
32 <Target Name="gtest_main:Make">
33 <MSBuild Projects="gtest_main.cbproj" Targets="Make" />
41 <Target Name="gtest_unittest:Make">
42 <MSBuild Projects="gtest_unittest.cbproj" Targets="Make" />
50 <Target Name="Make">
51 <CallTarget Targets="gtest:Make;gtest_main:Make;gtest_unittest:Make" />
/external/skia/src/gpu/
DGrOvalRenderer.cpp698 verts[0].fPos = SkPoint::Make(bounds.fLeft, bounds.fTop); in onPrepareDraws()
700 verts[0].fOffset = SkPoint::Make(-1, -1); in onPrepareDraws()
704 verts[1].fPos = SkPoint::Make(bounds.fLeft, bounds.fBottom); in onPrepareDraws()
706 verts[1].fOffset = SkPoint::Make(-1, 1); in onPrepareDraws()
710 verts[2].fPos = SkPoint::Make(bounds.fRight, bounds.fBottom); in onPrepareDraws()
712 verts[2].fOffset = SkPoint::Make(1, 1); in onPrepareDraws()
716 verts[3].fPos = SkPoint::Make(bounds.fRight, bounds.fTop); in onPrepareDraws()
718 verts[3].fOffset = SkPoint::Make(1, -1); in onPrepareDraws()
779 SkPoint center = SkPoint::Make(circle.centerX(), circle.centerY()); in create_circle_batch()
916 verts[0].fPos = SkPoint::Make(bounds.fLeft, bounds.fTop); in onPrepareDraws()
[all …]
/external/skia/src/core/
DSkBitmapCache.h28 static SkBitmapCacheDesc Make(const SkBitmap&, int width, int height);
29 static SkBitmapCacheDesc Make(const SkBitmap&);
30 static SkBitmapCacheDesc Make(const SkImage*, int width, int height);
31 static SkBitmapCacheDesc Make(const SkImage*);
DSkBitmapProvider.cpp64 return fImage ? SkBitmapCacheDesc::Make(fImage, w, h) : SkBitmapCacheDesc::Make(fBitmap, w, h); in makeCacheDesc()
68 return fImage ? SkBitmapCacheDesc::Make(fImage) : SkBitmapCacheDesc::Make(fBitmap); in makeCacheDesc()
DSkMaskCache.cpp113 fSizes[0] = SkSize::Make(0, 0); in RectsBlurKey()
114 fSizes[1] = SkSize::Make(0, 0); in RectsBlurKey()
115 fSizes[2] = SkSize::Make(0, 0); in RectsBlurKey()
116 fSizes[3] = SkSize::Make(rects[0].x() - ir.x(), rects[0].y() - ir.y()); in RectsBlurKey()
118 fSizes[i] = SkSize::Make(rects[i].width(), rects[i].height()); in RectsBlurKey()
121 fSizes[2] = SkSize::Make(rects[0].x() - rects[1].x(), rects[0].y() - rects[1].y()); in RectsBlurKey()
/external/llvm/test/CodeGen/AArch64/
Darm64-ld1.ll9 ; Make sure we are loading into the results defined by the ABI (i.e., v0, v1)
19 ; Make sure we are using the operands defined by the ABI
28 ; Make sure we are using the operands defined by the ABI
45 ; Make sure we are using the operands defined by the ABI
54 ; Make sure we are using the operands defined by the ABI
63 ; Make sure we are using the operands defined by the ABI
80 ; Make sure we are using the operands defined by the ABI
89 ; Make sure we are using the operands defined by the ABI
98 ; Make sure we are using the operands defined by the ABI
115 ; Make sure we are using the operands defined by the ABI
[all …]
/external/skia/tools/
Dsk_tool_utils.cpp176 const SkImageInfo info = SkImageInfo::Make(tmp.width(), tmp.height(), colorType, alphaType); in write_pixels()
249 const SkPoint center = SkPoint::Make(dst.fLeft + (dst.width() / 2.0f), in create_hemi_normal_map()
251 const SkPoint halfSize = SkPoint::Make(dst.width() / 2.0f, dst.height() / 2.0f); in create_hemi_normal_map()
273 const SkPoint center = SkPoint::Make(dst.fLeft + (dst.width() / 2.0f), in create_frustum_normal_map()
280 const SkPoint3 left = SkPoint3::Make(-SK_ScalarRoot2Over2, 0.0f, SK_ScalarRoot2Over2); in create_frustum_normal_map()
281 const SkPoint3 up = SkPoint3::Make(0.0f, -SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); in create_frustum_normal_map()
282 const SkPoint3 right = SkPoint3::Make(SK_ScalarRoot2Over2, 0.0f, SK_ScalarRoot2Over2); in create_frustum_normal_map()
283 const SkPoint3 down = SkPoint3::Make(0.0f, SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); in create_frustum_normal_map()
314 const SkPoint center = SkPoint::Make(dst.fLeft + (dst.width() / 2.0f), in create_tetra_normal_map()
320 const SkPoint3 leftUp = SkPoint3::Make(-k1OverRoot3, -k1OverRoot3, k1OverRoot3); in create_tetra_normal_map()
[all …]

12345678910>>...69