OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CANVAS_WIDTH
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/libs/hwui/tests/unit/
SkiaRenderPropertiesTests.cpp
44
static const int
CANVAS_WIDTH
= 100;
49
: TestCanvasBase(
CANVAS_WIDTH
, CANVAS_HEIGHT), mCallback(callback) {}
61
0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT,
66
canvas.drawRect(0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT, paint);
RenderNodeDrawableTests.cpp
429
static const int
CANVAS_WIDTH
= 400;
436
: SkCanvas(
CANVAS_WIDTH
, CANVAS_HEIGHT), mDrawCounter(drawCounter) {}
445
EXPECT_EQ(SkRect::MakeLTRB(0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT),
478
0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT,
487
canvas.drawRect(0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT, SkPaint());
506
0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT,
561
static const int
CANVAS_WIDTH
= 400;
565
ProjectionChildScrollTestCanvas() : SkCanvas(
CANVAS_WIDTH
, CANVAS_HEIGHT) {}
572
EXPECT_EQ(SkRect::MakeWH(
CANVAS_WIDTH
, CANVAS_HEIGHT), TestUtils::getClipBounds(this));
579
0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT
[
all
...]
SkiaPipelineTests.cpp
327
static const int
CANVAS_WIDTH
= 200;
331
ClippedTestCanvas() : SkCanvas(
CANVAS_WIDTH
, CANVAS_HEIGHT) {}
342
0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT,
344
sk_sp<Bitmap> bitmap(TestUtils::createBitmap(
CANVAS_WIDTH
, CANVAS_HEIGHT));
353
SkRect::MakeWH(
CANVAS_WIDTH
, CANVAS_HEIGHT), surface);
358
static const int
CANVAS_WIDTH
= 50;
362
ClipReplaceTestCanvas() : SkCanvas(
CANVAS_WIDTH
, CANVAS_HEIGHT) {}
383
SkRect::MakeWH(
CANVAS_WIDTH
, CANVAS_HEIGHT), surface);
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
TransitionDrawableTest.java
53
private static final int
CANVAS_WIDTH
= 10;
66
mTransitionDrawable.setBounds(0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT);
68
mBitmap = Bitmap.createBitmap(
CANVAS_WIDTH
, CANVAS_HEIGHT, Config.ARGB_8888);
197
verifyColorFillRect(mBitmap, 0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT, colorFrom);
202
verifyColorNotFillRect(mBitmap, 0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT, colorFrom);
203
verifyColorNotFillRect(mBitmap, 0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT, colorTo);
208
verifyColorFillRect(mBitmap, 0, 0,
CANVAS_WIDTH
, CANVAS_HEIGHT, colorTo);
Completed in 182 milliseconds