/external/webrtc/modules/desktop_capture/ |
D | desktop_region_unittest.cc | 127 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST() 128 DesktopRect::MakeLTRB(0, 100, 100, 200), in TEST() 130 {DesktopRect::MakeLTRB(0, 100, 200, 200)}}, in TEST() 131 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST() 132 DesktopRect::MakeLTRB(100, 0, 200, 100), in TEST() 134 {DesktopRect::MakeLTRB(100, 0, 200, 200)}}, in TEST() 137 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST() 138 DesktopRect::MakeLTRB(0, 150, 100, 250), in TEST() 140 {DesktopRect::MakeLTRB(100, 100, 200, 150), in TEST() 141 DesktopRect::MakeLTRB(0, 150, 200, 200), in TEST() [all …]
|
D | desktop_capturer_differ_wrapper_unittest.cc | 184 {DesktopRect::MakeLTRB(100, 100, 200, 200), in ExecuteDifferWrapperTest() 185 DesktopRect::MakeLTRB(300, 300, 400, 400)}, in ExecuteDifferWrapperTest() 191 {DesktopRect::MakeLTRB(0, 0, 40, 40), in ExecuteDifferWrapperTest() 192 DesktopRect::MakeLTRB(0, frame_generator.size()->height() - 40, 40, in ExecuteDifferWrapperTest() 194 DesktopRect::MakeLTRB(frame_generator.size()->width() - 40, 0, in ExecuteDifferWrapperTest() 196 DesktopRect::MakeLTRB(frame_generator.size()->width() - 40, in ExecuteDifferWrapperTest() 217 updated_region.push_back(DesktopRect::MakeLTRB(left, top, right, bottom)); in ExecuteDifferWrapperTest()
|
/external/skia/docs/examples/ |
D | Canvas_saveLayer_4.cpp | 22 canvas->drawRect(SkRect::MakeLTRB(10, 10, 60, 60), pRed); in draw() 23 canvas->drawRect(SkRect::MakeLTRB(150, 10, 200, 60), pRed); in draw() 25 canvas->drawRect(SkRect::MakeLTRB(30, 10, 80, 60), pSolidBlue); in draw() 26 canvas->drawRect(SkRect::MakeLTRB(170, 10, 220, 60), pThirtyBlue); in draw() 32 canvas->drawRect(SkRect::MakeLTRB(10, 70, 60, 120), pRed); in draw() 33 canvas->drawRect(SkRect::MakeLTRB(150, 70, 200, 120), pRed); in draw() 40 canvas->drawRect(SkRect::MakeLTRB(30, 70, 80, 120), pSolidBlue); in draw() 41 canvas->drawRect(SkRect::MakeLTRB(170, 70, 220, 120), pThirtyBlue); in draw() 50 canvas->drawRect(SkRect::MakeLTRB(10, 130, 60, 180), pRed); in draw() 51 canvas->drawRect(SkRect::MakeLTRB(150, 130, 200, 180), pRed); in draw() [all …]
|
/external/skia/tests/ |
D | QuickRejectTest.cpp | 53 SkRect bounds = SkRect::MakeLTRB(50, 50, 70, 70); in test_layers() 61 SkRect r0 = SkRect::MakeLTRB(-50.0f, -50.0f, 50.0f, 50.0f); in test_quick_reject() 62 SkRect r1 = SkRect::MakeLTRB(-50.0f, 110.0f, 50.0f, 120.0f); in test_quick_reject() 63 SkRect r2 = SkRect::MakeLTRB(110.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 64 SkRect r3 = SkRect::MakeLTRB(-120.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 65 SkRect r4 = SkRect::MakeLTRB(-50.0f, -120.0f, 50.0f, 120.0f); in test_quick_reject() 66 SkRect r5 = SkRect::MakeLTRB(-120.0f, -120.0f, 120.0f, 120.0f); in test_quick_reject() 67 SkRect r6 = SkRect::MakeLTRB(-120.0f, -120.0f, -110.0f, -110.0f); in test_quick_reject() 68 SkRect r7 = SkRect::MakeLTRB(SK_ScalarNaN, -50.0f, 50.0f, 50.0f); in test_quick_reject() 69 SkRect r8 = SkRect::MakeLTRB(-50.0f, SK_ScalarNaN, 50.0f, 50.0f); in test_quick_reject() [all …]
|
D | ReadPixelsTest.cpp | 277 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), 279 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), 281 SkIRect::MakeLTRB(-10, -10, -1, -1), 283 SkIRect::MakeLTRB(-10, -10, 0, 0), 285 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), 287 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), 289 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), 291 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), 293 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), 295 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), [all …]
|
D | WritePixelsTest.cpp | 330 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), in test_write_pixels() 332 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), in test_write_pixels() 334 SkIRect::MakeLTRB(-10, -10, -1, -1), in test_write_pixels() 336 SkIRect::MakeLTRB(-10, -10, 0, 0), in test_write_pixels() 338 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), in test_write_pixels() 340 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), in test_write_pixels() 342 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), in test_write_pixels() 344 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), in test_write_pixels() 346 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), in test_write_pixels() 348 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), in test_write_pixels() [all …]
|
D | SkGlyphTest.cpp | 16 REPORTER_ASSERT(reporter, a.iRect() == SkIRect::MakeLTRB(1, 1, 10, 10)); in DEF_TEST() 19 REPORTER_ASSERT(reporter, a.iRect() == SkIRect::MakeLTRB(1, 1, 10, 10)); in DEF_TEST() 27 REPORTER_ASSERT(reporter, acc.iRect() == SkIRect::MakeLTRB(9, 9, 10, 10)); in DEF_TEST() 35 REPORTER_ASSERT(reporter, acc.iRect() == SkIRect::MakeLTRB(-10, -10, 29, 29)); in DEF_TEST()
|
/external/skqp/gm/ |
D | bigrect.cpp | 30 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect() 33 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect() 36 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect() 39 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect() 42 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect() 45 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect() 48 SkRect leftBorder = SkRect::MakeLTRB(-2, -1, 0, 35); in draw_big_rect() 51 SkRect topBorder = SkRect::MakeLTRB(-1, -2, 35, 0); in draw_big_rect() 54 SkRect rightBorder = SkRect::MakeLTRB(34, -1, 36, 35); in draw_big_rect() 57 SkRect bottomBorder = SkRect::MakeLTRB(-1, 34, 35, 36); in draw_big_rect() [all …]
|
D | complexclip4.cpp | 42 … canvas->androidFramework_setDeviceClipRestriction(SkIRect::MakeLTRB(100, 100, 300, 300)); in onDraw() 44 canvas->clipRect(SkRect::MakeLTRB(100, 200, 400, 500), in onDraw() 46 canvas->drawRect(SkRect::MakeLTRB(100, 200, 400, 500), p); in onDraw() 51 … canvas->androidFramework_setDeviceClipRestriction(SkIRect::MakeLTRB(500, 100, 800, 300)); in onDraw() 61 canvas->drawRect(SkRect::MakeLTRB(500, 200, 900, 500), p); in onDraw() 66 … canvas->androidFramework_setDeviceClipRestriction(SkIRect::MakeLTRB(500, 500, 800, 700)); in onDraw() 69 canvas->clipRRect(SkRRect::MakeOval(SkRect::MakeLTRB(500, 600, 900, 750)), in onDraw() 71 canvas->drawRect(SkRect::MakeLTRB(500, 600, 900, 750), p); in onDraw() 77 canvas->clipRect(SkRect::MakeLTRB(100, 400, 300, 750), in onDraw() 80 … canvas->androidFramework_setDeviceClipRestriction(SkIRect::MakeLTRB(150, 450, 250, 700)); in onDraw()
|
D | crbug_892988.cpp | 22 canvas->drawRect(SkRect::MakeLTRB(11.5, 0.5, 245.5, 245.5), paint1); 23 canvas->clipRect(SkRect::MakeLTRB(12, 1, 244, 244), true); 30 canvas->drawRect(SkRect::MakeLTRB(12, 1, 244, 244), paint2);
|
D | clip_error.cpp | 22 canvas->clipRect(SkRect::MakeLTRB(0, 0, 1081, 665)); in draw_text() 23 canvas->drawRect(SkRect::MakeLTRB(0, 0, 1081, 665), clearPaint); in draw_text() 61 canvas->clipRect(SkRect::MakeLTRB(0, 0, WIDTH, 256)); in onDraw() 67 canvas->clipRect(SkRect::MakeLTRB(0, 256, WIDTH, 510)); in onDraw()
|
/external/skia/gm/ |
D | bigrect.cpp | 35 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect() 38 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect() 41 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect() 44 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect() 47 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect() 50 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect() 53 SkRect leftBorder = SkRect::MakeLTRB(-2, -1, 0, 35); in draw_big_rect() 56 SkRect topBorder = SkRect::MakeLTRB(-1, -2, 35, 0); in draw_big_rect() 59 SkRect rightBorder = SkRect::MakeLTRB(34, -1, 36, 35); in draw_big_rect() 62 SkRect bottomBorder = SkRect::MakeLTRB(-1, 34, 35, 36); in draw_big_rect() [all …]
|
D | complexclip4.cpp | 80 emulateDeviceRestriction(canvas, SkIRect::MakeLTRB(100, 100, 300, 300)); in onDraw() 82 emulateClipRectReplace(canvas, SkRect::MakeLTRB(100, 200, 400, 500), fDoAAClip); in onDraw() 83 canvas->drawRect(SkRect::MakeLTRB(100, 200, 400, 500), p); in onDraw() 88 emulateDeviceRestriction(canvas, SkIRect::MakeLTRB(500, 100, 800, 300)); in onDraw() 98 canvas->drawRect(SkRect::MakeLTRB(500, 200, 900, 500), p); in onDraw() 103 emulateDeviceRestriction(canvas, SkIRect::MakeLTRB(500, 500, 800, 700)); in onDraw() 107 canvas, SkRRect::MakeOval(SkRect::MakeLTRB(500, 600, 900, 750)), fDoAAClip); in onDraw() 108 canvas->drawRect(SkRect::MakeLTRB(500, 600, 900, 750), p); in onDraw() 114 canvas->clipRect(SkRect::MakeLTRB(100, 400, 300, 750), in onDraw() 120 emulateDeviceRestriction(canvas, SkIRect::MakeLTRB(150, 450, 250, 700)); in onDraw()
|
D | overdrawcanvas.cpp | 40 overdrawCanvas.drawRect(SkRect::MakeLTRB(10, 10, 200, 200), SkPaint()); in DEF_SIMPLE_GM_BG() 41 overdrawCanvas.drawRect(SkRect::MakeLTRB(20, 20, 190, 190), SkPaint()); in DEF_SIMPLE_GM_BG() 42 overdrawCanvas.drawRect(SkRect::MakeLTRB(30, 30, 180, 180), SkPaint()); in DEF_SIMPLE_GM_BG() 43 overdrawCanvas.drawRect(SkRect::MakeLTRB(40, 40, 170, 170), SkPaint()); in DEF_SIMPLE_GM_BG() 44 overdrawCanvas.drawRect(SkRect::MakeLTRB(50, 50, 160, 160), SkPaint()); in DEF_SIMPLE_GM_BG() 45 overdrawCanvas.drawRect(SkRect::MakeLTRB(60, 60, 150, 150), SkPaint()); in DEF_SIMPLE_GM_BG()
|
D | aarecteffect.cpp | 58 SkRect::MakeLTRB(5.f, 1.f, 30.f, 25.f), in onDraw() 60 SkRect::MakeLTRB(5.5f, 0.5f, 29.5f, 24.5f), in onDraw() 62 SkRect::MakeLTRB(5.25f, 0.5f, 5.75f, 24.5f), in onDraw() 63 SkRect::MakeLTRB(5.5f, 0.5f, 29.5f, 0.75f), in onDraw() 65 SkRect::MakeLTRB(5.55f, 0.5f, 5.75f, 24.5f), in onDraw() 66 SkRect::MakeLTRB(5.5f, .05f, 29.5f, .25f), in onDraw() 68 SkRect::MakeLTRB(5.05f, .55f, 5.45f, .85f), in onDraw()
|
D | crbug_892988.cpp | 24 canvas->drawRect(SkRect::MakeLTRB(11.5, 0.5, 245.5, 245.5), paint1); 25 canvas->clipRect(SkRect::MakeLTRB(12, 1, 244, 244), true); 32 canvas->drawRect(SkRect::MakeLTRB(12, 1, 244, 244), paint2);
|
D | clip_error.cpp | 34 canvas->clipRect(SkRect::MakeLTRB(0, 0, 1081, 665)); in draw_text() 35 canvas->drawRect(SkRect::MakeLTRB(0, 0, 1081, 665), clearPaint); in draw_text() 73 canvas->clipRect(SkRect::MakeLTRB(0, 0, WIDTH, 256)); in onDraw() 79 canvas->clipRect(SkRect::MakeLTRB(0, 256, WIDTH, 510)); in onDraw()
|
/external/skqp/tests/ |
D | QuickRejectTest.cpp | 102 SkRect bounds = SkRect::MakeLTRB(50, 50, 70, 70); in test_layers() 110 SkRect r0 = SkRect::MakeLTRB(-50.0f, -50.0f, 50.0f, 50.0f); in test_quick_reject() 111 SkRect r1 = SkRect::MakeLTRB(-50.0f, 110.0f, 50.0f, 120.0f); in test_quick_reject() 112 SkRect r2 = SkRect::MakeLTRB(110.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 113 SkRect r3 = SkRect::MakeLTRB(-120.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 114 SkRect r4 = SkRect::MakeLTRB(-50.0f, -120.0f, 50.0f, 120.0f); in test_quick_reject() 115 SkRect r5 = SkRect::MakeLTRB(-120.0f, -120.0f, 120.0f, 120.0f); in test_quick_reject() 116 SkRect r6 = SkRect::MakeLTRB(-120.0f, -120.0f, -110.0f, -110.0f); in test_quick_reject() 117 SkRect r7 = SkRect::MakeLTRB(SK_ScalarNaN, -50.0f, 50.0f, 50.0f); in test_quick_reject() 118 SkRect r8 = SkRect::MakeLTRB(-50.0f, SK_ScalarNaN, 50.0f, 50.0f); in test_quick_reject() [all …]
|
D | WritePixelsTest.cpp | 330 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), in test_write_pixels() 332 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), in test_write_pixels() 334 SkIRect::MakeLTRB(-10, -10, -1, -1), in test_write_pixels() 336 SkIRect::MakeLTRB(-10, -10, 0, 0), in test_write_pixels() 338 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), in test_write_pixels() 340 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), in test_write_pixels() 342 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), in test_write_pixels() 344 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), in test_write_pixels() 346 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), in test_write_pixels() 348 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), in test_write_pixels() [all …]
|
D | ReadPixelsTest.cpp | 311 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), 313 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), 315 SkIRect::MakeLTRB(-10, -10, -1, -1), 317 SkIRect::MakeLTRB(-10, -10, 0, 0), 319 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), 321 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), 323 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), 325 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), 327 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), 329 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), [all …]
|
/external/skqp/samplecode/ |
D | SampleAARects.cpp | 82 rect = SkRect::MakeLTRB(0.f, in onDrawContent() 89 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 96 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 103 rect = SkRect::MakeLTRB(0.75f, in onDrawContent() 112 rect = SkRect::MakeLTRB(0.0f, in onDrawContent() 125 rect = SkRect::MakeLTRB(-20.0f, in onDrawContent() 135 rect = SkRect::MakeLTRB(0.0f, in onDrawContent() 145 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 156 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 167 rect = SkRect::MakeLTRB(0.1f, in onDrawContent()
|
D | SampleClock.cpp | 54 rect = SkRect::MakeLTRB(200-4, -4, 240+4, 4); in onDrawContent() 78 rect = SkRect::MakeLTRB(231.5f, -2.5f, 242.5, 2.5f); in onDrawContent() 118 rect = SkRect::MakeLTRB(-20-7, -7, 80+7, 7); in onDrawContent() 139 rect = SkRect::MakeLTRB(-56-5, -5, 224+5, 5); in onDrawContent() 161 rect = SkRect::MakeLTRB(-60-3, -3, 166+3, 3); in onDrawContent() 169 rect = SkRect::MakeLTRB(-20, -20, 20, 20); in onDrawContent() 179 rect = SkRect::MakeLTRB(-20+190, -20, 20+190, 20); in onDrawContent() 191 rect = SkRect::MakeLTRB(-6, -6, 6, 6); in onDrawContent() 198 rect = SkRect::MakeLTRB(-6, -6, 6, 6); in onDrawContent() 205 rect = SkRect::MakeLTRB(-284, -284, 284, 284); in onDrawContent()
|
/external/skia/samplecode/ |
D | SampleAARects.cpp | 72 rect = SkRect::MakeLTRB(0.f, in onDrawContent() 79 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 86 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 93 rect = SkRect::MakeLTRB(0.75f, in onDrawContent() 102 rect = SkRect::MakeLTRB(0.0f, in onDrawContent() 115 rect = SkRect::MakeLTRB(-20.0f, in onDrawContent() 125 rect = SkRect::MakeLTRB(0.0f, in onDrawContent() 135 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 146 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 157 rect = SkRect::MakeLTRB(0.1f, in onDrawContent()
|
D | SampleClock.cpp | 44 rect = SkRect::MakeLTRB(200-4, -4, 240+4, 4); in onDrawContent() 68 rect = SkRect::MakeLTRB(231.5f, -2.5f, 242.5, 2.5f); in onDrawContent() 108 rect = SkRect::MakeLTRB(-20-7, -7, 80+7, 7); in onDrawContent() 129 rect = SkRect::MakeLTRB(-56-5, -5, 224+5, 5); in onDrawContent() 151 rect = SkRect::MakeLTRB(-60-3, -3, 166+3, 3); in onDrawContent() 159 rect = SkRect::MakeLTRB(-20, -20, 20, 20); in onDrawContent() 169 rect = SkRect::MakeLTRB(-20+190, -20, 20+190, 20); in onDrawContent() 181 rect = SkRect::MakeLTRB(-6, -6, 6, 6); in onDrawContent() 188 rect = SkRect::MakeLTRB(-6, -6, 6, 6); in onDrawContent() 195 rect = SkRect::MakeLTRB(-284, -284, 284, 284); in onDrawContent()
|
/external/skia/modules/sksg/tests/ |
D | SGTest.cpp | 200 SkRect::MakeLTRB(400, 200, 600, 400), in inval_test1() 269 SkRect::MakeLTRB(100, 100, 300, 300), in inval_test2() 270 SkRect::MakeLTRB( 0, 0, 300, 300), in inval_test2() 282 SkRect::MakeLTRB(100, 100, 200, 300), in inval_test2() 283 SkRect::MakeLTRB(100, 100, 300, 300), in inval_test2() 314 SkRect::MakeLTRB(50, 75, 350, 175), in inval_test3() 315 SkRect::MakeLTRB(0, 0, 350, 175), in inval_test3() 324 SkRect::MakeLTRB(50, 75, 350, 175), in inval_test3() 325 SkRect::MakeLTRB(50, 75, 350, 175), in inval_test3() 334 SkRect::MakeLTRB(50, 75, 350, 175), in inval_test3() [all …]
|