Lines Matching refs:kWidth
267 static const int kWidth = 100; in test_savelayer_extraction() local
286 SkCanvas* c = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight), in test_savelayer_extraction()
320 SkCanvas* c = recorder.beginRecording(SkIntToScalar(kWidth), in test_savelayer_extraction()
330 c->translate(kWidth / 2.0f, kHeight / 2.0f); in test_savelayer_extraction()
331 SkRect r = SkRect::MakeXYWH(0, 0, kWidth/2, kHeight/2); in test_savelayer_extraction()
390 REPORTER_ASSERT(reporter, kWidth == info0.fBounds.width() && in test_savelayer_extraction()
399 REPORTER_ASSERT(reporter, kWidth/2.0 == info1.fBounds.width() && in test_savelayer_extraction()
403 REPORTER_ASSERT(reporter, kWidth/2.0 == info1.fBounds.fLeft && in test_savelayer_extraction()
410 REPORTER_ASSERT(reporter, kWidth / 2 == info2.fBounds.width() && in test_savelayer_extraction()
414 REPORTER_ASSERT(reporter, kWidth / 2 == info2.fBounds.fLeft && // translated in test_savelayer_extraction()
420 REPORTER_ASSERT(reporter, kWidth == info3.fBounds.width() && in test_savelayer_extraction()
429 REPORTER_ASSERT(reporter, kWidth == info4.fBounds.width() && in test_savelayer_extraction()
439 REPORTER_ASSERT(reporter, kWidth == info5.fBounds.width() && in test_savelayer_extraction()
448 REPORTER_ASSERT(reporter, kWidth-10 == info6.fBounds.width() && in test_savelayer_extraction()
458 REPORTER_ASSERT(reporter, kWidth == info7.fBounds.width() && in test_savelayer_extraction()