Lines Matching refs:kWidth
46 static const int kWidth = 17;
48 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
55 REPORTER_ASSERT(reporter, kWidth % 4 != 0);
80 static const int kWidth = 12;
82 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight);
88 REPORTER_ASSERT(reporter, kWidth % 12 == 0);
113 static const int kWidth = 48; // We need the number to be divisible by both
115 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
123 REPORTER_ASSERT(reporter, kWidth % 48 == 0);
143 for (int x = 0; x < kWidth; ++x) {
154 SkAutoMalloc decompMemory(kWidth*kHeight);
178 decompBuffer, kWidth,
180 kWidth, kHeight, fmt);
191 for (int x = 0; x < kWidth; ++x) {
192 bool ok = pixels[y*bitmap.rowBytes() + x] == decompBuffer[y*kWidth + x];
208 static const int kWidth = 8;
210 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
221 REPORTER_ASSERT(reporter, kWidth % latcDimX == 0);
224 SkTextureCompressor::GetCompressedDataSize(kLATCFormat, kWidth, kHeight);
225 REPORTER_ASSERT(reporter, kSizeToBe == ((kWidth*kHeight*kLATCEncodedBlockSize)/16));
237 for (int i = 0; i < kWidth*kHeight; ++i) {