Home
last modified time | relevance | path

Searched refs:Result (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DAsyncTask.java197 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 …]
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DNetworkFragment.java122 private class DownloadTask extends AsyncTask<String, Integer, DownloadTask.Result> {
130 class Result { class in NetworkFragment.DownloadTask
133 public Result(String resultValue) { in Result() method in NetworkFragment.DownloadTask.Result
136 public Result(Exception exception) { in Result() method in NetworkFragment.DownloadTask.Result
162 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()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java239 public void onLoadChildren(final String parentMediaId, final Result<List<MediaItem>> result) { in onLoadChildren()
267 final Result<List<MediaItem>> result) { in loadChildrenImpl()