Lines Matching refs:mLoadedPreviews
141 private HashMap<String, WeakReference<Bitmap>> mLoadedPreviews; field in WidgetPreviewLoader
160 mLoadedPreviews = new HashMap<String, WeakReference<Bitmap>>(); in WidgetPreviewLoader()
202 synchronized(mLoadedPreviews) { in getPreview()
204 if (mLoadedPreviews.containsKey(name) && mLoadedPreviews.get(name).get() != null) { in getPreview()
205 return mLoadedPreviews.get(name).get(); in getPreview()
239 synchronized(mLoadedPreviews) { in getPreview()
240 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview)); in getPreview()
251 synchronized(mLoadedPreviews) { in getPreview()
252 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview)); in getPreview()
270 synchronized (mLoadedPreviews) { in recycleBitmap()
271 if (mLoadedPreviews.containsKey(name)) { in recycleBitmap()
272 Bitmap b = mLoadedPreviews.get(name).get(); in recycleBitmap()
274 mLoadedPreviews.remove(name); in recycleBitmap()