/external/proguard/src/proguard/gui/ |
SwingUtil.java | 37 * Invokes the given Runnable in the AWT event dispatching thread, 40 * @see SwingUtilities#invokeAndWait(Runnable) 41 * @param runnable the Runnable to be executed. 43 public static void invokeAndWait(Runnable runnable) 50 runnable.run(); 54 SwingUtilities.invokeAndWait(runnable); 65 * Invokes the given Runnable in the AWT event dispatching thread, not 68 * @see SwingUtilities#invokeLater(Runnable) [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/execution/ |
ExecutionUtils.java | 82 public static boolean runIgnore(RunnableEx runnable) { 84 runnable.run(); 96 public static boolean runLog(RunnableEx runnable) { 98 runnable.run(); 109 public static void runRethrow(RunnableEx runnable) { 111 runnable.run(); 120 public static void runRethrow(RunnableEx runnable, String format, Object... args) { 122 runnable.run(); 133 public static void runDesignTime(RunnableEx runnable) throws Exception { 137 runnable.run() [all...] |
/external/emma/core/java13/com/vladium/util/exit/ |
ExitHookManager.java | 29 public abstract boolean addExitHook (Runnable runnable); 30 public abstract boolean removeExitHook (Runnable runnable); 61 public synchronized boolean addExitHook (final Runnable runnable) 63 if ((runnable != null) && ! m_exitThreadMap.containsKey (runnable)) 65 final Thread exitThread = new Thread (runnable, IAppConstants.APP_NAME + " shutdown handler thread"); 70 m_exitThreadMap.put (runnable, exitThread); // TODO: use identity her [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
ExecutionList.java | 29 * guarantees that every {@code Runnable} that is {@linkplain #add added} will 30 * be executed after {@link #execute()} is called. Any {@code Runnable} added 51 // The runnable,executor pairs to execute. 63 * Adds the {@code Runnable} and accompanying {@code Executor} to the list of 80 public void add(Runnable runnable, Executor executor) { 84 Preconditions.checkNotNull(runnable, "Runnable was null."); 94 runnables.add(new RunnableExecutorPair(runnable, executor)); 100 // Execute the runnable immediately. Because of scheduling this may end u 139 final Runnable runnable; field in class:ExecutionList.RunnableExecutorPair [all...] |
ListenableFutureTask.java | 53 * given {@code Runnable}, and arrange that {@code get} will return the 56 * @param runnable the runnable task 59 * {@code ListenableFuture<?> f = ListenableFutureTask.create(runnable, 64 Runnable runnable, @Nullable V result) { 65 return new ListenableFutureTask<V>(runnable, result); 72 private ListenableFutureTask(Runnable runnable, @Nullable V result) { 73 super(runnable, result) [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
SchedulingUtils.java | 28 public static void doAfterLayout(final View view, final Runnable runnable) { 34 runnable.run(); 41 public static void doAfterDraw(final View view, final Runnable runnable) { 46 runnable.run();
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/actions/ |
ICommonAction.java | 38 * Sets the {@link Runnable} that will be executed when the action is triggered. 40 public void setRunnable(Runnable runnable);
|
ToolItemAction.java | 58 * Sets the {@link Runnable} that will be executed when the action is triggered (through 60 * @see ICommonAction#setRunnable(Runnable) 63 public void setRunnable(final Runnable runnable) { 67 runnable.run();
|
/frameworks/base/core/tests/coretests/src/android/view/ |
RunQueue.java | 46 view.post(new Runnable() { 52 final Runnable runnable = new Runnable() { local 57 view.post(runnable); 58 view.post(runnable); 59 view.post(runnable); 60 view.post(runnable); 61 view.removeCallbacks(runnable);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DeferredHandler.java | 35 private LinkedList<Pair<Runnable, Integer>> mQueue = new LinkedList<Pair<Runnable, Integer>>(); 41 Pair<Runnable, Integer> p; 42 Runnable r; 62 private class IdleRunnable implements Runnable { 63 Runnable mRunnable; 65 IdleRunnable(Runnable r) { 77 /** Schedule runnable to run after everything that's on the queue right now. */ 78 public void post(Runnable runnable) { [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
ThreadControllerWrapper.java | 33 public static Thread runThread(Runnable runnable, int priority) 35 return m_tpool.run(runnable, priority); 38 public static void waitThread(Thread worker, Runnable task) 66 public Thread run(Runnable task, int priority) 87 public void waitThread(Thread worker, Runnable task)
|
/packages/apps/Browser/src/com/android/browser/ |
BackgroundHandler.java | 35 public static void execute(Runnable runnable) { 36 mThreadPool.execute(runnable);
|
GoogleAccountLogin.java | 43 public class GoogleAccountLogin implements Runnable, 62 private Runnable mRunnable; 73 Runnable runnable) { 77 mRunnable = runnable; 104 // Runnable 158 mActivity.runOnUiThread(new Runnable() { 215 Runnable runnable) { 218 runnable.run() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
CommonAction.java | 29 private Runnable mRunnable; 63 * Sets the {@link Runnable}. 64 * @see ICommonAction#setRunnable(Runnable) 67 public void setRunnable(Runnable runnable) { 68 mRunnable = runnable;
|
/frameworks/support/volley/src/com/android/volley/ |
ExecutorDelivery.java | 38 public void execute(Runnable command) { 59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { 62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable)); 73 * A Runnable used for delivering network responses to a listener on the 77 private class ResponseDeliveryRunnable implements Runnable { 80 private final Runnable mRunnable; 82 public ResponseDeliveryRunnable(Request request, Response response, Runnable runnable) { 85 mRunnable = runnable; [all...] |
ResponseDelivery.java | 27 * Runnable will be executed after delivery. 29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable);
|
/frameworks/support/volley/tests/src/com/android/volley/mock/ |
MockResponseDelivery.java | 41 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { 44 runnable.run();
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
SyncProgressHelper.java | 38 * a runnable class run with an {@link ISyncProgressMonitor}. 49 * @param runnable The {@link SyncRunnable} to run. 59 public static void run(final SyncRunnable runnable, final String progressMessage, 69 runnable.run(new SyncProgressMonitor(monitor, progressMessage)); 73 runnable.close();
|
/packages/apps/Email/src/com/android/email/ |
ControllerResultUiThreadWrapper.java | 52 private void run(Runnable runnable) { 54 runnable.run(); 56 mHandler.post(runnable); 63 run(new Runnable() { 65 /* It's possible this callback is unregistered after this Runnable was posted and 79 run(new Runnable() { 90 run(new Runnable() { 101 run(new Runnable() { 113 run(new Runnable() { [all...] |
/cts/libs/vogar-expect/src/vogar/util/ |
Threads.java | 34 public synchronized Thread newThread(Runnable r) { 50 new LinkedBlockingQueue<Runnable>(Integer.MAX_VALUE), threadFactory) { 51 @Override protected void afterExecute(Runnable runnable, Throwable throwable) { if (throwable != null) { 52 Log.info("Unexpected failure from " + runnable, throwable);
|
/external/junit/src/org/junit/internal/runners/ |
ClassRoadie.java | 23 private final Runnable fRunnable; 26 Description description, Runnable runnable) { 30 fRunnable= runnable;
|
/libcore/luni/src/main/java/java/lang/ |
Thread.java | 57 * {@code Thread} instance with a {@link Runnable} object during its creation. 72 public class Thread implements Runnable { 99 RUNNABLE, 140 Runnable target; 160 private final List<Runnable> interruptActions = new ArrayList<Runnable>(); 192 * Constructs a new {@code Thread} with no {@code Runnable} object and a 197 * @see java.lang.Runnable 204 * Constructs a new {@code Thread} with a {@code Runnable} object and a 208 * @param runnable [all...] |
/gdk/samples/PhotoEditor/src/com/android/photoeditor/ |
PhotoEditor.java | 99 tryRun(new Runnable() { 117 private void tryRun(final Runnable runnable) { 119 // Pop-up a dialog before executing the runnable to save unsaved photo. 125 toolbar.savePhoto(new Runnable() { 129 runnable.run(); 138 runnable.run(); 152 runnable.run();
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
InactivityTimer.java | 88 public Thread newThread(Runnable runnable) { 89 Thread thread = new Thread(runnable);
|
/packages/apps/Mms/tests/src/com/android/mms/ |
MmsStability.java | 63 Runnable runnable = new sendMms(); field in class:MmsStability 65 class sendMms implements Runnable { 96 inst.runOnMainSync(runnable);
|