Searched refs:worker (Results 1 – 25 of 33) sorted by relevance
12
/frameworks/base/docs/html/training/articles/ |
D | perf-anr.jd | 56 worker thread and do most of the work there. This keeps the UI thread (which drives the user 91 resizing bitmaps should be done in a worker thread (or in the case of databases 94 <p>The most effective way to create a worker thread for longer 131 <p>To execute this worker thread, simply create an instance and 148 be sure that your UI thread does not block while waiting for the worker thread to 150 {@link java.lang.Thread#sleep Thread.sleep()}. Instead of blocking while waiting for a worker 163 tasks via worker threads, your 187 <li>For games specifically, do calculations for moves in a worker
|
/frameworks/base/docs/html/guide/components/ |
D | processes-and-threads.jd | 182 simply create a worker thread—particularly if the operation will likely outlast the activity. 224 your UI from a worker thread—you must do all manipulation to your user interface from the UI 237 "worker" threads).</p> 256 android.widget.ImageView} from the worker thread instead of the UI thread. This can result in 293 difficult to maintain. To handle more complex interactions with a worker thread, you might consider 294 using a {@link android.os.Handler} in your worker thread, to process messages delivered from the UI 296 which simplifies the execution of worker thread tasks that need to interact with the UI.</p> 302 interface. It performs the blocking operations in a worker thread and then publishes the results on 322 /** The system calls this to perform work in a worker thread and 337 part that should be done on a worker thread and the part that should be done on the UI thread.</p> [all …]
|
D | services.jd | 278 <dd>This is a subclass of {@link android.app.Service} that uses a worker thread to handle all 298 <li>Creates a default worker thread that executes all intents delivered to {@link 324 * constructor with a name for the worker thread. 331 * The IntentService calls this method from the default worker thread with 356 that the {@link android.app.IntentService} can properly handle the life of the worker thread.</p> 388 android.app.IntentService}. That is, for each start request, it uses a worker thread to perform the
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrameThread.cpp | 34 WebmFrameThread *worker = reinterpret_cast<WebmFrameThread*>(arg); in wrap() local 35 worker->run(); in wrap()
|
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/ |
D | BTtraffic.java | 70 Runnable worker = in startWorker() local 75 mWorkerThread = new Thread(worker, "BTtrafficWorker"); in startWorker()
|
/frameworks/base/docs/html/training/volley/ |
D | simple.jd | 30 {@code Request} objects. The {@code RequestQueue} manages worker threads for running the 104 parses the response on the worker thread, writes the response to cache, and posts the parsed 107 <p>Note that expensive operations like blocking I/O and parsing/decoding are done on worker
|
D | request-custom.jd | 87 Volley calls {@code parseNetworkResponse()} from a worker thread. This ensures that
|
D | request.jd | 54 expensive image operations (decoding, resizing) automatically happen on a worker thread.</li>
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/components/ |
D | services.jd | 268 <dd>這是 {@link android.app.Service} 的子類別,會使用 worker 執行緒來處理所有的啟動要求,一次一個。 288 <li>建立預設的 worker 執行緒,該執行緒會執行所有傳送至 {@link 314 * constructor with a name for the worker thread. 321 * The IntentService calls this method from the default worker thread with 349 {@link android.app.IntentService} 才可以適當處理 worker 執行緒的生命。</p> 381 android.app.IntentService} 範例相同的工作。也就是,對每個啟動要求,會使用 worker 執行緒來執行工作,且一次只處理一個要求。
|
D | processes-and-threads.jd | 317 /** The system calls this to perform work in a worker thread and
|
/frameworks/base/services/core/java/com/android/server/ |
D | AssetAtlasService.java | 374 ComputeWorker worker = new ComputeWorker(start, end, step, in computeBestConfiguration() local 376 new Thread(worker, "Atlas Worker #" + (i + 1)).start(); in computeBestConfiguration()
|
/frameworks/base/docs/html/training/improving-layouts/ |
D | smooth-scrolling.jd | 40 <p>Using a background thread ("worker thread") removes strain from the main thread so it can focus
|
/frameworks/base/docs/html-intl/intl/ru/guide/components/ |
D | processes-and-threads.jd | 317 /** The system calls this to perform work in a worker thread and
|
D | services.jd | 314 * constructor with a name for the worker thread. 321 * The IntentService calls this method from the default worker thread with
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/components/ |
D | processes-and-threads.jd | 317 /** The system calls this to perform work in a worker thread and
|
D | services.jd | 314 * constructor with a name for the worker thread. 321 * The IntentService calls this method from the default worker thread with
|
/frameworks/base/docs/html-intl/intl/ko/guide/components/ |
D | processes-and-threads.jd | 317 /** The system calls this to perform work in a worker thread and
|
D | services.jd | 314 * constructor with a name for the worker thread. 321 * The IntentService calls this method from the default worker thread with
|
/frameworks/base/docs/html-intl/intl/ja/guide/components/ |
D | processes-and-threads.jd | 317 /** The system calls this to perform work in a worker thread and
|
D | services.jd | 314 * constructor with a name for the worker thread. 321 * The IntentService calls this method from the default worker thread with
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | process-bitmap.jd | 125 back to the worker task. In this case, a {@link android.graphics.drawable.BitmapDrawable} is used so
|
/frameworks/base/docs/html/training/location/ |
D | display-address.jd | 109 The intent service handles an intent asynchronously on a worker thread, and
|
/frameworks/base/docs/html-intl/intl/in/guide/components/ |
D | services.jd | 314 * constructor with a name for the worker thread. 321 * The IntentService calls this method from the default worker thread with
|
D | processes-and-threads.jd | 317 /** The system calls this to perform work in a worker thread and
|
/frameworks/base/docs/html/distribute/essentials/ |
D | optimizing-your-app.jd | 323 operations off the main thread to worker threads. Android offers built-in
|
12