Home
last modified time | relevance | path

Searched refs:mLoadedPreviews (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DWidgetPreviewLoader.java141 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()
[all …]