Searched refs:Result (Results 1 – 3 of 3) sorted by relevance
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()[all …]
122 private class DownloadTask extends AsyncTask<String, Integer, DownloadTask.Result> {130 class Result { class in NetworkFragment.DownloadTask133 public Result(String resultValue) { in Result() method in NetworkFragment.DownloadTask.Result136 public Result(Exception exception) { in Result() method in NetworkFragment.DownloadTask.Result162 protected Result doInBackground(String... urls) { in doInBackground()163 Result result = null; in doInBackground()170 result = new Result(resultString); in doInBackground()175 result = new Result(e); in doInBackground()196 protected void onPostExecute(Result result) { in onPostExecute()211 protected void onCancelled(Result result) { in onCancelled()
239 public void onLoadChildren(final String parentMediaId, final Result<List<MediaItem>> result) { in onLoadChildren()267 final Result<List<MediaItem>> result) { in loadChildrenImpl()