Searched refs:job (Results 1 - 11 of 11) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | JobLimiter.java | 48 public JobWrapper(Job<T> job, FutureListener<T> listener) { argument 49 mJob = job; 105 Job<T> job = null; 108 job = mJob; 112 result = job.run(jc); 114 Log.w(TAG, "error executing job: " + job, t); 136 public synchronized <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { argument 137 JobWrapper<T> future = new JobWrapper<T>(Utils.checkNotNull(job), listener);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | RunInLocale.java | 27 protected abstract T job(final Resources res); method in class:RunInLocale 30 * Execute {@link #job(Resources)} method in specified system locale exclusively. 34 * @return the value returned from {@link #job(Resources)}. 46 return job(res);
|
H A D | SubtypeLocaleUtils.java | 176 protected String job(final Resources res) { 235 protected String job(final Resources res) {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
H A D | ThreadPool.java | 95 // Submit a job to the thread pool. The listener will be called when the 96 // job is finished (or cancelled). 97 public <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { argument 98 Worker<T> w = new Worker<T>(job, listener); 103 public <T> Future<T> submit(Job<T> job) { argument 104 return submit(job, null); 119 public Worker(Job<T> job, FutureListener<T> listener) { argument 120 mJob = job; 129 // A job is in CPU mode by default. setMode returns false 130 // if the job i [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
H A D | SubtypeLocaleUtilsTests.java | 140 protected Void job(final Resources res) { 164 protected Void job(final Resources res) { 204 protected Void job(final Resources res) { 228 protected Void job(final Resources res) { 312 protected Void job(final Resources res) { 344 protected Void job(final Resources res) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
H A D | VCardService.java | 133 // File names currently reserved by some export job. 272 Log.w(LOG_TAG, "Failed to excetute a job.", e); 301 Log.w(LOG_TAG, String.format("Tried to remove unknown job (id: %d)", jobId)); 326 * Checks job list and call {@link #stopSelf()} when there's no job and no scanner connection 328 * A new job (import/export) cannot be submitted any more after this call. 339 // be filled with real job-ids from the array's top. When we find a not-yet-finished 347 Log.i(LOG_TAG, String.format("Found unfinished job (id: %d)", jobId)); 370 Log.i(LOG_TAG, "No unfinished job. Stop this service."); 416 final ProcessorBase job [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
H A D | Util.java | 377 public BackgroundJob(MonitoredActivity activity, Runnable job, argument 381 mJob = job; 415 String title, String message, Runnable job, Handler handler) { 420 new Thread(new BackgroundJob(activity, job, dialog, handler)).start(); 414 startBackgroundJob(MonitoredActivity activity, String title, String message, Runnable job, Handler handler) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | Settings.java | 156 final RunInLocale<SettingsValues> job = new RunInLocale<SettingsValues>() { 158 protected SettingsValues job(final Resources res) { 162 mSettingsValues = job.runInLocale(mRes, locale);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeySpecParserSplitTests.java | 47 protected Void job(final Resources res) {
|
H A D | KeySpecParserTests.java | 61 protected Void job(final Resources res) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyboardBuilder.java | 282 final RunInLocale<Void> job = new RunInLocale<Void>() { 284 protected Void job(final Resources res) { 292 job.runInLocale(mResources, locale);
|
Completed in 185 milliseconds