Lines Matching refs:Result
197 public abstract class AsyncTask<Params, Progress, Result> {
239 private final WorkerRunnable<Params, Result> mWorker;
240 private final FutureTask<Result> mFuture;
307 mWorker = new WorkerRunnable<Params, Result>() { in AsyncTask()
308 public Result call() throws Exception { in AsyncTask()
317 mFuture = new FutureTask<Result>(mWorker) { in AsyncTask()
334 private void postResultIfNotInvoked(Result result) { in postResultIfNotInvoked()
341 private Result postResult(Result result) { in postResult()
344 new AsyncTaskResult<Result>(this, result)); in postResult()
374 protected abstract Result doInBackground(Params... params); in doInBackground()
398 protected void onPostExecute(Result result) { in onPostExecute()
429 protected void onCancelled(Result result) { in onCancelled()
507 public final Result get() throws InterruptedException, ExecutionException { in get()
526 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, in get()
559 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
596 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
653 private void finish(Result result) { in finish()
679 private static abstract class WorkerRunnable<Params, Result> implements Callable<Result> {