Searched refs:rect (Results 1 - 25 of 766) sorted by relevance

1234567891011>>

/external/chromium-trace/catapult/firefighter/default/tracing/tracing/ui/tracks/
H A Drect_track.css6 .rect-track {
/external/chromium-trace/catapult/tracing/tracing/ui/tracks/
H A Drect_track.css6 .rect-track {
/external/skia/src/core/
H A DSkValidationUtils.h26 /** 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/chromium-trace/catapult/telemetry/telemetry/internal/actions/
H A Dgesture_common.js32 var rect = getBoundingRect(el);
33 if (rect.top < 0) {
34 rect.height += rect.top;
35 rect.top = 0;
37 if (rect.left < 0) {
38 rect.width += rect.left;
39 rect.left = 0;
52 var outsideHeight = (rect
[all...]
H A Ddrag.js45 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_);
47 rect.left + (rect.width * this.options_.left_start_ratio_);
49 rect.top + (rect.height * this.options_.top_start_ratio_);
51 rect.left + (rect.width * this.options_.left_end_ratio_);
53 rect.top + (rect.height * this.options_.top_end_ratio_);
/external/skia/gm/
H A Ddraw_bitmap_rect_skbug4374.cpp13 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);
/external/webrtc/webrtc/modules/desktop_capture/
H A Dcropped_desktop_frame.cc15 // 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 Ddesktop_geometry.cc22 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...]
H A Dcropped_desktop_frame.h18 // Always takes ownership of |frame|. Returns NULL if |rect| is not contained
21 const DesktopRect& rect);
/external/skia/src/gpu/
H A DGrQuad.h25 explicit GrQuad(const SkRect& rect) { argument
26 this->set(rect);
29 void set(const SkRect& rect) { argument
30 fPoints->setRectFan(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom);
37 void setFromMappedRect(const SkRect& rect, const SkMatrix& matrix) { argument
38 this->set(rect);
/external/skia/tests/
H A DPathOpsDRectTest.cpp31 static void setRawBounds(const SkDQuad& quad, SkDRect* rect) { argument
32 rect->set(quad[0]);
33 rect->add(quad[1]);
34 rect->add(quad[2]);
37 static void setRawBounds(const SkDCubic& cubic, SkDRect* rect) { argument
38 rect->set(cubic[0]);
39 rect->add(cubic[1]);
40 rect->add(cubic[2]);
41 rect->add(cubic[3]);
46 SkDRect rect, rect local
[all...]
/external/skia/src/animator/
H A DSkDrawClip.cpp21 SK_MEMBER(rect, Rect)
28 SkDrawClip::SkDrawClip() : rect(nullptr), path(nullptr) {
32 if (rect != nullptr)
33 maker.fCanvas->clipRect(rect->fRect);
H A DSkDrawPoint.cpp41 void SkDrawPoint::getBounds(SkRect* rect ) {
42 rect->fLeft = rect->fRight = fPoint.fX;
43 rect->fTop = rect->fBottom = fPoint.fY;
H A DSkBoundable.cpp25 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);
H A DSkDisplayBounds.cpp35 SkIRect& rect = maker.fDisplayList.fInvalBounds; local
37 if (rect.isEmpty())
38 rect = fBounds;
40 rect.join(fBounds);
/external/lzma/CPP/Windows/Control/
H A DDialog.cpp81 static bool GetWorkAreaRect(RECT *rect) argument
84 return BOOLToBool(::SystemParametersInfo(SPI_GETWORKAREA, 0, rect, 0));
94 RECT rect; local
95 GetWorkAreaRect(&rect);
96 int wx = RECT_SIZE_X(rect);
97 int wy = RECT_SIZE_Y(rect);
107 RECT rect; local
108 rect.left = 0;
109 rect.top = 0;
110 rect
121 RECT rect; local
133 RECT rect; local
141 GetClientRectOfItem(int id, RECT &rect) argument
143 ::GetWindowRect(GetItem(id), &rect); local
158 RECT rect; local
186 RECT workRect, rect; local
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_path.cpp32 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/opencv3/apps/traincascade/
H A Dtraincascade_features.h9 #define CV_SUM_OFFSETS( p0, p1, p2, p3, rect, step ) \
11 (p0) = (rect).x + (step) * (rect).y; \
13 (p1) = (rect).x + (rect).width + (step) * (rect).y; \
15 (p2) = (rect).x + (step) * ((rect).y + (rect).height); \
17 (p3) = (rect)
[all...]
/external/skia/src/gpu/batches/
H A DGrRectBatchFactory.h29 const SkRect& rect,
33 return GrNonAAFillRectBatch::CreateWithPerspective(color, viewMatrix, rect, localRect,
36 return GrNonAAFillRectBatch::Create(color, viewMatrix, rect, localRect, localMatrix);
42 const SkRect& rect,
44 return GrAAFillRectBatch::Create(color, viewMatrix, rect, devRect);
50 const SkRect& rect,
52 return GrAAFillRectBatch::Create(color, viewMatrix, localMatrix, rect, devRect);
57 const SkRect& rect,
60 return GrNonAAStrokeRectBatch::Create(color, viewMatrix, rect, strokeWidth, snapToPixelCenters);
65 const SkRect& rect,
27 CreateNonAAFill(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix) argument
40 CreateAAFill(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect& devRect) argument
47 CreateAAFill(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix, const SkRect& rect, const SkRect& devRect) argument
55 CreateNonAAStroke(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, SkScalar strokeWidth, bool snapToPixelCenters) argument
63 CreateAAStroke(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec& stroke) argument
[all...]
H A DGrAAFillRectBatch.h21 const SkRect& rect,
27 const SkRect& rect);
32 const SkRect& rect,
37 const SkRect& rect,
43 const SkRect& rect,
50 const SkRect& rect,
/external/opencv3/modules/core/misc/java/test/
H A DRectTest.java11 private Rect rect; field in class:RectTest
18 rect = new Rect(0, 0, 10, 10);
23 area = rect.area();
29 p_br = rect.br();
35 r = rect.clone();
36 assertEquals(rect, r);
40 Rect rect = new Rect(0, 0, 10, 10);
49 assertTrue(rect.contains(p_inner));
50 assertTrue(rect.contains(p_bl));
52 assertFalse(rect
[all...]
/external/webrtc/webrtc/modules/desktop_capture/win/
H A Dwindow_capture_utils.cc19 RECT rect; local
20 if (!GetWindowRect(window, &rect)) {
30 rect.left, rect.top, rect.right, rect.bottom);
36 rect.left + border.width(),
37 rect.top,
38 rect.right - border.width(),
39 rect
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_clear.c45 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/dng_sdk/source/
H A Ddng_rect.h92 bool operator== (const dng_rect &rect) const;
94 bool operator!= (const dng_rect &rect) const
96 return !(*this == rect);
251 dng_rect_real64 (const dng_rect &rect) argument
252 : t ((real64) rect.t)
253 , l ((real64) rect.l)
254 , b ((real64) rect.b)
255 , r ((real64) rect.r)
264 bool operator== (const dng_rect_real64 &rect) const;
266 bool operator!= (const dng_rect_real64 &rect) cons
426 HalfRect(dng_rect &rect) argument
436 DoubleRect(dng_rect &rect) argument
446 InnerPadRect(dng_rect &rect, int32 pad) argument
459 OuterPadRect(dng_rect &rect, int32 pad) argument
469 InnerPadRectH(dng_rect &rect, int32 pad) argument
480 InnerPadRectV(dng_rect &rect, int32 pad) argument
491 MakeHalfRect(const dng_rect &rect) argument
504 MakeDoubleRect(const dng_rect &rect) argument
517 MakeInnerPadRect(const dng_rect &rect, int32 pad) argument
531 MakeOuterPadRect(const dng_rect &rect, int32 pad) argument
[all...]
/external/skia/samplecode/
H A DSampleClock.cpp53 SkRect rect; variable
55 rect = SkRect::MakeLTRB(200-4, -4, 240+4, 4);
58 rrect.setRectRadii(rect, radii);
79 rect = SkRect::MakeLTRB(231.5f, -2.5f, 242.5, 2.5f);
84 rrect.setRectRadii(rect, radii);
119 rect = SkRect::MakeLTRB(-20-7, -7, 80+7, 7);
124 rrect.setRectRadii(rect, radii);
140 rect = SkRect::MakeLTRB(-56-5, -5, 224+5, 5);
145 rrect.setRectRadii(rect, radii);
162 rect
[all...]

Completed in 1099 milliseconds

1234567891011>>