Searched refs:gSize (Results 1 – 7 of 7) sorted by relevance
36 static const SkISize gSize[] = { in onDrawContent() local54 for (size_t j = 0; j < SK_ARRAY_COUNT(gSize); ++j) { in onDrawContent()55 SkRect r = SkRect::MakeWH(SkIntToScalar(gSize[j].fWidth), in onDrawContent()56 SkIntToScalar(gSize[j].fHeight)); in onDrawContent()
63 constexpr int gSize = 1024; variable80 SkISize onISize() override { return SkISize::Make(gSize, gSize); } in onISize()123 if ((dstRect.width() + 2 * kPadX) * rowCount > gSize) { in onDraw()
134 constexpr int gSize = 1024; variable154 SkISize onISize() override { return SkISize::Make(gSize, gSize); } in onISize()172 canvas->drawImageRect(fImage, SkRect::MakeIWH(gSize, gSize), &paint); in onDraw()212 if ((dstRect.width() + kPadX) * rowCount > gSize) { in onDraw()
90 static const uint8_t gSize[] = { in SkColorTypeBytesPerPixel() local100 static_assert(SK_ARRAY_COUNT(gSize) == (size_t)(kLastEnum_SkColorType + 1), in SkColorTypeBytesPerPixel()103 SkASSERT((size_t)ct < SK_ARRAY_COUNT(gSize)); in SkColorTypeBytesPerPixel()104 return gSize[ct]; in SkColorTypeBytesPerPixel()
50 const GLuint gSize = ctx->PixelMaps.GtoG.Size; in load_color_map_texture() local73 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; in load_color_map_texture()
517 int gSize; in OnSize() local529 gSize = labelSize + valueSize; in OnSize()530 padSize = xSizeClient - gSize * 2; in OnSize()533 labelSize = gSize - valueSize; in OnSize()544 x = mx + gSize + padSize; in OnSize()
30 #undef gSize