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

1 2 3 4 5 6 7 8 91011>>

  /art/test/069-field-type/src/
Holder.java 6 public Runnable mValue;
Blah.java 5 public class Blah implements Runnable {
  /dalvik/tests/069-field-type/src/
Holder.java 6 public Runnable mValue;
Blah.java 5 public class Blah implements Runnable {
  /art/test/063-process-manager/
expected.txt 5 process manager: RUNNABLE
11 process manager: RUNNABLE
  /dalvik/tests/063-process-manager/
expected.txt 5 process manager: RUNNABLE
11 process manager: 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...]
  /packages/apps/Launcher3/src/com/android/launcher3/
DeferredHandler.java 36 private LinkedList<Pair<Runnable, Integer>> mQueue = new LinkedList<Pair<Runnable, Integer>>();
42 Pair<Runnable, Integer> p;
43 Runnable r;
63 private class IdleRunnable implements Runnable {
64 Runnable mRunnable;
66 IdleRunnable(Runnable r) {
78 /** Schedule runnable to run after everything that's on the queue right now. */
79 public void post(Runnable runnable) {
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
Scheduler.java 30 public void postDelayed(Runnable runnable, long delayMillis) {
32 postedRunnables.add(new PostedRunnable(runnable, currentTime + delayMillis));
35 runnable.run();
39 public void post(Runnable runnable) {
40 postDelayed(runnable, 0);
43 public void postAtFrontOfQueue(Runnable runnable) {
45 postedRunnables.add(0, new PostedRunnable(runnable, currentTime))
140 Runnable runnable; field in class:Scheduler.PostedRunnable
    [all...]
RobolectricBackgroundExecutorService.java 22 public List<Runnable> shutdownNow() {
47 public <T> Future<T> submit(Runnable runnable, T t) {
48 return schedule(new FutureTask<T>(runnable, t));
52 public Future<?> submit(Runnable runnable) {
53 return submit(runnable, null);
57 Robolectric.getShadowApplication().getBackgroundScheduler().post(new Runnable() {
88 public void execute(Runnable runnable) {
    [all...]
  /art/test/009-instanceof2/
expected.txt 3 instanceof Runnable = false
  /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...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/internal/
EmptyRunnable.java 3 public class EmptyRunnable implements Runnable {
  /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/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
UiUtils.java 25 * Runs the runnable on the UI thread.
27 * @param activity The activity on which the runnable must run.
28 * @param runnable The runnable to run.
30 public static void runOnUiThread(Activity activity, final Runnable runnable) {
32 activity.runOnUiThread(new Runnable() {
35 runnable.run();
43 Assert.assertTrue("Interrupted while waiting for main thread Runnable", false);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
TestRunnable.java 3 public class TestRunnable implements Runnable {
  /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...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
PrioritizedSerialExecutor.java 33 private final Queue<Runnable> mTasks;
34 private final Queue<Runnable> mPrioritizedTasks;
39 private Runnable mActive;
42 mTasks = new ConcurrentLinkedQueue<Runnable>();
43 mPrioritizedTasks = new ConcurrentLinkedQueue<Runnable>();
46 0 /* keepAliveTime */, TimeUnit.MILLISECONDS, new ArrayBlockingQueue<Runnable>(1));
63 public void execute(final Runnable r) {
66 mTasks.offer(new Runnable() {
87 public void executePrioritized(final Runnable r) {
90 mPrioritizedTasks.offer(new 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);
  /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...]
  /external/chromium_org/chrome/browser/android/provider/
run_on_ui_thread_blocking.h 17 // Runs the provided runnable in the UI thread synchronously.
18 // The runnable argument can be defined using base::Bind.
20 static void Run(base::Callback<Signature> runnable) {
25 runnable, &finished));
31 static void RunOnUIThread(base::Callback<Signature> runnable,
34 runnable.Run();
  /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;

Completed in 758 milliseconds

1 2 3 4 5 6 7 8 91011>>