OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:asynctask
(Results
51 - 75
of
414
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
DelayedSyncController.java
11
import android.os.
AsyncTask
;
64
new
AsyncTask
<Void, Void, Void>() {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
ProviderExecutor.java
19
import android.os.
AsyncTask
;
76
public <P> void execute(
AsyncTask
<P, ?, ?> task, P... params) {
CreateDirectoryFragment.java
31
import android.os.
AsyncTask
;
85
private class CreateDirectoryTask extends
AsyncTask
<Void, Void, DocumentInfo> {
/frameworks/support/v4/java/android/support/v4/content/
ModernAsyncTask.java
38
* Copy of the required parts of {@link android.os.
AsyncTask
} from Android 3.0 that is
40
* because we rely on some subtle behavior of
AsyncTask
that is not reliable on
48
private static final String LOG_TAG = "
AsyncTask
";
99
* Indicates that {@link android.os.
AsyncTask
#onPostExecute(Object)} has finished.
364
* @return This instance of
AsyncTask
.
367
* {@link android.os.
AsyncTask
.Status#RUNNING} or
368
* {@link android.os.
AsyncTask
.Status#FINISHED}.
380
*
AsyncTask
, however you can also use your own {@link Executor} for custom
398
* @return This instance of
AsyncTask
.
401
* {@link android.os.
AsyncTask
.Status#RUNNING
[
all
...]
/frameworks/base/docs/html/guide/components/
processes-and-threads.jd
301
thread. Perhaps the best solution, though, is to extend the {@link android.os.
AsyncTask
} class,
305
<h4 id="
AsyncTask
">Using
AsyncTask
</h4>
307
<p>{@link android.os.
AsyncTask
} allows you to perform asynchronous work on your user
311
<p>To use it, you must subclass {@link android.os.
AsyncTask
} and implement the {@link
312
android.os.
AsyncTask
#doInBackground doInBackground()} callback method, which runs in a pool of
314
android.os.
AsyncTask
#onPostExecute onPostExecute()}, which delivers the result from {@link
315
android.os.
AsyncTask
#doInBackground doInBackground()} and runs in the UI thread, so you can safely
316
update your UI. You can then run the task by calling {@link android.os.
AsyncTask
#execute execute()}
319
<p>For example, you can implement the previous example using {@link android.os.
AsyncTask
} thi
[
all
...]
/developers/build/prebuilts/gradle/BasicRenderScript/BasicRenderScriptSample/src/main/java/com/example/android/basicrenderscript/
MainActivity.java
22
import android.os.
AsyncTask
;
116
* In the
AsyncTask
, it invokes RenderScript intrinsics to do a filtering.
117
* After the filtering is done, an operation blocks at Allication.copyTo() in
AsyncTask
thread.
120
private class RenderScriptTask extends
AsyncTask
<Float, Integer, Integer> {
/developers/build/prebuilts/gradle/NetworkConnect/NetworkConnectSample/src/main/java/com/example/android/networkconnect/
MainActivity.java
19
import android.os.
AsyncTask
;
41
* HTML. It uses
AsyncTask
to do the fetch on a background thread. To establish
93
* Implementation of
AsyncTask
, to fetch the data in the background away from
96
private class DownloadTask extends
AsyncTask
<String, Void, String> {
/developers/samples/android/connectivity/network/NetworkConnect/NetworkConnectSample/src/main/java/com/example/android/networkconnect/
MainActivity.java
19
import android.os.
AsyncTask
;
41
* HTML. It uses
AsyncTask
to do the fetch on a background thread. To establish
93
* Implementation of
AsyncTask
, to fetch the data in the background away from
96
private class DownloadTask extends
AsyncTask
<String, Void, String> {
/developers/samples/android/connectivity/network/NetworkConnect/
template-params.xml
32
HttpURLConnection.
AsyncTask
is used to perform the fetch on a background thread.
/developers/samples/android/renderScript/BasicRenderScript/BasicRenderScriptSample/src/main/java/com/example/android/basicrenderscript/
MainActivity.java
22
import android.os.
AsyncTask
;
116
* In the
AsyncTask
, it invokes RenderScript intrinsics to do a filtering.
117
* After the filtering is done, an operation blocks at Allication.copyTo() in
AsyncTask
thread.
120
private class RenderScriptTask extends
AsyncTask
<Float, Integer, Integer> {
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
MainActivity.java
19
import android.os.
AsyncTask
;
41
* HTML. It uses
AsyncTask
to do the fetch on a background thread. To establish
93
* Implementation of
AsyncTask
, to fetch the data in the background away from
96
private class DownloadTask extends
AsyncTask
<String, Void, String> {
/packages/apps/Mms/src/com/android/mms/ui/
AsyncDialog.java
21
import android.os.
AsyncTask
;
79
* This
AsyncTask
must be instantiated and invoked on the UI thread.
82
* the onPostExecute thread.
AsyncTask
already provides this functionality.
84
private class ModalDialogAsyncTask extends
AsyncTask
<Runnable, Void, Void> {
/packages/experimental/PrintService2/src/foo/bar/printservice2/
MyPrintService.java
5
import android.os.
AsyncTask
;
72
AsyncTask
<Void, Void, Void> task = new
AsyncTask
<Void, Void, Void>() {
133
task.executeOnExecutor(
AsyncTask
.SERIAL_EXECUTOR, (Void[]) null);
/packages/experimental/PrintApp/src/foo/bar/print/
PrintActivity.java
27
import android.os.
AsyncTask
;
92
new
AsyncTask
<Void, Void, Integer>() {
151
}.executeOnExecutor(
AsyncTask
.THREAD_POOL_EXECUTOR, (Void[]) null);
160
new
AsyncTask
<Void, Void, Integer>() {
235
}.executeOnExecutor(
AsyncTask
.THREAD_POOL_EXECUTOR, (Void[]) null);
/development/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java
25
import android.os.
AsyncTask
;
59
* o Uses
AsyncTask
to download and process the XML feed.
142
// Uses
AsyncTask
subclass to download the XML feed from stackoverflow.com.
149
//
AsyncTask
subclass
190
// Implementation of
AsyncTask
used to download XML feed from stackoverflow.com.
191
private class DownloadXmlTask extends
AsyncTask
<String, Void, String> {
/frameworks/base/docs/html/sdk/api_diff/3/changes/
pkg_android.os.html
84
<A NAME="
AsyncTask
"></A>
85
<nobr><A HREF="../../../../reference/android/os/
AsyncTask
.html" target="_top"><code>
AsyncTask
</code></A></nobr>
91
<A NAME="
AsyncTask
.Status"></A>
92
<nobr><A HREF="../../../../reference/android/os/
AsyncTask
.Status.html" target="_top"><code>
AsyncTask
.Status</code></A></nobr>
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java
25
import android.os.
AsyncTask
;
59
* o Uses
AsyncTask
to download and process the XML feed.
142
// Uses
AsyncTask
subclass to download the XML feed from stackoverflow.com.
149
//
AsyncTask
subclass
190
// Implementation of
AsyncTask
used to download XML feed from stackoverflow.com.
191
private class DownloadXmlTask extends
AsyncTask
<String, Void, String> {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
ReportExporter.java
21
import android.os.
AsyncTask
;
40
class ReportExporter extends
AsyncTask
<Void, Void, String> {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
BaseEmulatorActivity.java
12
import android.os.
AsyncTask
;
93
private class SetupServicesTask extends
AsyncTask
<ComponentName, Void, Boolean> {
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
LargeAssetTest.java
22
import android.os.
AsyncTask
;
63
class Validator extends
AsyncTask
<AssetManager, Integer, Boolean> {
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
TestAppLoadingScreen.java
29
import android.os.
AsyncTask
;
65
private class LoadingScreenLoaderTask extends
AsyncTask
<String, Void, Boolean> {
/packages/apps/Exchange/src/com/android/exchange/service/
PingTask.java
20
import android.os.
AsyncTask
;
32
public class PingTask extends
AsyncTask
<Void, Void, Void> {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
ContactsDumpActivity.java
24
import android.os.
AsyncTask
;
90
private class DumpDbTask extends
AsyncTask
<Void, Void, Uri> {
/pdk/apps/TestingCamera/src/com/android/testingcamera/
CallbackProcessor.java
6
import android.os.
AsyncTask
;
136
private class ProcessCallbackTask extends
AsyncTask
<byte[], Void, Boolean> {
/system/extras/tests/mmc_tracepoints/
mmc_trace_reduce
29
LINE=${LINE/
AsyncTask
/
AsyncTask
-}
Completed in 462 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>