Home
last modified time | relevance | path

Searched refs:ThreadPool (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DBatchService.java24 import com.android.gallery3d.util.ThreadPool;
35 private ThreadPool mThreadPool = new ThreadPool(1, 1);
45 public ThreadPool getThreadPool() { in getThreadPool()
DGalleryAppImpl.java30 import com.android.gallery3d.util.ThreadPool;
43 private ThreadPool mThreadPool;
83 public synchronized ThreadPool getThreadPool() { in getThreadPool()
85 mThreadPool = new ThreadPool(); in getThreadPool()
DSlideshowDataAdapter.java28 import com.android.gallery3d.util.ThreadPool;
29 import com.android.gallery3d.util.ThreadPool.Job;
30 import com.android.gallery3d.util.ThreadPool.JobContext;
61 private final ThreadPool mThreadPool;
178 jc.setMode(ThreadPool.MODE_NONE); in nextSlide()
DGalleryContext.java24 import com.android.gallery3d.util.ThreadPool;
33 public ThreadPool getThreadPool(); in getThreadPool()
DGalleryApp.java27 import com.android.gallery3d.util.ThreadPool;
34 public ThreadPool getThreadPool(); in getThreadPool()
DAbstractGalleryActivity.java49 import com.android.gallery3d.util.ThreadPool;
121 public ThreadPool getThreadPool() { in getThreadPool()
342 public ThreadPool getBatchServiceThreadPoolIfAvailable() { in getBatchServiceThreadPoolIfAvailable()
DSinglePhotoDataAdapter.java37 import com.android.gallery3d.util.ThreadPool;
52 private ThreadPool mThreadPool;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java31 import com.android.gallery3d.util.ThreadPool;
32 import com.android.gallery3d.util.ThreadPool.CancelListener;
33 import com.android.gallery3d.util.ThreadPool.Job;
34 import com.android.gallery3d.util.ThreadPool.JobContext;
317 jc.setMode(ThreadPool.MODE_NETWORK); in run()
323 jc.setMode(ThreadPool.MODE_NETWORK); in run()
325 jc.setMode(ThreadPool.MODE_NONE); in run()
330 jc.setMode(ThreadPool.MODE_NONE); in run()
DPanoramaMetadataJob.java24 import com.android.gallery3d.util.ThreadPool.Job;
25 import com.android.gallery3d.util.ThreadPool.JobContext;
DSnailItem.java23 import com.android.gallery3d.util.ThreadPool.Job;
24 import com.android.gallery3d.util.ThreadPool.JobContext;
DActionImage.java27 import com.android.gallery3d.util.ThreadPool.Job;
28 import com.android.gallery3d.util.ThreadPool.JobContext;
DDownloadUtils.java20 import com.android.gallery3d.util.ThreadPool.CancelListener;
21 import com.android.gallery3d.util.ThreadPool.JobContext;
DLocalAlbumSet.java30 import com.android.gallery3d.util.ThreadPool;
31 import com.android.gallery3d.util.ThreadPool.JobContext;
101 private class AlbumsLoader implements ThreadPool.Job<ArrayList<MediaSet>> {
DImageCacheRequest.java25 import com.android.gallery3d.util.ThreadPool.Job;
26 import com.android.gallery3d.util.ThreadPool.JobContext;
DUriImage.java31 import com.android.gallery3d.util.ThreadPool.CancelListener;
32 import com.android.gallery3d.util.ThreadPool.Job;
33 import com.android.gallery3d.util.ThreadPool.JobContext;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java20 import com.android.gallery3d.util.ThreadPool.Job;
21 import com.android.gallery3d.util.ThreadPool.JobContext;
38 private final ThreadPool mPool;
131 public JobLimiter(ThreadPool pool, int limit) { in JobLimiter()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumLabelMaker.java32 import com.android.gallery3d.util.ThreadPool;
33 import com.android.gallery3d.util.ThreadPool.JobContext;
117 public ThreadPool.Job<Bitmap> requestLabel( in requestLabel()
132 private class AlbumLabelJob implements ThreadPool.Job<Bitmap> {
DDetailsAddressResolver.java30 import com.android.gallery3d.util.ThreadPool.Job;
31 import com.android.gallery3d.util.ThreadPool.JobContext;
DTileImageView.java35 import com.android.gallery3d.util.ThreadPool;
36 import com.android.gallery3d.util.ThreadPool.CancelListener;
37 import com.android.gallery3d.util.ThreadPool.JobContext;
122 private final ThreadPool mThreadPool;
756 private class TileDecoder implements ThreadPool.Job<Void> {
769 jc.setMode(ThreadPool.MODE_NONE); in run()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DRkpdDatabase.java26 import com.android.rkpdapp.ThreadPool;
54 .setQueryExecutor(ThreadPool.EXECUTOR) in getDatabase()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java26 public class ThreadPool { class
83 public ThreadPool() { in ThreadPool() method in ThreadPool
87 public ThreadPool(int initPoolSize, int maxPoolSize) { in ThreadPool() method in ThreadPool
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java32 import com.android.gallery3d.util.ThreadPool;
161 private static final ThreadPool sThreadPool = new ThreadPool(0, 2);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetUtils.java29 import com.android.gallery3d.util.ThreadPool;
49 .run(ThreadPool.JOB_CONTEXT_STUB); in createWidgetBitmap()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRemoteProvisioningService.java31 import com.android.rkpdapp.ThreadPool;
92 ThreadPool.EXECUTOR); in getRegistration()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/
DThreadPool.java27 public class ThreadPool { class

12