Lines Matching refs:dp
76 mSingleBitmap = mAllocator(dp(160), dp(120), kRGBA_8888_SkColorType, in createContent()
79 for (int y = dp(18) - dp(178); y < height - dp(18); y += dp(178)) { in createContent()
81 for (int x = dp(18); x < width - dp(18); x += dp(178)) { in createContent()
82 sp<RenderNode> card = createCard(x, y, dp(160), dp(160), isFirstCard); in createContent()
147 virtual float roundedCornerRadius() { return dp(2); } in roundedCornerRadius()
157 props.setElevation(dp(16)); 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()
244 virtual float roundedCornerRadius() override { return dp(0); } in roundedCornerRadius()
261 virtual float roundedCornerRadius() override { return dp(0); } in roundedCornerRadius()