Home | History | Annotate | Download | only in tests

Lines Matching defs:kWidth

278     static const int kWidth = 100;
297 SkCanvas* c = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight),
331 SkCanvas* c = recorder.beginRecording(SkIntToScalar(kWidth),
341 c->translate(kWidth / 2.0f, kHeight / 2.0f);
342 SkRect r = SkRect::MakeXYWH(0, 0, kWidth/2, kHeight/2);
402 REPORTER_ASSERT(reporter, kWidth == info0.fBounds.width() &&
411 REPORTER_ASSERT(reporter, kWidth/2.0 == info1.fBounds.width() &&
415 REPORTER_ASSERT(reporter, kWidth/2.0 == info1.fBounds.fLeft &&
422 REPORTER_ASSERT(reporter, kWidth / 2 == info2.fBounds.width() &&
426 REPORTER_ASSERT(reporter, kWidth / 2 == info2.fBounds.fLeft && // translated
432 REPORTER_ASSERT(reporter, kWidth == info3.fBounds.width() &&
441 REPORTER_ASSERT(reporter, kWidth == info4.fBounds.width() &&
451 REPORTER_ASSERT(reporter, kWidth == info5.fBounds.width() &&
460 REPORTER_ASSERT(reporter, kWidth-10 == info6.fBounds.width() &&
470 REPORTER_ASSERT(reporter, kWidth == info7.fBounds.width() &&