HomeSort by relevance Sort by last modified time
    Searched full:runnable (Results 1 - 25 of 1507) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /dalvik/tests/069-field-type/src/
Holder.java 6 public Runnable mValue;
Blah.java 5 public class Blah implements Runnable {
  /dalvik/tests/063-process-manager/
expected.txt 5 process manager: RUNNABLE
11 process manager: RUNNABLE
  /dalvik/tests/009-instanceof2/
expected.txt 3 instanceof Runnable = false
  /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...]
  /packages/apps/Launcher2/src/com/android/launcher2/
DeferredHandler.java 34 private LinkedList<Runnable> mQueue = new LinkedList<Runnable>();
40 Runnable r;
59 private class IdleRunnable implements Runnable {
60 Runnable mRunnable;
62 IdleRunnable(Runnable r) {
74 /** Schedule runnable to run after everything that's on the queue right now. */
75 public void post(Runnable runnable) {
77 mQueue.add(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...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DelayedOperations.java 27 * Class that helps post {@link Runnable}s to a {@link Handler}, and cancel pending ones
36 private class QueuedOperation implements Runnable {
37 private final Runnable mActualRannable;
39 public QueuedOperation(Runnable actualRannable) {
60 * Post a {@link Runnable} to the handler. Equivalent to {@link Handler#post(Runnable)}.
62 public void post(Runnable r) {
69 * Cancel a runnable that's been posted with {@link #post(Runnable)}.
71 * Equivalent to {@link Handler#removeCallbacks(Runnable)}
    [all...]
  /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);
  /sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/apicheck/
ApiTargetTest2.java.txt 11 new Runnable() {
18 new Runnable() {
28 new Runnable() {
  /dalvik/dx/tests/113-old-style-inner-class/
Blort.java 18 public static Runnable theRunnable = new Runnable() {
22 public Runnable create() {
23 return new Runnable() {
  /external/guava/guava/src/com/google/common/util/concurrent/
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...]
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...]
  /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/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;
  /dalvik/tests/047-returns/src/
Main.java 21 public static Runnable pickOne(int which) {
22 Runnable runme;
37 class ClassOne implements CommonInterface, Runnable {
47 class ClassTwo implements CommonInterface, Runnable {
57 class ClassThree implements Runnable {
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
DelayedOperationsTests.java 38 mDelayedOperations.post(new Runnable() {
44 mDelayedOperations.post(new Runnable() {
71 Runnable r;
72 mDelayedOperations.post(r = new Runnable() {
79 mDelayedOperations.post(new Runnable() {
105 mDelayedOperations.post(new Runnable() {
111 mDelayedOperations.post(new Runnable() {
138 public final ArrayList<Runnable> mPostedToHandler = new ArrayList<Runnable>();
146 void postRunnable(Runnable r)
    [all...]
  /frameworks/support/volley/src/com/android/volley/
ExecutorDelivery.java 41 public void execute(Runnable command) {
62 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) {
65 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable));
81 * A Runnable used for delivering network responses to a listener on the
85 private class ResponseDeliveryRunnable implements Runnable {
88 private final Runnable mRunnable;
90 public ResponseDeliveryRunnable(Request request, Response response, Runnable runnable) {
93 mRunnable = runnable;
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
Executor.java 10 * An object that executes submitted {@link Runnable} tasks. This
32 * public void execute(Runnable r) {
43 * public void execute(Runnable r) {
55 * final Queue<Runnable> tasks = new ArrayDeque<Runnable>();
57 * Runnable active;
63 * public synchronized void execute(final Runnable r) {
64 * tasks.offer(new Runnable() {
92 * submitting a {@code Runnable} object to an {@code Executor}
106 * @param command the runnable tas
    [all...]
ThreadFactory.java 11 * removes hardwiring of calls to {@link Thread#Thread(Runnable) new Thread},
18 * public Thread newThread(Runnable r) {
36 * @param r a runnable to be executed by new thread instance
40 Thread newThread(Runnable r);
  /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...]
  /dalvik/tests/085-old-style-inner-class/src/
Main.java 23 private static Runnable theRunnable = new Runnable() {
27 private static Runnable create() {
28 return new Runnable() {
  /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/junit/src/org/junit/internal/runners/
ClassRoadie.java 23 private final Runnable fRunnable;
26 Description description, Runnable runnable) {
30 fRunnable= runnable;
  /frameworks/base/voip/java/com/android/server/sip/
SipSessionListenerProxy.java 39 private void proxy(Runnable runnable) {
43 new Thread(runnable, "SipSessionCallbackThread").start();
48 proxy(new Runnable() {
62 proxy(new Runnable() {
75 proxy(new Runnable() {
89 proxy(new Runnable() {
102 proxy(new Runnable() {
116 proxy(new Runnable() {
129 proxy(new Runnable() {
    [all...]

Completed in 879 milliseconds

1 2 3 4 5 6 7 8 91011>>