Searched refs:kBitmapSize (Results 1 - 5 of 5) sorted by relevance

/external/skia/tools/
H A Dchrome_fuzz.cpp11 static const int kBitmapSize = 24; variable
44 0, 0, SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize)));
71 bitmap.allocN32Pixels(kBitmapSize, kBitmapSize);
/external/skia/samplecode/
H A DSampleFilterFuzz.cpp46 static const int kBitmapSize = 24; variable
97 return SkRect::MakeWH(SkIntToScalar(R(static_cast<float>(kBitmapSize))),
98 SkIntToScalar(R(static_cast<float>(kBitmapSize))));
102 SkIRect iRegion = SkIRect::MakeXYWH(R(static_cast<float>(kBitmapSize)),
103 R(static_cast<float>(kBitmapSize)),
104 R(static_cast<float>(kBitmapSize)),
105 R(static_cast<float>(kBitmapSize)));
159 info = SkImageInfo::Make(kBitmapSize, kBitmapSize, rand_colortype(),
172 paint.setTextSize(SkIntToScalar(kBitmapSize/
[all...]
/external/skia/tests/
H A DSerializationTest.cpp23 static const int kBitmapSize = 256; variable
336 SkIRect canvasRect = SkIRect::MakeWH(kBitmapSize, kBitmapSize);
357 bitmap->allocN32Pixels(kBitmapSize, kBitmapSize);
369 const int i = kBitmapSize / 8;
371 for (int y = 0; y < kBitmapSize; y += i) {
372 for (int x = 0; x < kBitmapSize; x += i) {
397 canvas->drawCircle(SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/
[all...]
H A DSkResourceCacheTest.cpp17 static const int kBitmapSize = 16; variable
34 bitmap.allocN32Pixels(kBitmapSize, kBitmapSize);
38 SkScalar xScaledSize = SkIntToScalar(kBitmapSize) * xScale;
39 SkScalar yScaledSize = SkIntToScalar(kBitmapSize) * yScale;
57 size_t size = kBitmapSize * kScale * kBitmapSize * kScale
H A DImageFilterTest.cpp42 static const int kBitmapSize = 4; variable
93 bitmap.allocN32Pixels(kBitmapSize, kBitmapSize);
100 const int i = kBitmapSize / 4;
101 for (int y = 0; y < kBitmapSize; y += i) {
102 for (int x = 0; x < kBitmapSize; x += i) {
225 result.allocN32Pixels(kBitmapSize, kBitmapSize);
232 SkRect rect = SkRect::Make(SkIRect::MakeWH(kBitmapSize, kBitmapSize));
[all...]

Completed in 98 milliseconds