Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DProviderExecutor.java47 public interface Preemptable { interface in ProviderExecutor
53 private final ArrayList<WeakReference<Preemptable>> mPreemptable = new ArrayList<>();
58 for (WeakReference<Preemptable> ref : mPreemptable) { in preempt()
59 final Preemptable p = ref.get(); in preempt()
74 if (task instanceof Preemptable) { in execute()
76 mPreemptable.add(new WeakReference<Preemptable>((Preemptable) task)); in execute()
DThumbnailLoader.java37 import com.android.documentsui.ProviderExecutor.Preemptable;
46 public final class ThumbnailLoader extends AsyncTask<Uri, Void, Bitmap> implements Preemptable {