/external/skia/gm/ |
D | pictureimagegenerator.cpp | 106 SkISize onISize() override { in onISize() 107 return SkISize::Make(1160, 860); in onISize() 120 SkISize size; in onDraw() 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() 130 { SkISize::Make(200, 200), 1, 1, 0.75f }, in onDraw() 131 { SkISize::Make(200, 200), 1, 2, 0.5f }, in onDraw() [all …]
|
D | perlinnoise.cpp | 15 fSize = SkISize::Make(80, 80); in PerlinNoiseGM() 23 virtual SkISize onISize() { in onISize() 24 return SkISize::Make(200, 500); in onISize() 27 void drawRect(SkCanvas* canvas, int x, int y, const SkPaint& paint, const SkISize& size) { in drawRect() 39 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2); in test() 92 SkISize fSize; 98 fSize = SkISize::Make(80, 80); in PerlinNoiseGM2() 106 virtual SkISize onISize() { in onISize() 107 return SkISize::Make(640, 480); in onISize() 174 SkISize fSize;
|
D | gradients.cpp | 114 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() 367 const SkISize dim = this->getISize(); in onDraw() 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() [all …]
|
D | gradtext.cpp | 47 virtual SkISize onISize() { return SkISize::Make(500, 480); } in onISize() 76 virtual SkISize onISize() { return SkISize::Make(500, 480); } in onISize() 109 SkISize onISize() override { return SkISize::Make(500, 480); } in onISize() 135 const SkISize& size = this->getISize(); in onDraw()
|
D | bitmaprect.cpp | 44 SkISize onISize() override { in onISize() 45 return SkISize::Make(640, 480); in onISize() 134 SkISize onISize() override { in onISize() 135 return SkISize::Make(640, 480); in onISize() 193 SkISize onISize() override { in onISize() 194 return SkISize::Make(640, 480); in onISize() 243 SkISize onISize() override { in onISize() 244 return SkISize::Make(640, 480); in onISize()
|
D | gm.h | 40 SkISize::Make(W, H), BGCOLOR);) \ 63 SkISize getISize() { return this->onISize(); } in getISize() 113 virtual SkISize onISize() = 0; 134 const SkISize& size, in SimpleGM() 143 SkISize onISize() override; 148 SkISize fSize;
|
D | addarc.cpp | 21 SkISize onISize() override { return SkISize::Make(1040, 1040); } in onISize() 76 SkISize onISize() override { return SkISize::Make(2*R + 40, 2*R + 40); } in onISize() 127 SkISize onISize() override { return SkISize::Make(520, 520); } in onISize() 183 SkISize onISize() override { return SkISize::Make(620, 330); } in onISize()
|
D | strokes.cpp | 47 SkISize onISize() override { in onISize() 48 return SkISize::Make(W, H*2); in onISize() 110 SkISize onISize() override { in onISize() 111 return SkISize::Make(W, H*2); in onISize() 167 SkISize onISize() override { in onISize() 168 return SkISize::Make(W, H*2); in onISize() 289 SkISize onISize() override { in onISize() 290 return SkISize::Make(W, H*2); in onISize() 387 SkISize onISize() override { in onISize() 388 return SkISize::Make(1500, 1500); in onISize() [all …]
|
D | imagealphathreshold.cpp | 58 SkISize onISize() override { in onISize() 59 return SkISize::Make(WIDTH, HEIGHT); in onISize() 92 SkISize onISize() override { in onISize() 93 return SkISize::Make(WIDTH, HEIGHT); in onISize()
|
D | composeshader.cpp | 56 SkISize onISize() override { in onISize() 57 return SkISize::Make(120, 120); in onISize() 86 SkISize onISize() override { in onISize() 87 return SkISize::Make(750, 220); in onISize() 188 SkISize onISize() override { in onISize() 189 return SkISize::Make(7 * (squareLength + 5), 2 * (squareLength + 5)); in onISize()
|
/external/skia/bench/ |
D | ShapesBench.cpp | 49 int numShapes, const SkISize& shapesSize, bool perspective) in ShapesBench() 237 SkISize fShapesSize; 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);) [all …]
|
D | RectanizerBench.cpp | 89 SkISize size; in onDraw() 93 size = SkISize::Make(rand.nextRangeU(1, kWidth / 2), in onDraw() 96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)), in onDraw() 100 size = SkISize::Make(128, 128); in onDraw()
|
/external/skia/include/core/ |
D | SkSize.h | 75 typedef SkTSize<int32_t> SkISize; typedef 86 SkSize& operator=(const SkISize& src) { 91 SkISize toRound() const { in toRound() 92 SkISize s; in toRound() 97 SkISize toCeil() const { in toCeil() 98 SkISize s; in toCeil() 103 SkISize toFloor() const { in toFloor() 104 SkISize s; in toFloor()
|
D | SkImageGenerator.h | 142 bool getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], 170 SkISize fSizes[2]; 203 bool generateScaledPixels(const SkISize& scaledSize, const SkIPoint& subsetOrigin, 207 return this->generateScaledPixels(SkISize::Make(scaledPixels.width(), in generateScaledPixels() 224 static SkImageGenerator* NewFromPicture(const SkISize&, const SkPicture*, const SkMatrix*, 251 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3]); 252 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], 262 virtual bool onGenerateScaledPixels(const SkISize&, const SkIPoint&, const SkPixmap&) { in onGenerateScaledPixels() argument
|
D | SkImage.h | 142 const SkISize yuvSizes[3], 145 static SkImage* NewFromPicture(const SkPicture*, const SkISize& dimensions, 152 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); } in dimensions() 161 bool readYUV8Planes(const SkISize[3], void* const planes[3], const size_t rowBytes[3],
|
/external/skia/tests/ |
D | CodexTest.cpp | 88 const SkISize& size, SkCodec::Result expectedResult, SkMD5::Digest* digest, in test_codec() 156 SkISize size, in check() 346 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() [all …]
|
D | GpuRectanizerTest.cpp | 35 const SkTDArray<SkISize>& rects) { in test_rectanizer_inserts() 47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { in test_skyline() 54 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { in test_pow2() 62 SkTDArray<SkISize> rects; in DEF_GPUTEST() 66 rects.push(SkISize::Make(rand.nextRangeU(1, kWidth / 2), in DEF_GPUTEST()
|
D | ImageGeneratorTest.cpp | 49 SkISize sizes[3]; in DEF_TEST() 50 sizes[0] = SkISize::Make(200, 200); in DEF_TEST() 51 sizes[1] = SkISize::Make(100, 100); in DEF_TEST() 52 sizes[2] = SkISize::Make( 50, 50); in DEF_TEST()
|
/external/skia/include/codec/ |
D | SkCodec.h | 108 SkISize getScaledDimensions(float desiredScale) const { in getScaledDimensions() 112 return SkISize::Make(0, 0); in getScaledDimensions() 281 SkISize fYSize; 282 SkISize fUSize; 283 SkISize fVSize; 507 virtual SkISize onGetScaledDimensions(float /*desiredScale*/) const { in onGetScaledDimensions() 517 virtual bool onDimensionsSupported(const SkISize&) { in onDimensionsSupported() argument 650 bool dimensionsSupported(const SkISize& dim) { in dimensionsSupported()
|
/external/skia/src/core/ |
D | SkPictureImageGenerator.cpp | 18 static SkImageGenerator* Create(const SkISize&, const SkPicture*, const SkMatrix*, 25 bool onGenerateScaledPixels(const SkISize&, const SkIPoint&, const SkPixmap&) override; 32 SkPictureImageGenerator(const SkISize&, const SkPicture*, const SkMatrix*, const SkPaint*); 41 SkImageGenerator* SkPictureImageGenerator::Create(const SkISize& size, const SkPicture* picture, in Create() 50 SkPictureImageGenerator::SkPictureImageGenerator(const SkISize& size, const SkPicture* picture, in SkPictureImageGenerator() 99 bool SkPictureImageGenerator::onGenerateScaledPixels(const SkISize& scaledSize, in onGenerateScaledPixels() 124 SkImageGenerator* SkImageGenerator::NewFromPicture(const SkISize& size, const SkPicture* picture, in NewFromPicture()
|
/external/skia/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.h | 23 const SkISize& kernelSize, in Create() 36 const SkISize& kernelSize, 46 const SkISize& kernelSize() const { return fKernelSize; } in kernelSize() 59 const SkISize& kernelSize, 79 SkISize fKernelSize;
|
/external/skia/src/codec/ |
D | SkAndroidCodec.cpp | 119 SkISize SkAndroidCodec::getSampledDimensions(int sampleSize) const { in getSampledDimensions() 121 return SkISize::Make(0, 0); in getSampledDimensions() 140 SkISize SkAndroidCodec::getSampledSubsetDimensions(int sampleSize, const SkIRect& subset) const { in getSampledSubsetDimensions() 142 return SkISize::Make(0, 0); in getSampledSubsetDimensions() 150 return SkISize::Make(0, 0); in getSampledSubsetDimensions() 160 return SkISize::Make(get_scaled_dimension(subset.width(), sampleSize), in getSampledSubsetDimensions()
|
/external/skia/include/effects/ |
D | SkPerlinNoiseShader.h | 60 const SkISize* tileSize = NULL); 63 const SkISize* tileSize = NULL); 70 const SkISize* tileSize = NULL) { 113 const SkISize* tileSize); 121 const SkISize fTileSize;
|
/external/skia/experimental/SkPerlinNoiseShader2/ |
D | SkPerlinNoiseShader2.h | 66 const SkISize* tileSize = NULL); 69 const SkISize* tileSize = NULL); 82 const SkISize* tileSize = NULL) { 126 const SkISize* tileSize); 134 const SkISize fTileSize;
|
/external/skia/samplecode/ |
D | SampleRectanizer.cpp | 37 *fRects[0].append() = SkISize::Make(random.nextRangeU(kMinRectSize, kMaxRectSize), in RectanizerView() 39 *fRects[1].append() = SkISize::Make( in RectanizerView() 42 *fRects[2].append() = SkISize::Make(128, 128); in RectanizerView() 143 SkTDArray<SkISize> fRects[3]; 144 SkTDArray<SkISize>* fCurRects;
|