Searched refs:maxDimension (Results 1 – 4 of 4) sorted by relevance
18 const int maxDimension = SK_MaxS32 >> 2; in ValidArgs() local24 if (info.fWidth > maxDimension || info.fHeight > maxDimension) { in ValidArgs()
322 const int maxDimension = 1000; in timePict() local324 int xInterval = SkTMax(pWidth - maxDimension, 0) / (slices - 1); in timePict()325 int yInterval = SkTMax(pHeight - maxDimension, 0) / (slices - 1); in timePict()326 SkRect rect = {0, 0, SkIntToScalar(SkTMin(maxDimension, pWidth)), in timePict()327 SkIntToScalar(SkTMin(maxDimension, pHeight))}; in timePict()
639 const static long maxDimension = 10000000; in setDeviceMetricsOverride() local644 if (width < 0 || height < 0 || width > maxDimension || height > maxDimension) { in setDeviceMetricsOverride()645 …ing = "Width and height values must be positive, not greater than " + String::number(maxDimension); in setDeviceMetricsOverride()