/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/tests/ |
D | WritePixelsTest.cpp | 309 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), in test_write_pixels() 311 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), in test_write_pixels() 313 SkIRect::MakeLTRB(-10, -10, -1, -1), in test_write_pixels() 315 SkIRect::MakeLTRB(-10, -10, 0, 0), in test_write_pixels() 317 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), in test_write_pixels() 319 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), in test_write_pixels() 321 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), in test_write_pixels() 323 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), in test_write_pixels() 325 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), in test_write_pixels() 327 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), in test_write_pixels() [all …]
|
D | ReadPixelsTest.cpp | 284 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), 286 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), 288 SkIRect::MakeLTRB(-10, -10, -1, -1), 290 SkIRect::MakeLTRB(-10, -10, 0, 0), 292 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), 294 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), 296 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), 298 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), 300 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), 302 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() 227 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[0], SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST() 228 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[1], SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST() 229 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[2], SkRect::MakeLTRB(0, 0, 40, 40))); in DEF_TEST() 230 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[3], SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST() 243 SkRect layerBounds = SkRect::MakeLTRB(10, 10, 40, 40); in DEF_TEST() 245 recorder.drawRect(SkRect::MakeLTRB(20, 20, 30, 30), SkPaint()); in DEF_TEST() 251 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[0], SkRect::MakeLTRB(10, 10, 40, 40))); in DEF_TEST() 252 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[1], SkRect::MakeLTRB(20, 20, 30, 30))); in DEF_TEST() [all …]
|
D | RRectInPathTest.cpp | 146 SkRect r = SkRect::MakeLTRB(0, 0, 1009, 33554432.0); in test_tricky_radii() 218 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_basic() 266 SkRect rect2 = SkRect::MakeLTRB(0.358211994f, 0.755430222f, 0.872866154f, 0.806214333f); in test_round_rect_basic() 286 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_rects() 311 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_ovals() 321 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_general() 337 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_iffy_parameters() 356 const SkRect rectx = SkRect::MakeLTRB(min, min, max, big); in test_skbug_3239() 357 const SkRect recty = SkRect::MakeLTRB(min, min, big, max); in test_skbug_3239()
|
D | ClipStackTest.cpp | 38 SkRect r = SkRect::MakeLTRB(1, 2, 3, 4); in test_assign_and_comparison() 40 r = SkRect::MakeLTRB(10, 11, 12, 13); in test_assign_and_comparison() 46 r = SkRect::MakeLTRB(14, 15, 16, 17); in test_assign_and_comparison() 61 r = SkRect::MakeLTRB(14, 15, 16, 17); in test_assign_and_comparison() 70 r = SkRect::MakeLTRB(14, 15, 16, 17); in test_assign_and_comparison() 88 r = SkRect::MakeLTRB(24, 25, 26, 27); in test_assign_and_comparison() 398 SkRect rect = SkRect::MakeLTRB(0, 0, 10, 10); in test_rect_inverse_fill() 518 SkRect overlapLeft = SkRect::MakeLTRB(10, 10, 50, 50); in test_rect_merging() 519 SkRect overlapRight = SkRect::MakeLTRB(40, 40, 80, 80); in test_rect_merging() 521 SkRect nestedParent = SkRect::MakeLTRB(10, 10, 90, 90); in test_rect_merging() [all …]
|
D | ARGBImageEncoderTest.cpp | 46 canvas.drawIRect(SkIRect::MakeLTRB(0, 0, kWidth, 1), paint); in DEF_TEST() 48 canvas.drawIRect(SkIRect::MakeLTRB(0, 1, kWidth, 2), paint); in DEF_TEST()
|
D | CanvasStateHelpers.cpp | 22 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); in complex_layers_draw() 42 SkRect clipRect = SkRect::MakeLTRB(SkIntToScalar(left), SkIntToScalar(top), in complex_clips_draw()
|
/external/skia/samplecode/ |
D | SampleAARects.cpp | 87 rect = SkRect::MakeLTRB(0.f, in onDrawContent() 94 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 101 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 108 rect = SkRect::MakeLTRB(0.75f, in onDrawContent() 117 rect = SkRect::MakeLTRB(0.0f, in onDrawContent() 130 rect = SkRect::MakeLTRB(-20.0f, in onDrawContent() 140 rect = SkRect::MakeLTRB(0.0f, in onDrawContent() 150 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 161 rect = SkRect::MakeLTRB(0.5f, in onDrawContent() 172 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/gm/ |
D | convexpolyeffect.cpp | 139 fRects.addToTail(SkRect::MakeLTRB(5.f, 1.f, 30.f, 25.f)); in onOnceBeforeDraw() 141 fRects.addToTail(SkRect::MakeLTRB(5.5f, 0.5f, 29.5f, 24.5f)); in onOnceBeforeDraw() 143 fRects.addToTail(SkRect::MakeLTRB(5.25f, 0.5f, 5.75f, 24.5f)); in onOnceBeforeDraw() 144 fRects.addToTail(SkRect::MakeLTRB(5.5f, 0.5f, 29.5f, 0.75f)); in onOnceBeforeDraw() 146 fRects.addToTail(SkRect::MakeLTRB(5.55f, 0.5f, 5.75f, 24.5f)); in onOnceBeforeDraw() 147 fRects.addToTail(SkRect::MakeLTRB(5.5f, .05f, 29.5f, .25f)); in onOnceBeforeDraw() 149 fRects.addToTail(SkRect::MakeLTRB(5.05f, .55f, 5.45f, .85f)); in onOnceBeforeDraw() 151 fRects.addToTail(SkRect::MakeLTRB(100.f, 50.5f, 5.f, 0.5f)); in onOnceBeforeDraw()
|
D | blurredclippedcircle.cpp | 45 SkRect clipRect1 = SkRect::MakeLTRB(0, 0, in onDraw() 57 SkRect clipRect2 = SkRect::MakeLTRB(8, 8, 288, 288); in onDraw() 61 SkRect r = SkRect::MakeLTRB(4, 4, 292, 292); in onDraw()
|
D | rects.cpp | 219 SkRect r = SkRect::MakeLTRB(0, 0, 30, 30); in makeRects() 225 SkRect r = SkRect::MakeLTRB(0, 0, 2, 40); in makeRects() 231 SkRect r = SkRect::MakeLTRB(0, 0, 40, 2); in makeRects() 237 SkRect r = SkRect::MakeLTRB(0, 0, 0.25f, 10); in makeRects() 243 SkRect r = SkRect::MakeLTRB(0, 0, 60, 60); in makeRects()
|
D | cubicpaths.cpp | 72 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 80, 150)); in onDraw() 74 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 80, 100)); in onDraw() 76 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 30, 150)); in onDraw() 78 drawOne(canvas, fPath, SkRect::MakeLTRB(0, 0, 10, 150)); in onDraw() 82 drawOne(canvas, fFlipped, SkRect::MakeLTRB(0, 0, 150, 80)); in onDraw() 84 drawOne(canvas, fFlipped, SkRect::MakeLTRB(0, 0, 100, 80)); in onDraw() 86 drawOne(canvas, fFlipped, SkRect::MakeLTRB(0, 0, 150, 30)); in onDraw() 88 drawOne(canvas, fFlipped, SkRect::MakeLTRB(0, 0, 150, 10)); in onDraw()
|
D | ovals.cpp | 141 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); in onDraw() 183 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); in onDraw() 199 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); in onDraw() 216 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); in onDraw() 231 SkRect oval = SkRect::MakeLTRB(-80, -1, 80, 0); in onDraw()
|
D | clipdrawdraw.cpp | 41 const SkRect rect1 = SkRect::MakeLTRB(136.5f, 137.5f, 338.5f, 293.5f); 45 const SkRect rect2 = SkRect::MakeLTRB(207.5f, 179.499f, 530.5f, 429.5f);
|
D | roundrects.cpp | 142 const SkRect rect = SkRect::MakeLTRB(-20, -30, 20, 30); in onDraw() 186 SkRect rect = SkRect::MakeLTRB(-20, -60, 20, 60); in onDraw() 205 SkRect rect = SkRect::MakeLTRB(-80, -30, 80, 30); in onDraw() 225 SkRect rect = SkRect::MakeLTRB(0, -60, 1, 60); in onDraw() 243 SkRect rect = SkRect::MakeLTRB(-80, -1, 80, 0); in onDraw()
|
D | imagesource2.cpp | 63 SkRect srcRect = SkRect::MakeLTRB(0, 0, in onDraw() 65 SkRect dstRect = SkRect::MakeLTRB(0.75f, 0.75f, 225.75f, 225.75f); in onDraw()
|
D | skbug_257.cpp | 19 bm.eraseArea(SkIRect::MakeLTRB(0, 0, size, size), c2); in rotated_checkerboard_shader() 20 bm.eraseArea(SkIRect::MakeLTRB(size, size, 2 * size, 2 * size), c2); in rotated_checkerboard_shader() 94 SkRect rect = SkRect::MakeLTRB(8, 8 + translate, size - 8,
|
D | transparency.cpp | 48 bm.eraseArea(SkIRect::MakeLTRB(0, 0, size, size), c2); in create_checkerboard_shader() 49 bm.eraseArea(SkIRect::MakeLTRB(size, size, 2 * size, 2 * size), c2); in create_checkerboard_shader()
|
D | tallstretchedbitmaps.cpp | 48 SkRect bounds = SkRect::MakeLTRB(-radius, -radius, radius, radius); in make_bm() 86 SkIRect subRect = SkIRect::MakeLTRB(0, startItem * itemHeight, in onDraw()
|
/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/effects/ |
D | SkGpuBlurUtils.cpp | 120 SkRect::MakeLTRB(0, 0, dstRect.right(), midRect.top()).roundOut(&topRect); in convolve_gaussian() 121 SkRect::MakeLTRB(0, midRect.bottom(), dstRect.right(), dstRect.bottom()) in convolve_gaussian() 124 leftRect = SkRect::MakeLTRB(0, midRect.top(), midRect.left(), midRect.bottom()); in convolve_gaussian() 126 SkRect::MakeLTRB(midRect.right(), midRect.top(), dstRect.width(), midRect.bottom()); in convolve_gaussian() 132 SkRect::MakeLTRB(0, 0, midRect.left(), dstRect.bottom()).roundOut(&topRect); in convolve_gaussian() 133 SkRect::MakeLTRB(midRect.right(), 0, dstRect.right(), dstRect.bottom()) in convolve_gaussian() 136 leftRect = SkRect::MakeLTRB(midRect.left(), 0, midRect.right(), midRect.top()); in convolve_gaussian() 138 SkRect::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()
|