Searched defs:getMainLooper (Results 1 - 3 of 3) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowLooper.java40 public static Looper getMainLooper() { method in class:ShadowLooper
41 return Robolectric.getShadowApplication().getMainLooper();
47 if (looper != shadowOf(getMainLooper())) {
66 if (this == shadowOf(getMainLooper())) throw new RuntimeException("Main thread not allowed to quit");
92 pauseLooper(Looper.getMainLooper());
96 unPauseLooper(Looper.getMainLooper());
100 shadowOf(Looper.getMainLooper()).idle(interval);
H A DShadowContextWrapper.java230 public Looper getMainLooper() { method in class:ShadowContextWrapper
231 return getShadowApplication().getMainLooper();
H A DShadowApplication.java202 shadowOf(Looper.getMainLooper()).post(new Runnable() {
214 shadowOf(Looper.getMainLooper()).post(new Runnable() {
482 public Looper getMainLooper() { method in class:ShadowApplication

Completed in 570 milliseconds