Home
last modified time | relevance | path

Searched refs:runnables (Results 1 – 19 of 19) sorted by relevance

/external/guava/guava/src/com/google/common/util/concurrent/
DExecutionList.java56 private RunnableExecutorPair runnables; field in ExecutionList
93 runnables = new RunnableExecutorPair(runnable, executor, runnables); in add()
125 list = runnables; in execute()
126 runnables = null; // allow GC to free listeners even if this stays around for a while. in execute()
/external/libgdx/backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/
DHeadlessApplication.java49 protected final Array<Runnable> runnables = new Array<Runnable>(); field in HeadlessApplication
145 synchronized (runnables) { in executeRunnables()
146 for (int i = runnables.size - 1; i >= 0; i--) in executeRunnables()
147 executedRunnables.add(runnables.get(i)); in executeRunnables()
148 runnables.clear(); in executeRunnables()
227 synchronized (runnables) { in postRunnable()
228 runnables.add(runnable); in postRunnable()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DExecutionListBenchmark.java278 final Queue<OldExecutionList.RunnableExecutorPair> runnables = Lists.newLinkedList();
287 synchronized (runnables) {
289 runnables.add(new RunnableExecutorPair(runnable, executor));
301 synchronized (runnables) {
308 while (!runnables.isEmpty()) {
309 runnables.poll().execute();
338 private RunnableExecutorPair runnables;
348 runnables = new RunnableExecutorPair(runnable, executor, runnables);
362 list = runnables;
363 runnables = null; // allow GC to free listeners even if this stays around for a while.
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
DLwjgl3Window.java41 private final Array<Runnable> runnables = new Array<Runnable>(); field in Lwjgl3Window
157 synchronized(runnables) { in postRunnable()
158 runnables.add(runnable); in postRunnable()
241 synchronized(runnables) { in update()
242 executedRunnables.addAll(runnables); in update()
243 runnables.clear(); in update()
DLwjgl3Application.java57 private final Array<Runnable> runnables = new Array<Runnable>(); field in Lwjgl3Application
135 synchronized (runnables) { in loop()
137 executedRunnables.addAll(runnables); in loop()
138 runnables.clear(); in loop()
287 synchronized (runnables) { in postRunnable()
288 runnables.add(runnable); in postRunnable()
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/
DJglfwApplication.java48 private final Array<Runnable> runnables = new Array(); field in JglfwApplication
241 synchronized (runnables) { in executeRunnables()
242 for (int i = runnables.size - 1; i >= 0; i--) in executeRunnables()
243 executedRunnables.add(runnables.get(i)); in executeRunnables()
244 runnables.clear(); in executeRunnables()
335 synchronized (runnables) { in postRunnable()
336 runnables.add(runnable); in postRunnable()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglCanvas.java59 final Array<Runnable> runnables = new Array(); field in LwjglCanvas
256 synchronized (runnables) { in executeRunnables()
257 for (int i = runnables.size - 1; i >= 0; i--) in executeRunnables()
258 executedRunnables.addAll(runnables.get(i)); in executeRunnables()
259 runnables.clear(); in executeRunnables()
346 synchronized (runnables) { in postRunnable()
347 runnables.add(runnable); in postRunnable()
DLwjglApplication.java51 protected final Array<Runnable> runnables = new Array<Runnable>(); field in LwjglApplication
250 synchronized (runnables) { in executeRunnables()
251 for (int i = runnables.size - 1; i >= 0; i--) in executeRunnables()
252 executedRunnables.add(runnables.get(i)); in executeRunnables()
253 runnables.clear(); in executeRunnables()
340 synchronized (runnables) { in postRunnable()
341 runnables.add(runnable); in postRunnable()
DLwjglAWTCanvas.java69 final Array<Runnable> runnables = new Array(); field in LwjglAWTCanvas
284 synchronized (runnables) { in executeRunnables()
285 for (int i = runnables.size - 1; i >= 0; i--) in executeRunnables()
286 executedRunnables.addAll(runnables.get(i)); in executeRunnables()
287 runnables.clear(); in executeRunnables()
392 synchronized (runnables) { in postRunnable()
393 runnables.add(runnable); in postRunnable()
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/
DIOSApplication.java116 Array<Runnable> runnables = new Array<Runnable>(); field in IOSApplication
398 synchronized (runnables) { in postRunnable()
399 runnables.add(runnable); in postRunnable()
405 synchronized (runnables) { in processRunnables()
407 executedRunnables.addAll(runnables); in processRunnables()
408 runnables.clear(); in processRunnables()
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/
DIOSApplication.java107 Array<Runnable> runnables = new Array<Runnable>(); field in IOSApplication
405 synchronized (runnables) { in postRunnable()
406 runnables.add(runnable); in postRunnable()
412 synchronized (runnables) { in processRunnables()
414 executedRunnables.addAll(runnables); in processRunnables()
415 runnables.clear(); in processRunnables()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidLiveWallpaper.java68 protected final Array<Runnable> runnables = new Array<Runnable>(); field in AndroidLiveWallpaper
201 synchronized (runnables) { in postRunnable()
202 runnables.add(runnable); in postRunnable()
331 return runnables; in getRunnables()
DAndroidDaydream.java75 protected final Array<Runnable> runnables = new Array<Runnable>(); field in AndroidDaydream
310 synchronized (runnables) { in postRunnable()
311 runnables.add(runnable); in postRunnable()
399 return runnables; in getRunnables()
DAndroidFragmentApplication.java65 protected final Array<Runnable> runnables = new Array<Runnable>(); field in AndroidFragmentApplication
324 synchronized (runnables) { in postRunnable()
325 runnables.add(runnable); in postRunnable()
413 return runnables; in getRunnables()
DAndroidApplication.java74 protected final Array<Runnable> runnables = new Array<Runnable>(); field in AndroidApplication
389 synchronized (runnables) { in postRunnable()
390 runnables.add(runnable); in postRunnable()
504 return runnables; in getRunnables()
/external/testng/src/main/java/org/testng/internal/thread/graph/
DGraphThreadPoolExecutor.java62 List<IWorker<T>> runnables = m_factory.createWorkers(freeNodes); in runNodes() local
63 for (IWorker<T> r : runnables) { in runNodes()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/
DGwtApplication.java71 private Array<Runnable> runnables = new Array<Runnable>(); field in GwtApplication
223 runnablesHelper.addAll(runnables); in mainLoop()
224 runnables.clear(); in mainLoop()
435 runnables.add(runnable);
/external/libgdx/extensions/gdx-tools/
Dbuild.gradle65 println "Building ye runnables"
/external/testng/src/main/java/org/testng/
DTestRunner.java780 List<IWorker<ITestNGMethod>> runnables = createWorkers(freeNodes); in privateRun() local
781 for (IWorker<ITestNGMethod> r : runnables) { in privateRun()