Lines Matching refs:strike
48 strike objects in use.
50 access to a strike, so that it may be shared by multiple client objects,
53 burden of keeping track of strike references to the SG2D and other clients.
81 * suffice in Solaris UTF-8 locales where a single composite strike may be
82 * composed of 15 individual strikes, plus the composite strike.
88 * strikes are cached. Every time a strike is looked up it is added
195 static void refStrike(FontStrike strike) {
197 recentStrikes[index] = strike;
227 * for a strike that never was asked to rasterise a glyph.
245 /* Rarely a strike may have been created that never cached
262 // we need to execute the strike disposal on the rendering thread
267 // strike disposal is a relatively infrequent operation, so it
381 public static Reference getStrikeRef(FontStrike strike) {
382 return getStrikeRef(strike, cacheRefTypeWeak);
385 public static Reference getStrikeRef(FontStrike strike, boolean weak) {
390 * But any strike that reaches here that has a null disposer is
393 if (strike.disposer == null) {
395 return new WeakReference(strike);
397 return new SoftReference(strike);
402 return new WeakDisposerRef(strike);
404 return new SoftDisposerRef(strike);
421 SoftDisposerRef(FontStrike strike) {
422 super(strike, StrikeCache.refQueue);
423 disposer = strike.disposer;
437 WeakDisposerRef(FontStrike strike) {
438 super(strike, StrikeCache.refQueue);
439 disposer = strike.disposer;