/external/skia/gm/ |
H A D | draw_bitmap_rect_skbug4374.cpp | 13 SkRect rect = SkRect::Make(source.bounds()); local 14 rect.inset(0.5, 1.5); 16 SkMatrix::MakeScale(8.0f).mapRect(&dst, rect); 17 canvas->drawBitmapRect(source, rect, dst, nullptr);
|
H A D | clip_strokerect.cpp | 36 SkRect rect = SkRect::MakeXYWH(20, 0, 100, 20); variable 39 canvas->clipRect(rect, SkRegion::kReplace_Op, true); 45 canvas->drawRect(rect, p);
|
H A D | thinstrokedrects.cpp | 35 static const SkRect rect = { 0, 0, 10, 10 }; variable 48 canvas->drawRect(rect, paint);
|
H A D | arcofzorro.cpp | 35 SkRect rect = SkRect::MakeXYWH(10, 10, 200, 200); variable 51 canvas->drawArc(rect, 0, arc, false, p);
|
H A D | badpaint.cpp | 46 SkRect rect = SkRect::MakeXYWH(10, 10, 80, 80); variable 48 canvas->drawRect(rect, fPaints[i]);
|
H A D | clipdrawdraw.cpp | 13 // clipRect(rect, noAA); 17 // drawRect(rect, noAA); 18 // can leave 1 pixel wide remnants of the first rect. 19 static void Draw(SkCanvas* canvas, const SkRect& rect) { argument 26 // draw a black rect through the clip 28 canvas->clipRect(rect); 32 // now draw the white rect on top 34 canvas->drawRect(rect, p);
|
H A D | repeated_bitmap.cpp | 19 SkRect rect = SkRect::MakeLTRB(-68.0f, -68.0f, 68.0f, 68.0f); local 30 canvas->drawRect(rect, paint);
|
H A D | bigmatrix.cpp | 42 SkRect rect = {pt.fX - small, pt.fY - small, local 44 canvas->drawRect(rect, paint); 66 rect.setLTRB(pt.fX - small, pt.fY - small, 68 canvas->drawRect(rect, paint);
|
H A D | bmpfilterqualityrepeat.cpp | 64 SkRect rect = SkRect::MakeLTRB(20, 60, 220, 210); variable 65 canvas->drawRect(rect, bmpPaint);
|
H A D | circularclips.cpp | 48 SkRect rect = SkRect::MakeLTRB(fX1 - fR, fY - fR, fX2 + fR, fY + fR); variable 60 canvas->drawRect(rect, fillPaint); 79 canvas->drawRect(rect, fillPaint);
|
H A D | complexclip_blur_tiled.cpp | 53 SkRect rect = SkRect::MakeWH(WIDTH, HEIGHT); variable 54 tileCanvas->saveLayer(&rect, &blurPaint); 55 SkRRect rrect = SkRRect::MakeRectXY(rect.makeInset(20, 20), 25, 25); 58 tileCanvas->drawRect(rect, paint);
|
/external/skia/src/animator/ |
H A D | SkDrawClip.h | 25 SkDrawRect* rect; member in class:SkDrawClip
|
H A D | SkDisplayBounds.cpp | 35 SkIRect& rect = maker.fDisplayList.fInvalBounds; local 37 if (rect.isEmpty()) 38 rect = fBounds; 40 rect.join(fBounds);
|
H A D | SkBoundable.cpp | 25 void SkBoundable::getBounds(SkRect* rect) { argument 26 SkASSERT(rect); 28 INHERITED::getBounds(rect); 31 rect->fLeft = SkIntToScalar(fBounds.fLeft); 32 rect->fTop = SkIntToScalar(fBounds.fTop); 33 rect->fRight = SkIntToScalar(fBounds.fRight); 34 rect->fBottom = SkIntToScalar(fBounds.fBottom);
|
/external/webrtc/webrtc/modules/desktop_capture/ |
H A D | cropped_desktop_frame.cc | 15 // A DesktopFrame that is a sub-rect of another DesktopFrame. 18 CroppedDesktopFrame(DesktopFrame* frame, const DesktopRect& rect); 27 CreateCroppedDesktopFrame(DesktopFrame* frame, const DesktopRect& rect) { argument 28 if (!DesktopRect::MakeSize(frame->size()).ContainsRect(rect)) { 33 return new CroppedDesktopFrame(frame, rect); 37 const DesktopRect& rect) 38 : DesktopFrame(rect.size(), 40 frame->GetFrameDataAtPos(rect.top_left()), 36 CroppedDesktopFrame(DesktopFrame* frame, const DesktopRect& rect) argument
|
H A D | desktop_geometry.cc | 22 bool DesktopRect::ContainsRect(const DesktopRect& rect) const { 23 return rect.left() >= left() && rect.right() <= right() && 24 rect.top() >= top() && rect.bottom() <= bottom(); 27 void DesktopRect::IntersectWith(const DesktopRect& rect) { argument 28 left_ = std::max(left(), rect.left()); 29 top_ = std::max(top(), rect.top()); 30 right_ = std::min(right(), rect.right()); 31 bottom_ = std::min(bottom(), rect [all...] |
/external/opencv3/modules/cudalegacy/test/ |
H A D | TestRectStdDev.h | 55 Ncv32u width, Ncv32u height, NcvRect32u rect, Ncv32f scaleFactor, 70 NcvRect32u rect; member in class:TestRectStdDev
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_path.cpp | 32 CFX_FloatRect rect; local 35 rect = m_Path.GetBoundingBox(width, m_GraphState.GetObject()->m_MiterLimit); 37 rect = m_Path.GetBoundingBox(); 39 rect.Transform(&m_Matrix); 41 rect.left += -0.5f; 42 rect.right += 0.5f; 43 rect.bottom += -0.5f; 44 rect.top += 0.5f; 46 m_Left = rect.left; 47 m_Right = rect [all...] |
/external/skia/bench/ |
H A D | ImageFilterDAGBench.cpp | 39 SkRect rect = SkRect::Make(SkIRect::MakeWH(400, 400)); variable 40 canvas->drawRect(rect, paint); 69 SkRect rect = SkRect::Make(SkIRect::MakeWH(400, 400)); variable 70 canvas->drawRect(rect, paint);
|
/external/skia/src/core/ |
H A D | SkValidationUtils.h | 26 /** Returns true if the rect's dimensions are between 0 and SK_MaxS32 28 static inline bool SkIsValidIRect(const SkIRect& rect) { argument 29 return rect.width() >= 0 && rect.height() >= 0; 32 /** Returns true if the rect's dimensions are between 0 and SK_ScalarMax 34 static inline bool SkIsValidRect(const SkRect& rect) { argument 35 return (rect.fLeft <= rect.fRight) && 36 (rect.fTop <= rect [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
H A D | XYStepCalculator.java | 33 * @param rect
38 public static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number maxVal) {
argument 42 step = getStep(plot.getDomainStepMode(), rect.width(), plot.getDomainStepValue(), minVal, maxVal);
45 step = getStep(plot.getRangeStepMode(), rect.height(), plot.getRangeStepValue(), minVal, maxVal);
|
/external/libvncserver/libvncserver/ |
H A D | hextile.c | 46 rfbFramebufferUpdateRectHeader rect; local 53 rect.r.x = Swap16IfLE(x); 54 rect.r.y = Swap16IfLE(y); 55 rect.r.w = Swap16IfLE(w); 56 rect.r.h = Swap16IfLE(h); 57 rect.encoding = Swap32IfLE(rfbEncodingHextile); 59 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect,
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_clear.c | 45 SVGA3dRect rect = { 0, 0, 0, 0 }; local 66 rect.w = fb->cbufs[0]->width; 67 rect.h = fb->cbufs[0]->height; 78 rect.w = MAX2(rect.w, fb->zsbuf->width); 79 rect.h = MAX2(rect.h, fb->zsbuf->height); 82 if (memcmp(&rect, &svga->state.hw_clear.viewport, sizeof(rect)) != 0) { 84 ret = SVGA3D_SetViewport(svga->swc, &rect); [all...] |
/external/pdfium/xfa/src/fwl/src/theme/ |
H A D | carettp.cpp | 40 CFX_RectF rect = *pRect;
local 41 path.AddRectangle(rect.left, rect.top, rect.width, rect.height);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowPasswordTransformationMethod.java | 32 public void onFocusChanged(View view, CharSequence charSequence, boolean b, int i, Rect rect) { } argument
|