Home
last modified time | relevance | path

Searched refs:MakeLTRB (Results 1 – 25 of 71) sorted by relevance

123

/external/skia/tests/
DReadPixelsTest.cpp249 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
251 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), in DEF_GPUTEST()
253 SkIRect::MakeLTRB(-10, -10, -1, -1), in DEF_GPUTEST()
255 SkIRect::MakeLTRB(-10, -10, 0, 0), in DEF_GPUTEST()
257 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), in DEF_GPUTEST()
259 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), in DEF_GPUTEST()
261 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), in DEF_GPUTEST()
263 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), in DEF_GPUTEST()
265 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), in DEF_GPUTEST()
267 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), in DEF_GPUTEST()
[all …]
DWritePixelsTest.cpp368 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
370 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), in DEF_GPUTEST()
372 SkIRect::MakeLTRB(-10, -10, -1, -1), in DEF_GPUTEST()
374 SkIRect::MakeLTRB(-10, -10, 0, 0), in DEF_GPUTEST()
376 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), in DEF_GPUTEST()
378 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), in DEF_GPUTEST()
380 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), in DEF_GPUTEST()
382 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), in DEF_GPUTEST()
384 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), in DEF_GPUTEST()
386 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), in DEF_GPUTEST()
[all …]
DRecordDrawTest.cpp197 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[0].bounds, SkRect::MakeLTRB(0, 0, 140, 60))); in DEF_TEST()
198 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[1].bounds, SkRect::MakeLTRB(0, 20, 180, 100))); in DEF_TEST()
254 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[0].bounds, SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST()
255 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[1].bounds, SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST()
256 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[2].bounds, SkRect::MakeLTRB(0, 0, 40, 40))); in DEF_TEST()
257 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[3].bounds, SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST()
270 SkRect bounds = SkRect::MakeLTRB(10, 10, 40, 40); in DEF_TEST()
272 recorder.drawRect(SkRect::MakeLTRB(20, 20, 30, 30), SkPaint()); in DEF_TEST()
279 … REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[0].bounds, SkRect::MakeLTRB(10, 10, 40, 40))); in DEF_TEST()
280 … REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[1].bounds, SkRect::MakeLTRB(20, 20, 30, 30))); in DEF_TEST()
[all …]
DClipStackTest.cpp38 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 …]
DARGBImageEncoderTest.cpp45 canvas.drawIRect(SkIRect::MakeLTRB(0, 0, kWidth, 1), paint); in DEF_TEST()
47 canvas.drawIRect(SkIRect::MakeLTRB(0, 1, kWidth, 2), paint); in DEF_TEST()
DCanvasStateHelpers.cpp22 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()
DRoundRectTest.cpp24 SkRect r = SkRect::MakeLTRB(0, 0, 1009, 33554432.0); in test_tricky_radii()
116 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_basic()
180 SkRect rect2 = SkRect::MakeLTRB(0.358211994f, 0.755430222f, 0.872866154f, 0.806214333f); in test_round_rect_basic()
220 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_rects()
250 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_ovals()
262 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_general()
282 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_iffy_parameters()
DMatrixClipCollapseTest.cpp159 SkRect r = SkRect::MakeLTRB(10, 10, 90, 90); in emit_clip()
164 SkRect r = SkRect::MakeLTRB(10, 10, 90, 90); in emit_clip()
292 SkRect r = SkRect::MakeLTRB(10, 10, 90, 90); in emit_draw()
299 SkRect r = SkRect::MakeLTRB(10, 10, 90, 90); in emit_draw()
306 SkRect r = SkRect::MakeLTRB(10.0f, 10.0f, 90.0f, 90.0f); in emit_draw()
/external/skia/samplecode/
DSampleAARects.cpp87 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()
DSampleClock.cpp54 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/gm/
Dconvexpolyeffect.cpp133 fRects.addToTail(SkRect::MakeLTRB(5.f, 1.f, 30.f, 25.f)); in onOnceBeforeDraw()
135 fRects.addToTail(SkRect::MakeLTRB(5.5f, 0.5f, 29.5f, 24.5f)); in onOnceBeforeDraw()
137 fRects.addToTail(SkRect::MakeLTRB(5.25f, 0.5f, 5.75f, 24.5f)); in onOnceBeforeDraw()
138 fRects.addToTail(SkRect::MakeLTRB(5.5f, 0.5f, 29.5f, 0.75f)); in onOnceBeforeDraw()
140 fRects.addToTail(SkRect::MakeLTRB(5.55f, 0.5f, 5.75f, 24.5f)); in onOnceBeforeDraw()
141 fRects.addToTail(SkRect::MakeLTRB(5.5f, .05f, 29.5f, .25f)); in onOnceBeforeDraw()
143 fRects.addToTail(SkRect::MakeLTRB(5.05f, .55f, 5.45f, .85f)); in onOnceBeforeDraw()
145 fRects.addToTail(SkRect::MakeLTRB(100.f, 50.5f, 5.f, 0.5f)); in onOnceBeforeDraw()
Drects.cpp219 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()
Dovals.cpp141 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()
Dclipdrawdraw.cpp51 const SkRect rect1 = SkRect::MakeLTRB(136.5f, 137.5f, 338.5f, 293.5f); in onDraw()
55 const SkRect rect2 = SkRect::MakeLTRB(207.5f, 179.499f, 530.5f, 429.5f); in onDraw()
Droundrects.cpp142 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()
Drepeated_bitmap.cpp14 SkRect rect = SkRect::MakeLTRB(-4.25f, -4.25f, 4.25f, 4.25f);
35 SkRect rect = SkRect::MakeLTRB(-68.0f, -68.0f, 68.0f, 68.0f);
Dbitmapsource2.cpp60 SkRect srcRect = SkRect::MakeLTRB(0, 0, in onDraw()
62 SkRect dstRect = SkRect::MakeLTRB(0.75f, 0.75f, 225.75f, 225.75f); in onDraw()
Dtransparency.cpp48 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()
Dtallstretchedbitmaps.cpp48 SkRect bounds = SkRect::MakeLTRB(-radius, -radius, radius, radius); in make_bm()
86 SkIRect subRect = SkIRect::MakeLTRB(0, startItem * itemHeight, in onDraw()
Dfadefilter.cpp24 canvas->drawRect(SkRect::MakeLTRB(64, 64, 192, 192), layerPaint);
Dfilterfastbounds.cpp179 const SkRect r = SkRect::MakeLTRB(20, 20, 30, 30); in draw_geom_with_paint()
263 temp.drawRect(SkRect::MakeLTRB(5, 5, 10, 10), p); in onDraw()
265 temp.drawRect(SkRect::MakeLTRB(5, 0, 10, 5), p); in onDraw()
/external/skia/bench/
DTableBench.cpp46 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/tools/
Dsk_tool_utils.cpp68 bm.eraseArea(SkIRect::MakeLTRB(0, 0, size, size), c2); in create_checkerboard_shader()
69 bm.eraseArea(SkIRect::MakeLTRB(size, size, 2 * size, 2 * size), c2); in create_checkerboard_shader()
/external/skia/include/core/
DSkRect.h47 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()
423 static SkRect SK_WARN_UNUSED_RESULT MakeLTRB(SkScalar l, SkScalar t, SkScalar r, SkScalar b) { in MakeLTRB() function
615 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
622 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
629 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp305 SkIRect top = SkIRect::MakeLTRB(bounds.left(), bounds.top(), bounds.right(), interior.top()); in onFilterImage()
306 SkIRect bottom = SkIRect::MakeLTRB(bounds.left(), interior.bottom(), in onFilterImage()
308 SkIRect left = SkIRect::MakeLTRB(bounds.left(), interior.top(), in onFilterImage()
310 SkIRect right = SkIRect::MakeLTRB(interior.right(), interior.top(), in onFilterImage()

123