Lines Matching defs:WorkItem
37 private final ArrayList<WorkItem> mQueue = new ArrayList<WorkItem>();
55 WorkItem w = new WorkItem(image, imageLoadedRunnable, tag);
96 private static class WorkItem {
101 WorkItem(IImage image, LoadedCallback onLoadedRunnable, int tag) {
120 WorkItem workItem = null;
126 workItem = mQueue.remove(0);
137 final Bitmap b = workItem.mImage.miniThumbBitmap();
139 if (workItem.mOnLoadedRunnable != null) {
140 workItem.mOnLoadedRunnable.run(b);