/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | LooperTest.java | 71 Looper looper = ht.getLooper(); in shouldNotQueueMessagesIfLooperIsQuit() local 72 looper.quit(); in shouldNotQueueMessagesIfLooperIsQuit() 73 assertTrue(shadowOf(looper).hasQuit()); in shouldNotQueueMessagesIfLooperIsQuit() 74 assertFalse(shadowOf(looper).post(new Runnable() { in shouldNotQueueMessagesIfLooperIsQuit() 78 assertFalse(shadowOf(looper).postAtFrontOfQueue(new Runnable() { in shouldNotQueueMessagesIfLooperIsQuit() 83 assertFalse(shadowOf(looper).getScheduler().areAnyRunnable()); in shouldNotQueueMessagesIfLooperIsQuit() 90 Looper looper = ht.getLooper(); in shouldThrowawayRunnableQueueIfLooperQuits() local 91 shadowOf(looper).pause(); in shouldThrowawayRunnableQueueIfLooperQuits() 92 shadowOf(looper).post(new Runnable() { in shouldThrowawayRunnableQueueIfLooperQuits() 97 looper.quit(); in shouldThrowawayRunnableQueueIfLooperQuits() [all …]
|
D | HandlerThreadTest.java | 59 Looper looper = handlerThread.getLooper(); in shouldStopThreadIfLooperIsQuit() local 60 assertFalse(shadowOf(looper).quit); in shouldStopThreadIfLooperIsQuit() 61 looper.quit(); in shouldStopThreadIfLooperIsQuit() 64 assertTrue(shadowOf(looper).quit); in shouldStopThreadIfLooperIsQuit()
|
D | HandlerTest.java | 47 Looper looper = newInstanceOf(Looper.class); in testInsertsRunnablesBasedOnLooper() local 49 Handler handler1 = new Handler(looper); in testInsertsRunnablesBasedOnLooper() 52 Handler handler2 = new Handler(looper); in testInsertsRunnablesBasedOnLooper() 55 shadowOf(looper).idle(); in testInsertsRunnablesBasedOnLooper()
|
/external/skia/tests/ |
D | DeviceLooperTest.cpp | 48 SkDeviceLooper looper(pmap, rc, gRec[i].fRect, SkToBool(aa)); in test_simple() local 50 bool valid = looper.next(); in test_simple() 53 REPORTER_ASSERT(reporter, looper.getPixmap().width() == pmap.width()); in test_simple() 54 REPORTER_ASSERT(reporter, looper.getPixmap().height() == pmap.height()); in test_simple() 55 REPORTER_ASSERT(reporter, equal(looper.getRC(), rc)); in test_simple() 57 REPORTER_ASSERT(reporter, !looper.next()); in test_simple() 64 SkDeviceLooper looper(pmap, rc, r, false); in test_simple() local 65 REPORTER_ASSERT(reporter, !looper.next()); in test_simple() 127 SkDeviceLooper looper(pmap, rc, rect, gRec[i].fAA); in test_complex() local 128 while (looper.next()) { in test_complex() [all …]
|
D | LayerDrawLooperTest.cpp | 61 SkAutoTUnref<SkLayerDrawLooper> looper(looperBuilder.detachLooper()); in test_frontToBack() local 63 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize()); in test_frontToBack() 64 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer); in test_frontToBack() 101 SkAutoTUnref<SkLayerDrawLooper> looper(looperBuilder.detachLooper()); in test_backToFront() local 103 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize()); in test_backToFront() 104 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer); in test_backToFront() 141 SkAutoTUnref<SkLayerDrawLooper> looper(looperBuilder.detachLooper()); in test_mixed() local 143 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize()); in test_mixed() 144 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer); in test_mixed()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | TelephonyStateListeners.java | 63 public CallStateChangeListener(EventFacade ef, int subId, Looper looper) { in CallStateChangeListener() argument 64 super(subId, looper); in CallStateChangeListener() 128 public DataConnectionRealTimeInfoChangeListener(EventFacade ef, int subId, Looper looper) { in DataConnectionRealTimeInfoChangeListener() argument 129 super(subId, looper); in DataConnectionRealTimeInfoChangeListener() 167 EventFacade ef, TelephonyManager tm, int subId, Looper looper) { in DataConnectionStateChangeListener() argument 168 super(subId, looper); in DataConnectionStateChangeListener() 203 public ServiceStateChangeListener(EventFacade ef, int subId, Looper looper) { in ServiceStateChangeListener() argument 204 super(subId, looper); in ServiceStateChangeListener() 233 public CellInfoChangeListener(EventFacade ef, int subId, Looper looper) { in CellInfoChangeListener() argument 234 super(subId, looper); in CellInfoChangeListener() [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowLooper.java | 46 final ShadowLooper looper = shadowOf(myLooper()); 47 if (looper != shadowOf(getMainLooper())) { 48 while (!looper.quit) { 50 synchronized (looper) { 51 looper.wait(); 83 public static void pauseLooper(Looper looper) { 84 shadowOf(looper).pause(); 87 public static void unPauseLooper(Looper looper) { 88 shadowOf(looper).unPause();
|
D | ShadowHandlerThread.java | 15 private Looper looper; field in ShadowHandlerThread 32 looper = Looper.myLooper(); in run() 47 while (thread.isAlive() && looper == null) { in getLooper() 54 return looper; in getLooper() 59 Looper looper = getLooper(); in quit() local 60 if (looper != null) { in quit() 61 looper.quit(); in quit()
|
D | ShadowHandler.java | 29 private Looper looper = Looper.myLooper(); field in ShadowHandler 34 this.looper = Looper.myLooper(); in __constructor__() 37 public void __constructor__(Looper looper) { in __constructor__() argument 38 this.looper = looper; in __constructor__() 52 return shadowOf(looper).post(r, delayMillis); in postDelayed() 57 return shadowOf(looper).postAtFrontOfQueue(runnable); in postAtFrontOfQueue() 98 …Robolectric.shadowOf(msg).setWhen(Robolectric.shadowOf(looper).getScheduler().getCurrentTime()+del… in sendMessageDelayed() 134 … Robolectric.shadowOf(msg).setWhen(Robolectric.shadowOf(looper).getScheduler().getCurrentTime()); in sendMessageAtFrontOfQueue() 150 return looper; in getLooper() 155 shadowOf(looper).getScheduler().remove(r); in removeCallbacks()
|
/external/valgrind/none/tests/amd64/ |
D | looper.vgtest | 1 prereq: test -e looper 2 prog: looper
|
D | Makefile.am | 56 looper.stderr.exp looper.stdout.exp looper.vgtest \ 153 looper \ program
|
/external/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 131 const SkLayerDrawLooper* looper) : fCurrRec(looper->fRecs) {} in LayerDrawLooperContext() argument 348 SkLayerDrawLooper* looper = new SkLayerDrawLooper; in detachLooper() local 349 looper->fCount = fCount; in detachLooper() 350 looper->fRecs = fRecs; in detachLooper() 356 return looper; in detachLooper()
|
D | SkBlurDrawLooper.cpp | 110 const SkBlurDrawLooper* looper) in BlurDrawLooperContext() argument 111 : fLooper(looper), fState(SkBlurDrawLooper::kBeforeEdge) {} in BlurDrawLooperContext()
|
/external/skia/src/core/ |
D | SkCanvas.cpp | 495 if (SkDrawLooper* looper = paint.getLooper()) { in AutoDrawLooper() local 497 looper->contextSize()); in AutoDrawLooper() 498 fLooperContext = looper->createContext(canvas, buffer); in AutoDrawLooper() 604 AutoDrawLooper looper(this, fProps, paint, skipLayerForFilter, bounds); \ 605 while (looper.next(SkDrawFilter::kBitmap_Type)) { \ 611 AutoDrawLooper looper(this, fProps, paint, true); \ 612 while (looper.next(type)) { \ 617 AutoDrawLooper looper(this, fProps, paint, false, bounds); \ 618 while (looper.next(type)) { \ 623 AutoDrawLooper looper(this, fProps, paint, false, bounds); \ [all …]
|
/external/chromium-trace/catapult/third_party/Paste/tests/ |
D | test_template.txt | 89 There's a handyish looper thing you can also use in your templates (or 92 >>> from paste.util.looper import looper 94 >>> for loop, item in looper(seq):
|
/external/skia/gm/ |
D | textbloblooper.cpp | 239 for (int looper = 0; looper < fLoopers.count(); looper++) { in onDraw() local 240 paint.setLooper(fLoopers[looper]); in onDraw()
|
/external/valgrind/none/tests/x86/ |
D | Makefile.am | 68 looper.stderr.exp looper.stdout.exp looper.vgtest \ 107 looper \ program
|
D | looper.vgtest | 1 prog: looper
|
/external/skia/platform_tools/android/third_party/native_app_glue/ |
D | android_native_app_glue.c | 100 android_app->looper, LOOPER_ID_INPUT, NULL, in android_app_pre_exec_cmd() 222 ALooper* looper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS); in android_app_entry() local 223 ALooper_addFd(looper, android_app->msgread, LOOPER_ID_MAIN, ALOOPER_EVENT_INPUT, NULL, in android_app_entry() 225 android_app->looper = looper; in android_app_entry()
|
D | android_native_app_glue.h | 143 ALooper* looper; member
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiNanManagerFacade.java | 289 public NanEventListenerPostsEvents(Looper looper) { in NanEventListenerPostsEvents() argument 290 super(looper); in NanEventListenerPostsEvents() 325 public NanSessionListenerPostsEvents(Looper looper, int listenerId) { in NanSessionListenerPostsEvents() argument 326 super(looper); in NanSessionListenerPostsEvents()
|
/external/toybox/toys/pending/ |
D | fdisk.c | 573 int sys_id, looper = 0; in delete_partition() local 589 for (looper = 4; looper < num_parts; looper++) { in delete_partition() 590 pe = &partitions[looper]; in delete_partition() 625 if (i == 4) looper = i+2; in delete_partition() 626 else if (i > 4) looper = i+1; in delete_partition() 627 for (; looper < num_parts; looper++) in delete_partition() 628 partitions[looper-1] = partitions[looper]; in delete_partition()
|
/external/skia/samplecode/ |
D | SampleUnpremul.cpp | 86 SkAutoTUnref<SkDrawLooper> looper( in onDrawContent() local 90 paint.setLooper(looper); in onDrawContent()
|
/external/skia/include/effects/ |
D | SkBlurDrawLooper.h | 75 explicit BlurDrawLooperContext(const SkBlurDrawLooper* looper);
|
D | SkLayerDrawLooper.h | 102 explicit LayerDrawLooperContext(const SkLayerDrawLooper* looper);
|