/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractListeningExecutorService.java | 33 * method. More concretely, the {@code submit}, {@code invokeAny} and {@code invokeAll} methods 42 @Override public ListenableFuture<?> submit(Runnable task) { method in class:AbstractListeningExecutorService 48 @Override public <T> ListenableFuture<T> submit(Runnable task, T result) { method in class:AbstractListeningExecutorService 54 @Override public <T> ListenableFuture<T> submit(Callable<T> task) { method in class:AbstractListeningExecutorService 84 futures.add(ecs.submit(it.next())); 93 futures.add(ecs.submit(it.next()));
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
MoreExecutorsTest.java | 72 Future<?> future = executor.submit(incrementTask); 83 ListenableFuture<?> future = executor.submit(incrementTask); 139 Future<?> future = executor.submit(new Callable<Void>() { 173 executor.submit(doNothingRunnable); 190 executor.submit(doNothingRunnable);
|
AbstractListeningExecutorServiceTest.java | 36 * to test the submit methods only. 61 Future<?> future = e.submit(task); 67 * Completed submit(callable) returns result 71 Future<String> future = e.submit(new StringTask()); 77 * Completed submit(runnable) returns successfully 81 Future<?> future = e.submit(new NoOpRunnable()); 87 * Completed submit(runnable, result) returns result 91 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); 104 Future future = e.submit(Executors.callable( 127 Future future = e.submit(Executors.callable [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
AbstractExecutorService.java | 12 * execution methods. This class implements the {@code submit}, 16 * the implementation of {@code submit(Runnable)} creates an 78 public Future<?> submit(Runnable task) { method in class:AbstractExecutorService 89 public <T> Future<T> submit(Runnable task, T result) { method in class:AbstractExecutorService 100 public <T> Future<T> submit(Callable<T> task) { method in class:AbstractExecutorService 136 futures.add(ecs.submit(it.next())); 145 futures.add(ecs.submit(it.next()));
|
Executors.java | 592 public Future<?> submit(Runnable task) { 593 return e.submit(task); 595 public <T> Future<T> submit(Callable<T> task) { 596 return e.submit(task); 598 public <T> Future<T> submit(Runnable task, T result) { 599 return e.submit(task, result);
|
/packages/apps/Dialer/tests/src/com/android/dialer/util/ |
FakeAsyncTaskExecutor.java | 38 * This class is thread-safe. As per the contract of the AsyncTaskExecutor, the submit methods must 47 * call to {@link #submit(Object, AsyncTask, Object...)}. 124 public <T> AsyncTask<T, ?, ?> submit(Object identifier, method in class:FakeAsyncTaskExecutor.DelayedExecutor 131 + "Are you calling AsyncTaskExecutor.submit(...) from within the " 141 public <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params) { method in class:FakeAsyncTaskExecutor 143 return mBlockingExecutor.submit(identifier, task, params);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
ThreadPool.java | 95 // Submit a job to the thread pool. The listener will be called when the 97 public <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { method in class:ThreadPool 103 public <T> Future<T> submit(Job<T> job) { method in class:ThreadPool 104 return submit(job, null);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SearchViewCompat.java | 42 void setQuery(View searchView, CharSequence query, boolean submit); 96 public void setQuery(View searchView, CharSequence query, boolean submit) { 189 public void setQuery(View searchView, CharSequence query, boolean submit) { 190 SearchViewCompatHoneycomb.setQuery(searchView, query, submit); 342 * keyboard or due to pressing a submit button. 344 * to indicate that it has handled the submit request. Otherwise return false to 417 * @param submit whether to submit the query right now or only update the contents of 420 public static void setQuery(View searchView, CharSequence query, boolean submit) { 421 IMPL.setQuery(searchView, query, submit); [all...] |
/external/chromium_org/chrome/browser/resources/ |
sync_setup_overlay.css | 96 #sync-setup-overlay * input[type='submit'] { 297 .signin-box input[type=submit] { 318 .signin-box input[type=submit]:hover { 327 .signin-box input[type=submit]:focus { 334 .signin-box input[type=submit]:active, 335 .signin-box input[type=submit]:focus:active { 339 .signin-box input[type=submit]:focus:hover { 343 .signin-box input[type=submit][disabled], 344 .signin-box input[type=submit][disabled]:hover, 345 .signin-box input[type=submit][disabled]:active [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLFormElement.idl | 37 [ImplementedAs=submitFromJavaScript] void submit();
|
HTMLButtonElement.cpp | 44 , m_type(SUBMIT) 69 case SUBMIT: { 70 DEFINE_STATIC_LOCAL(const AtomicString, submit, ("submit", AtomicString::ConstructFromLiteral)); 71 return submit; 106 m_type = SUBMIT; 115 if (form() && m_type == SUBMIT) { 158 if (!isDisabledFormControl() && form() && (m_type == SUBMIT || m_type == RESET)) 167 return m_type == SUBMIT && !isDisabledFormControl(); 182 if (m_type != SUBMIT || name().isEmpty() || !m_isActivatedSubmit [all...] |
HTMLFormElement.h | 75 void submit(); 147 void submit(Event*, bool activateSubmitButton, bool processingUserGesture, FormSubmissionTrigger);
|
/frameworks/support/v4/honeycomb/android/support/v4/widget/ |
SearchViewCompatHoneycomb.java | 87 public static void setQuery(View searchView, CharSequence query, boolean submit) { 88 ((SearchView) searchView).setQuery(query, submit);
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestSSLSocketPair.java | 80 Future s = executor.submit(new Callable<Void>() { 89 Future c = executor.submit(new Callable<Void>() {
|
/external/chromium_org/chrome/browser/resources/gaia_auth/ |
offline.js | 17 $('submit-button').value = decodeURIComponent(params['stringSignIn']); 26 form.addEventListener('submit', function(e) {
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebPasswordFormUtils.cpp | 70 fields->submit = control;
|
/external/guava/guava-tests/test/com/google/common/testing/ |
FakeTickerTest.java | 57 executorService.submit(new Callable<Void>() {
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
ConnectionPool.java | 142 executorService.submit(new Runnable() { 208 executorService.submit(connectionsCleanupCallable); 242 executorService.submit(connectionsCleanupCallable); 250 executorService.submit(connectionsCleanupCallable);
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
AsyncTaskExecutors.java | 83 "submit method must be called from ui thread, was: " + Thread.currentThread()); 94 public <T> AsyncTask<T, ?, ?> submit(Object identifer, AsyncTask<T, ?, ?> task, method in class:AsyncTaskExecutors.SimpleAsyncTaskExecutor
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
ResearchLog.java | 102 mExecutor.submit(new Callable<Object>() { 157 mExecutor.submit(new Callable<Object>() { 211 mExecutor.submit(mFlushCallable); 244 mExecutor.submit(new Callable<Object>() {
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarReceiver.java | 55 executor.submit(new Runnable() {
|
/external/chromium/chrome/browser/resources/net_internals/ |
hstsview.js | 26 form.addEventListener('submit', this.onSubmitQuery_.bind(this), false); 28 form.addEventListener('submit', this.onSubmitAdd_.bind(this), false); 30 form.addEventListener('submit', this.onSubmitDelete_.bind(this), false);
|
/external/chromium_org/native_client_sdk/src/examples/api/socket/ |
example.js | 7 document.getElementById('connectForm').addEventListener('submit', doConnect); 8 document.getElementById('sendForm').addEventListener('submit', doSend); 9 document.getElementById('listenForm').addEventListener('submit', doListen);
|
/external/jmdns/src/javax/jmdns/impl/ |
JmmDNSImpl.java | 90 executor.submit(new Runnable() { 203 executor.submit(new Runnable() { 257 _jmDNSExecutor.submit(new Runnable() { 406 executor.submit(new Runnable() { 498 _ListenerExecutor.submit(new Runnable() { 529 _ListenerExecutor.submit(new Runnable() {
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/dlopen/ |
example.js | 7 document.querySelector('form').addEventListener('submit', askBall);
|