Searched refs:rect (Results 26 - 50 of 766) sorted by relevance

1234567891011>>

/external/chromium-trace/catapult/firefighter/default/tracing/tracing/ui/base/
H A Dline_chart.css11 * /deep/ .line-chart #brushes > rect {
/external/chromium-trace/catapult/tracing/tracing/ui/base/
H A Dline_chart.css11 * /deep/ .line-chart #brushes > rect {
/external/skia/src/gpu/batches/
H A DGrNonAAStrokeRectBatch.h23 const SkRect& rect,
29 const SkRect& rect,
H A DGrNonAAFillRectBatch.h21 const SkRect& rect,
27 const SkRect& rect,
33 const SkRect& rect,
H A DGrNonAAStrokeRectBatch.cpp17 /* create a triangle strip that strokes the specified rect. There are 8
22 static void init_stroke_rect_strip(SkPoint verts[10], const SkRect& rect, SkScalar width) { argument
26 //SkASSERT(rad < rect.width() / 2 && rad < rect.height() / 2);
28 verts[0].set(rect.fLeft + rad, rect.fTop + rad);
29 verts[1].set(rect.fLeft - rad, rect.fTop - rad);
30 verts[2].set(rect.fRight - rad, rect
65 append(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, SkScalar strokeWidth) argument
77 appendAndUpdateBounds(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, SkScalar strokeWidth, bool snapToPixelCenters) argument
219 Create(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, SkScalar strokeWidth, bool snapToPixelCenters) argument
230 Append(GrBatch* origBatch, GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, SkScalar strokeWidth, bool snapToPixelCenters) argument
247 SkRect rect = GrTest::TestRect(random); local
[all...]
/external/skia/gm/
H A Dpathinterior.cpp17 SkRect rect = r; local
18 rect.inset(r.width() / 8, r.height() / 8);
19 return rect;
41 SkRect rect; local
43 bool hasInterior = path.hasRectangularInterior(&rect);
57 canvas->drawRect(rect, paint);
64 const SkRect rect = { 0, 0, 80, 80 }; variable
65 const SkScalar RAD = rect.width()/8;
79 SkRect r = insetFirst ? inset(rect) : rect;
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
H A Dscroll_bounce.js34 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element);
36 rect.left + rect.width * this.options_.left_start_ratio;
38 rect.top + rect.height * this.options_.top_start_ratio;
H A Dpinch.js55 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_);
57 rect.left + rect.width * this.options_.left_anchor_ratio_;
59 rect.top + rect.height * this.options_.top_anchor_ratio_;
H A Dswipe.js53 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_);
55 rect.left + rect.width * this.options_.left_start_ratio_;
57 rect.top + rect.height * this.options_.top_start_ratio_;
H A Dtap.js48 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_);
50 rect.left + rect.width * this.options_.left_position_percentage_;
52 rect.top + rect.height * this.options_.top_position_percentage_;
/external/skia/tools/VisualBench/
H A DVisualInteractiveModule.cpp39 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(canvasSize.fWidth-kDisplayWidth-kDisplayPadding), local
43 canvas->clipRect(rect);
45 canvas->drawRect(rect, paint);
48 canvas->drawLine(rect.fLeft, rect.fBottom - kBaseMS*kPixelPerMS,
49 rect.fRight, rect.fBottom - kBaseMS*kPixelPerMS, paint);
52 canvas->drawRect(rect, paint);
54 int x = SkScalarTruncToInt(rect.fLeft) + kGraphPadding;
56 const int startY = SkScalarTruncToInt(rect
[all...]
/external/opencv/cvaux/src/
H A Dcamshift.cpp162 if( m_comp.rect.width == 0 || m_comp.rect.height == 0 ||
173 cvSetImageROI( m_color_planes[i], m_comp.rect );
174 cvSetImageROI( m_mask, m_comp.rect );
180 cvSetImageROI( m_color_planes[i], m_comp.rect );
204 CvRect rect; local
213 if( m_comp.rect.width == 0 || m_comp.rect.height == 0 ||
224 rect = m_comp.rect;
[all...]
/external/opencv3/samples/java/sbt/src/main/java/
H A DDetectFaceDemo.java34 for (Rect rect : faceDetections.toArray()) {
35 Imgproc.rectangle(image, new Point(rect.x, rect.y), new Point(rect.x
36 + rect.width, rect.y + rect.height), new Scalar(0, 255, 0));
/external/libvterm/src/
H A Dvterm.c231 void vterm_scroll_rect(VTermRect rect, argument
235 int (*eraserect)(VTermRect rect, int selective, void *user),
241 if(abs(downward) >= rect.end_row - rect.start_row ||
242 abs(rightward) >= rect.end_col - rect.start_col) {
244 (*eraserect)(rect, 0, user);
249 /* rect: [XXX................]
253 dest.start_col = rect.start_col;
254 dest.end_col = rect
[all...]
/external/skia/tests/
H A DRTreeTest.cpp17 SkRect rect = {0,0,0,0}; local
18 while (rect.isEmpty()) {
19 rect.fLeft = rand.nextRangeF(0, 1000);
20 rect.fRight = rand.nextRangeF(0, 1000);
21 rect.fTop = rand.nextRangeF(0, 1000);
22 rect.fBottom = rand.nextRangeF(0, 1000);
23 rect.sort();
25 return rect;
H A DRoundRectTest.cpp131 const SkRect& rect,
135 rr.setNinePatch(rect, l, t, r, b);
138 REPORTER_ASSERT(reporter, rr.rect() == rect);
151 rr2.setRectRadii(rect, radii);
164 REPORTER_ASSERT(reporter, empty.rect().isEmpty());
171 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local
174 rr1.setRect(rect);
177 REPORTER_ASSERT(reporter, rr1.rect() == rect);
130 test_9patch_rrect(skiatest::Reporter* reporter, const SkRect& rect, SkScalar l, SkScalar t, SkScalar r, SkScalar b, bool checkRadii) argument
275 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local
305 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local
317 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local
337 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local
[all...]
/external/dng_sdk/source/
H A Ddng_rect.cpp22 bool dng_rect::operator== (const dng_rect &rect) const
25 return (rect.t == t) &&
26 (rect.l == l) &&
27 (rect.b == b) &&
28 (rect.r == r);
43 bool dng_rect_real64::operator== (const dng_rect_real64 &rect) const
46 return (rect.t == t) &&
47 (rect.l == l) &&
48 (rect.b == b) &&
49 (rect
[all...]
/external/skia/include/gpu/
H A DGrClip.h31 GrClip(const SkIRect& rect) : fClipType(kIRect_ClipType) { argument
33 fClip.fIRect = rect;
36 GrClip(const SkRect& rect) : fClipType(kIRect_ClipType) { argument
38 fClip.fIRect.fLeft = SkScalarRoundToInt(rect.fLeft);
39 fClip.fIRect.fTop = SkScalarRoundToInt(rect.fTop);
40 fClip.fIRect.fRight = SkScalarRoundToInt(rect.fRight);
41 fClip.fIRect.fBottom = SkScalarRoundToInt(rect.fBottom);
138 bool isWideOpen(const SkRect& rect) const {
141 (kIRect_ClipType == fClipType && this->irect().contains(rect));
144 bool isWideOpen(const SkIRect& rect) cons
[all...]
/external/opencv3/samples/cpp/
H A Dgrabcut.cpp74 Rect rect; member in class:GCApplication
129 rectangle( res, Point( rect.x, rect.y ), Point(rect.x + rect.width, rect.y + rect.height ), GREEN, 2);
138 rect.x = max(0, rect.x);
139 rect
[all...]
/external/opencv3/modules/objdetect/src/
H A Dcascadedetect.hpp269 #define CC_RECT "rect"
273 #define CV_SUM_PTRS( p0, p1, p2, p3, sum, rect, step ) \
275 (p0) = sum + (rect).x + (step) * (rect).y, \
277 (p1) = sum + (rect).x + (rect).width + (step) * (rect).y, \
279 (p2) = sum + (rect).x + (step) * ((rect).y + (rect)
346 } rect[RECT_NUM]; member in struct:cv::HaarEvaluator::Feature
436 Rect rect; // weight and height for block member in struct:cv::LBPEvaluator::Feature
[all...]
/external/skia/samplecode/
H A DSampleAARects.cpp74 SkRect rect; local
87 rect = SkRect::MakeLTRB(0.f,
91 canvas->drawRect(rect, paints[p]);
94 rect = SkRect::MakeLTRB(0.5f,
98 canvas->drawRect(rect, paints[p]);
101 rect = SkRect::MakeLTRB(0.5f,
105 canvas->drawRect(rect, paints[p]);
108 rect = SkRect::MakeLTRB(0.75f,
112 canvas->drawRect(rect, paints[p]);
117 rect
[all...]
/external/webrtc/webrtc/modules/desktop_capture/x11/
H A Dx_server_pixel_buffer.cc236 void XServerPixelBuffer::CaptureRect(const DesktopRect& rect, argument
238 assert(rect.right() <= window_size_.width());
239 assert(rect.bottom() <= window_size_.height());
246 rect.left(), rect.top(), rect.width(), rect.height(),
247 rect.left(), rect.top());
251 rect
268 FastBlit(uint8_t* image, const DesktopRect& rect, DesktopFrame* frame) argument
287 SlowBlit(uint8_t* image, const DesktopRect& rect, DesktopFrame* frame) argument
[all...]
/external/pdfium/xfa/src/fxfa/src/app/
H A Dxfa_ffpath.cpp18 void CXFA_FFLine::GetRectFromHand(CFX_RectF& rect, argument
22 if (rect.height < 1.0f) {
25 rect.top -= fHalfWidth;
28 rect.top += fHalfWidth;
30 } else if (rect.width < 1.0f) {
33 rect.left += fHalfWidth;
36 rect.left += fHalfWidth;
42 rect.Inflate(fHalfWidth, fHalfWidth);
45 rect.Deflate(fHalfWidth, fHalfWidth);
147 CFX_RectF rect; local
[all...]
/external/opencv3/apps/traincascade/
H A Dlbpfeatures.cpp49 rect = cvRect(0, 0, 0, 0);
54 Rect tr = rect = cvRect(x, y, _blockWidth, _blockHeight);
56 tr.x += 2*rect.width;
58 tr.y +=2*rect.height;
60 tr.x -= 2*rect.width;
66 fs << CC_RECT << "[:" << rect.x << rect.y << rect.width << rect.height << "]";
/external/pdfium/xfa/src/fwl/src/theme/
H A Dcarettp.cpp40 CFX_RectF rect = *pRect; local
41 path.AddRectangle(rect.left, rect.top, rect.width, rect.height);

Completed in 989 milliseconds

1234567891011>>