Lines Matching refs:baseWidth
119 int baseWidth, int baseHeight, in getImage() argument
144 if( config != null && (w != baseHeight || h != baseWidth)) { in getImage()
150 if (Math.abs(sx * baseWidth - w) < 1 && in getImage()
152 w = baseWidth; in getImage()
171 if ((w != baseWidth || h != baseHeight)) { in getImage()
172 g2.scale((double) w / baseWidth, in getImage()
175 paintToImage(c, image, g2, baseWidth, baseHeight, args); in getImage()
290 private final int baseWidth; field in CachedPainter.PainterMultiResolutionCachedImage
295 public PainterMultiResolutionCachedImage(int baseWidth, int baseHeight) { in PainterMultiResolutionCachedImage() argument
296 this.baseWidth = baseWidth; in PainterMultiResolutionCachedImage()
307 return baseWidth; in getWidth()
320 c, baseWidth, baseHeight, w, h, args); in getResolutionVariant()
325 return getResolutionVariant(baseWidth, baseHeight); in getBaseImage()
330 return Arrays.asList(getResolutionVariant(baseWidth, baseHeight)); in getResolutionVariants()