Searched refs:Preemptable (Results 1 – 2 of 2) sorted by relevance
47 public interface Preemptable { interface in ProviderExecutor53 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()
37 import com.android.documentsui.ProviderExecutor.Preemptable;46 public final class ThumbnailLoader extends AsyncTask<Uri, Void, Bitmap> implements Preemptable {