Home
last modified time | relevance | path

Searched refs:kSmallerSize (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DSpecialImageTest.cpp39 static const int kSmallerSize = 10; variable
41 static const int kFullSize = kSmallerSize + 2 * kPad;
56 SkIntToScalar(kSmallerSize), SkIntToScalar(kSmallerSize)), in create_bm()
68 REPORTER_ASSERT(reporter, kSmallerSize == subset.width()); in test_image()
69 REPORTER_ASSERT(reporter, kSmallerSize == subset.height()); in test_image()
102 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kSmallerSize+kPad-1, in test_image()
103 kSmallerSize+kPad-1)); in test_image()
104 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kSmallerSize+kPad, in test_image()
105 kSmallerSize+kPad)); in test_image()
111 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_TEST()
[all …]
DSpecialSurfaceTest.cpp31 static const int kSmallerSize = 10; variable
33 static const int kFullSize = kSmallerSize + 2 * kPad;
41 REPORTER_ASSERT(reporter, kSmallerSize == surfSubset.width()); in test_surface()
42 REPORTER_ASSERT(reporter, kSmallerSize == surfSubset.height()); in test_surface()
61 SkImageInfo info = SkImageInfo::MakeN32(kSmallerSize, kSmallerSize, kOpaque_SkAlphaType); in DEF_TEST()
72 const SkIRect subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_TEST()
87 desc.fWidth = kSmallerSize; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
88 desc.fHeight = kSmallerSize; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
106 const SkIRect subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageFilterCacheTest.cpp17 static const int kSmallerSize = 10; variable
19 static const int kFullSize = kSmallerSize + 2 * kPad;
140 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_TEST()
157 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in test_image_backed()
226 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()