Lines Matching refs:config
84 public Image getImage(final GraphicsConfiguration config, final int w,
87 final int hash = hash(config, w, h, scale, state);
97 if (ref != null && ref.equals(config, w, h, scale, state)) {
107 * @param config The graphics configuration, needed if cached image is a Volatile Image. Used as part of cache key
114 final GraphicsConfiguration config, final int w, final int h,
120 final int hash = hash(config, w, h, scale, state);
158 map.put(hash, new PixelCountSoftReference(image, referenceQueue, newPixelCount, hash, config, w, h, scale, state));
165 private static int hash(final GraphicsConfiguration config, final int w,
168 int hash = config != null ? config.hashCode() : 0;
188 private final GraphicsConfiguration config;
196 final int hash, final GraphicsConfiguration config, final int w,
201 this.config = config;
208 boolean equals(final GraphicsConfiguration config, final int w,
210 return config == this.config && w == this.w && h == this.h
216 // private VolatileImage getImage(GraphicsConfiguration config, JComponent c, int w, int h, Object[] extendedCacheKeys) {
217 // VolatileImage buffer = (VolatileImage)getImage(config, w, h, this, extendedCacheKeys);
224 // bufferStatus = buffer.validate(config);
240 // buffer = config.createCompatibleVolatileImage(w, h, Transparency.TRANSLUCENT);
242 // setImage(buffer, config, w, h, this, extendedCacheKeys);