/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_region_unittest.cc | 118 { DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST() 119 DesktopRect::MakeLTRB(0, 100, 100, 200), in TEST() 120 1, { DesktopRect::MakeLTRB(0, 100, 200, 200) } }, in TEST() 121 { DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST() 122 DesktopRect::MakeLTRB(100, 0, 200, 100), in TEST() 123 1, { DesktopRect::MakeLTRB(100, 0, 200, 200) } }, in TEST() 126 { DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST() 127 DesktopRect::MakeLTRB(0, 150, 100, 250), in TEST() 128 3, { DesktopRect::MakeLTRB(100, 100, 200, 150), in TEST() 129 DesktopRect::MakeLTRB(0, 150, 200, 200), in TEST() [all …]
|
D | cropping_window_capturer_win.cc | 94 DesktopRect::MakeLTRB(enumerated_rect.left, in TopWindowVerifier() 158 context.selected_window_rect = DesktopRect::MakeLTRB( in ShouldUseScreenCapturer() 177 DesktopRect::MakeLTRB(region_rect.left, in ShouldUseScreenCapturer()
|
/external/skia/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 | 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() 69 canvas->clipRect(SkRect::MakeLTRB(0, 0, WIDTH, 256)); in onDraw() 75 canvas->clipRect(SkRect::MakeLTRB(0, 256, WIDTH, 510)); in onDraw()
|
D | convexpolyeffect.cpp | 155 fRects.addToTail(SkRect::MakeLTRB(5.f, 1.f, 30.f, 25.f)); in onOnceBeforeDraw() 157 fRects.addToTail(SkRect::MakeLTRB(5.5f, 0.5f, 29.5f, 24.5f)); in onOnceBeforeDraw() 159 fRects.addToTail(SkRect::MakeLTRB(5.25f, 0.5f, 5.75f, 24.5f)); in onOnceBeforeDraw() 160 fRects.addToTail(SkRect::MakeLTRB(5.5f, 0.5f, 29.5f, 0.75f)); in onOnceBeforeDraw() 162 fRects.addToTail(SkRect::MakeLTRB(5.55f, 0.5f, 5.75f, 24.5f)); in onOnceBeforeDraw() 163 fRects.addToTail(SkRect::MakeLTRB(5.5f, .05f, 29.5f, .25f)); in onOnceBeforeDraw() 165 fRects.addToTail(SkRect::MakeLTRB(5.05f, .55f, 5.45f, .85f)); in onOnceBeforeDraw() 167 fRects.addToTail(SkRect::MakeLTRB(100.f, 50.5f, 5.f, 0.5f)); in onOnceBeforeDraw()
|
D | highcontrastfilter.cpp | 43 SkRect bounds = SkRect::MakeLTRB(0.0f, 0.0f, 1.0f, 1.0f); in draw_scene() 49 bounds = SkRect::MakeLTRB(0.1f, 0.2f, 0.9f, 0.4f); in draw_scene() 57 bounds = SkRect::MakeLTRB(0.1f, 0.8f, 0.9f, 1.0f); in draw_scene() 65 bounds = SkRect::MakeLTRB(0.1f, 0.4f, 0.9f, 0.6f); in draw_scene() 74 bounds = SkRect::MakeLTRB(0.1f, 0.6f, 0.9f, 0.8f); in draw_scene()
|
D | blurredclippedcircle.cpp | 47 SkRect clipRect1 = SkRect::MakeLTRB(0, 0, in onDraw() 59 SkRect clipRect2 = SkRect::MakeLTRB(8, 8, 288, 288); in onDraw() 63 SkRect r = SkRect::MakeLTRB(4, 4, 292, 292); in onDraw()
|
D | ovals.cpp | 142 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); in onDraw() 184 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); in onDraw() 200 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); in onDraw() 217 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); in onDraw() 232 SkRect oval = SkRect::MakeLTRB(-80, -1, 80, 0); in onDraw() 274 SkRect oval = SkRect::MakeLTRB(-30, -30, 30, 30); in onDraw()
|
D | rects.cpp | 209 SkRect r = SkRect::MakeLTRB(0, 0, 30, 30); in makeRects() 215 SkRect r = SkRect::MakeLTRB(0, 0, 2, 40); in makeRects() 221 SkRect r = SkRect::MakeLTRB(0, 0, 40, 2); in makeRects() 227 SkRect r = SkRect::MakeLTRB(0, 0, 0.25f, 10); in makeRects() 233 SkRect r = SkRect::MakeLTRB(0, 0, 60, 60); in makeRects()
|
D | cubicpaths.cpp | 73 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 80, 150)); in onDraw() 75 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 80, 100)); in onDraw() 77 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 30, 150)); in onDraw() 79 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 10, 150)); in onDraw() 83 drawOne(canvas, fFlipped, SkRect::MakeLTRB(0, 0, 150, 80)); in onDraw() 85 drawOne(canvas, fFlipped, SkRect::MakeLTRB(0, 0, 100, 80)); in onDraw() 87 drawOne(canvas, fFlipped, SkRect::MakeLTRB(0, 0, 150, 30)); in onDraw() 89 drawOne(canvas, fFlipped, SkRect::MakeLTRB(0, 0, 150, 10)); in onDraw()
|
D | clipdrawdraw.cpp | 43 const SkRect rect1 = SkRect::MakeLTRB(136.5f, 137.5f, 338.5f, 293.5f); 47 const SkRect rect2 = SkRect::MakeLTRB(207.5f, 179.499f, 530.5f, 429.5f);
|
D | roundrects.cpp | 143 const SkRect rect = SkRect::MakeLTRB(-20, -30, 20, 30); in onDraw() 187 SkRect rect = SkRect::MakeLTRB(-20, -60, 20, 60); in onDraw() 206 SkRect rect = SkRect::MakeLTRB(-80, -30, 80, 30); in onDraw() 226 SkRect rect = SkRect::MakeLTRB(0, -60, 1, 60); in onDraw() 244 SkRect rect = SkRect::MakeLTRB(-80, -1, 80, 0); in onDraw()
|
/external/skia/tests/ |
D | QuickRejectTest.cpp | 107 SkRect bounds = SkRect::MakeLTRB(50, 50, 70, 70); in test_layers() 115 SkRect r0 = SkRect::MakeLTRB(-50.0f, -50.0f, 50.0f, 50.0f); in test_quick_reject() 116 SkRect r1 = SkRect::MakeLTRB(-50.0f, 110.0f, 50.0f, 120.0f); in test_quick_reject() 117 SkRect r2 = SkRect::MakeLTRB(110.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 118 SkRect r3 = SkRect::MakeLTRB(-120.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 119 SkRect r4 = SkRect::MakeLTRB(-50.0f, -120.0f, 50.0f, 120.0f); in test_quick_reject() 120 SkRect r5 = SkRect::MakeLTRB(-120.0f, -120.0f, 120.0f, 120.0f); in test_quick_reject() 121 SkRect r6 = SkRect::MakeLTRB(-120.0f, -120.0f, -110.0f, -110.0f); in test_quick_reject() 122 SkRect r7 = SkRect::MakeLTRB(SK_ScalarNaN, -50.0f, 50.0f, 50.0f); in test_quick_reject() 123 SkRect r8 = SkRect::MakeLTRB(-50.0f, SK_ScalarNaN, 50.0f, 50.0f); in test_quick_reject() [all …]
|
D | WritePixelsTest.cpp | 310 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), in test_write_pixels() 312 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), in test_write_pixels() 314 SkIRect::MakeLTRB(-10, -10, -1, -1), in test_write_pixels() 316 SkIRect::MakeLTRB(-10, -10, 0, 0), in test_write_pixels() 318 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), in test_write_pixels() 320 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), in test_write_pixels() 322 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), in test_write_pixels() 324 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), in test_write_pixels() 326 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), in test_write_pixels() 328 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), in test_write_pixels() [all …]
|
D | ReadPixelsTest.cpp | 300 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), 302 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), 304 SkIRect::MakeLTRB(-10, -10, -1, -1), 306 SkIRect::MakeLTRB(-10, -10, 0, 0), 308 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), 310 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), 312 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), 314 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), 316 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), 318 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), [all …]
|
D | RecordDrawTest.cpp | 171 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[0], SkRect::MakeLTRB(0, 0, 140, 60))); in DEF_TEST() 172 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[1], SkRect::MakeLTRB(0, 20, 180, 100))); in DEF_TEST() 229 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[0], SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST() 230 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[1], SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST() 231 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[2], SkRect::MakeLTRB(0, 0, 40, 40))); in DEF_TEST() 232 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[3], SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST() 245 SkRect layerBounds = SkRect::MakeLTRB(10, 10, 40, 40); in DEF_TEST() 247 recorder.drawRect(SkRect::MakeLTRB(20, 20, 30, 30), SkPaint()); in DEF_TEST() 253 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[0], SkRect::MakeLTRB(10, 10, 40, 40))); in DEF_TEST() 254 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[1], SkRect::MakeLTRB(20, 20, 30, 30))); in DEF_TEST() [all …]
|
D | RRectInPathTest.cpp | 187 SkRect r = SkRect::MakeLTRB(0, 0, 1009, 33554432.0); in test_tricky_radii() 274 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_basic() 324 SkRect rect2 = SkRect::MakeLTRB(0.358211994f, 0.755430222f, 0.872866154f, in test_round_rect_basic() 348 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_rects() 377 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_ovals() 391 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_general() 411 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_iffy_parameters() 432 const SkRect rectx = SkRect::MakeLTRB(min, min, max, big); in test_skbug_3239() 433 const SkRect recty = SkRect::MakeLTRB(min, min, big, max); in test_skbug_3239()
|
D | GrPipelineDynamicStateTest.cpp | 40 {SkIRect::MakeLTRB(0, 0, kScreenSplitX, kScreenSplitY)}, 41 {SkIRect::MakeLTRB(0, kScreenSplitY, kScreenSplitX, kScreenSize)}, 42 {SkIRect::MakeLTRB(kScreenSplitX, 0, kScreenSize, kScreenSplitY)}, 43 {SkIRect::MakeLTRB(kScreenSplitX, kScreenSplitY, kScreenSize, kScreenSize)},
|
/external/skia/samplecode/ |
D | SampleAARects.cpp | 83 rect = SkRect::MakeLTRB(0.f, in onDrawContent() 90 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 97 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 104 rect = SkRect::MakeLTRB(0.75f, in onDrawContent() 113 rect = SkRect::MakeLTRB(0.0f, in onDrawContent() 126 rect = SkRect::MakeLTRB(-20.0f, in onDrawContent() 136 rect = SkRect::MakeLTRB(0.0f, in onDrawContent() 146 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 157 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 168 rect = SkRect::MakeLTRB(0.1f, in onDrawContent()
|
D | SampleClock.cpp | 55 rect = SkRect::MakeLTRB(200-4, -4, 240+4, 4); in onDrawContent() 79 rect = SkRect::MakeLTRB(231.5f, -2.5f, 242.5, 2.5f); in onDrawContent() 119 rect = SkRect::MakeLTRB(-20-7, -7, 80+7, 7); in onDrawContent() 140 rect = SkRect::MakeLTRB(-56-5, -5, 224+5, 5); in onDrawContent() 162 rect = SkRect::MakeLTRB(-60-3, -3, 166+3, 3); in onDrawContent() 170 rect = SkRect::MakeLTRB(-20, -20, 20, 20); in onDrawContent() 180 rect = SkRect::MakeLTRB(-20+190, -20, 20+190, 20); in onDrawContent() 192 rect = SkRect::MakeLTRB(-6, -6, 6, 6); in onDrawContent() 199 rect = SkRect::MakeLTRB(-6, -6, 6, 6); in onDrawContent() 206 rect = SkRect::MakeLTRB(-284, -284, 284, 284); in onDrawContent()
|
/external/skia/bench/ |
D | TableBench.cpp | 46 SkRect cell = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 52 SkRect bottom = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 58 SkRect right = SkRect::MakeLTRB(col * kCellWidth + (kCellWidth-SK_Scalar1), in onDraw()
|
/external/skia/src/core/ |
D | SkGpuBlurUtils.cpp | 143 topRect = SkIRect::MakeLTRB(0, 0, dstRect.right(), midRect.top()); in convolve_gaussian() 144 bottomRect = SkIRect::MakeLTRB(0, midRect.bottom(), dstRect.right(), dstRect.bottom()); in convolve_gaussian() 146 leftRect = SkIRect::MakeLTRB(0, midRect.top(), midRect.left(), midRect.bottom()); in convolve_gaussian() 148 SkIRect::MakeLTRB(midRect.right(), midRect.top(), dstRect.width(), midRect.bottom()); in convolve_gaussian() 154 topRect = SkIRect::MakeLTRB(0, 0, midRect.left(), dstRect.bottom()); in convolve_gaussian() 155 bottomRect = SkIRect::MakeLTRB(midRect.right(), 0, dstRect.right(), dstRect.bottom()); in convolve_gaussian() 157 leftRect = SkIRect::MakeLTRB(midRect.left(), 0, midRect.right(), midRect.top()); in convolve_gaussian() 159 SkIRect::MakeLTRB(midRect.left(), midRect.bottom(), midRect.right(), dstRect.height()); in convolve_gaussian()
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | window_capture_utils.cc | 29 *original_rect = DesktopRect::MakeLTRB( in GetCroppedWindowRect() 35 *cropped_rect = DesktopRect::MakeLTRB( in GetCroppedWindowRect()
|
/external/skia/include/core/ |
D | SkRect.h | 47 static SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b) { in MakeLTRB() function 166 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset() 173 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset() 180 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset() 392 return MakeLTRB(SkMin32(fLeft, fRight), SkMin32(fTop, fBottom), in makeSorted() 435 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeLTRB(SkScalar l, SkScalar t, SkScalar r, in MakeLTRB() function 634 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset() 641 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset() 648 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset() 914 return MakeLTRB(SkMinScalar(fLeft, fRight), SkMinScalar(fTop, fBottom), in makeSorted()
|