Searched refs:kTileWidthHeight (Results 1 – 2 of 2) sorted by relevance
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 61 static const int kTileWidthHeight = 128; variable 331 int widthHeight = kTileWidthHeight + (padWithRed ? 2 * kSubsetPadding : 0); in make_bitmap() 345 canvas->clipRect(SkRect::MakeWH(kTileWidthHeight, kTileWidthHeight)); in make_bitmap() 730 y += kTileWidthHeight/2 + textRect.height()/2; in draw_row_label() 799 int wh = SkScalarCeilToInt(kTileWidthHeight * (fUseSubset ? 1.5f : 1.f)); in onISize() 805 SkPoint origin = { kTileWidthHeight/2.0f, kTileWidthHeight/2.0f }; in createBitmaps() 806 float outerRadius = kTileWidthHeight/2.0f - 20.0f; in createBitmaps() 905 float cellWidth = kTileWidthHeight, cellHeight = kTileWidthHeight; in onDraw() 1006 return SkISize::Make(numCols * (kTileWidthHeight + kPad) + kPad, in onISize() 1007 numRows * (kTileWidthHeight + kPad) + kPad); in onISize() [all …]
|
/external/skqp/gm/ |
D | wacky_yuv_formats.cpp | 24 static const int kTileWidthHeight = 128; variable 159 SkImageInfo ii = SkImageInfo::MakeN32(kTileWidthHeight, kTileWidthHeight, kPremul_SkAlphaType); in make_bitmap() 659 y += kTileWidthHeight/2 + textRect.height()/2; in draw_row_label() 740 return SkISize::Make(kLabelWidth + numCols * (kTileWidthHeight + kPad), in onISize() 741 kLabelHeight + numRows * (kTileWidthHeight + kPad)); in onISize() 745 SkPoint origin = { kTileWidthHeight/2.0f, kTileWidthHeight/2.0f }; in onOnceBeforeDraw() 746 float outerRadius = kTileWidthHeight/2.0f - 20.0f; in onOnceBeforeDraw() 858 draw_col_label(canvas, x+kTileWidthHeight/2, cs, opaque); in onDraw() 861 y += kTileWidthHeight + kPad; in onDraw() 872 y += kTileWidthHeight + kPad; in onDraw() [all …]
|