Lines Matching refs:width
71 void createContent(int width, int height, Canvas& canvas) override { in createContent() argument
72 mBg = createBitmapNode(canvas, 0xFF9C27B0, 0, 0, width, height); in createContent()
81 for (int x = dp(18); x < width - dp(18); x += dp(178)) { in createContent()
99 sp<RenderNode> createBitmapNode(Canvas& canvas, SkColor color, int left, int top, int width, in createBitmapNode() argument
102 left, top, left + width, top + height, in createBitmapNode()
103 [this, width, height, color](RenderProperties& props, Canvas& canvas) { in createBitmapNode()
105 mAllocator(width, height, kRGBA_8888_SkColorType, in createBitmapNode()
111 sp<RenderNode> createSharedBitmapNode(Canvas& canvas, int left, int top, int width, int height, in createSharedBitmapNode() argument
113 return TestUtils::createNode(left, top, left + width, top + height, in createSharedBitmapNode()
119 sp<RenderNode> createInfoNode(Canvas& canvas, int left, int top, int width, int height, in createInfoNode() argument
121 return TestUtils::createNode(left, top, left + width, top + height, in createInfoNode()
137 sp<RenderNode> createColorNode(Canvas& canvas, int left, int top, int width, int height, in createColorNode() argument
139 return TestUtils::createNode(left, top, left + width, top + height, in createColorNode()
152 sp<RenderNode> createCard(int x, int y, int width, int height, bool selected) { in createCard() argument
153 return TestUtils::createNode(x, y, x + width, y + height, [width, height, selected, this]( in createCard()
161 props.mutableOutline().setRoundRect(0, 0, width, height, roundedCornerRadius(), 1); in createCard()
166 : mAllocator(width, dp(120), kRGBA_8888_SkColorType, in createCard()
171 sp<RenderNode> cardImage = createSharedBitmapNode(canvas, 0, 0, width, dp(120), bitmap); in createCard()
182 createInfoNode(canvas, 0, dp(120), width, height, buffer, buffer2); in createCard()
188 createColorNode(canvas, 0, 0, width, height, 0x00000000); in createCard()