Searched refs:rect (Results 151 - 175 of 501) sorted by relevance

1234567891011>>

/external/skia/tests/
H A DClipStackTest.cpp24 // Build up a clip stack with a path, an empty clip, and a rect.
74 // Test that version constructed with rect-path rather than a rect is still considered equal.
398 SkRect rect = SkRect::MakeLTRB(0, 0, 10, 10);
401 path.addRect(rect);
410 REPORTER_ASSERT(reporter, bounds == rect);
414 SkRect rect = SkRect::MakeWH(100, 100);
421 // Adding a new rect with the replace operator should not increase
426 stack.clipDevRect(rect, SkRegion::kReplace_Op, false);
428 stack.clipDevRect(rect, SkRegio
824 add_rect(const SkRect& rect, bool invert, SkRegion::Op op, SkClipStack* stack) argument
835 add_oval(const SkRect& rect, bool invert, SkRegion::Op op, SkClipStack* stack) argument
946 SkRect rect = SkRect::MakeXYWH(xy.fX, xy.fY, size.fWidth, size.fHeight); local
[all...]
H A DMaskCacheTest.cpp35 SkRect rect = SkRect::MakeWH(100, 100); local
37 rrect.setRectXY(rect, 30, 30);
74 SkRect rect = SkRect::MakeWH(100, 100); local
75 SkRect rects[2] = {rect};
H A DImageNewShaderTest.cpp35 SkRect rect = SkRect::MakeXYWH( local
41 sourceCanvas->drawRect(rect, paintColor);
59 SkIRect rect = info.bounds(); local
62 sourceSurface->getCanvas()->readPixels(rect, &bmOrig);
66 destinationCanvas->readPixels(rect, &bm);
89 destinationCanvas->readPixels(rect, &bmt);
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
H A DXYPlotWithBgImgActivity.java108 RectF rect = plot.getGraphWidget().getGridRect();
115 (int) rect.height(),
120 m.setTranslate(rect.left, rect.top);
/external/deqp/framework/platform/android/
H A DtcuAndroidNativeActivity.cpp94 static void onContentRectChangedCallback (ANativeActivity* activity, const ARect* rect) argument
96 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onContentRectChanged(rect);
203 void NativeActivity::onContentRectChanged (const ARect* rect) argument
205 DE_UNREF(rect);
H A DtcuAndroidNativeActivity.hpp63 virtual void onContentRectChanged (const ARect* rect);
/external/drm_hwcomposer/
H A Dseperate_rects.h146 Rect<TNum> rect; member in struct:seperate_rects::RectSet
148 RectSet(const IdSet<TId> &i, const Rect<TNum> &r) : id_set(i), rect(r) {
152 return id_set == rhs.id_set && rect == rhs.rect;
/external/libvncserver/libvncserver/
H A Dcursor.c39 rfbFramebufferUpdateRectHeader rect; local
55 rect.encoding = Swap32IfLE(rfbEncodingRichCursor);
59 rect.encoding = Swap32IfLE(rfbEncodingXCursor);
75 rect.r.x = rect.r.y = 0;
76 rect.r.w = rect.r.h = 0;
77 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect,
112 rect.r.x = Swap16IfLE(pCursor->xhot);
113 rect
183 rfbFramebufferUpdateRectHeader rect; local
694 sraRegionPtr rect; local
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPasswordTransformationMethod.java32 public void onFocusChanged(View view, CharSequence charSequence, boolean b, int i, Rect rect) { } argument
/external/skia/gm/
H A Dinversepaths.cpp15 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w); local
17 path.addRect(rect);
22 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0); local
24 path.addRect(rect);
H A Dmatrixconvolution.cpp96 SkImageFilter::CropRect rect(SkRect::MakeXYWH(10, 5, 60, 60));
97 this->draw(canvas, 310, 10, kernelOffset, MCIF::kClamp_TileMode, true, &rect);
98 this->draw(canvas, 310, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true, &rect);
99 this->draw(canvas, 310, 210, kernelOffset, MCIF::kRepeat_TileMode, true, &rect);
H A Dmodecolorfilters.cpp38 // draws a background behind each test rect to see transparency
72 // size of rect for each test case
138 SkRect rect = SkRect::MakeXYWH(x * kRectWidth, y * kRectHeight, local
141 canvas->saveLayer(&rect, NULL);
142 canvas->drawRect(rect, bgPaint);
143 canvas->drawRect(rect, paint);
H A Doffsetimagefilter.cpp59 // Draw a boundary rect around the intersection of the clip rect
60 // and crop rect.
89 SkImageFilter::CropRect rect(SkRect::Make(cropRect));
94 SkOffsetImageFilter::Create(dx, dy, tileInput, &rect));
101 SkImageFilter::CropRect rect(SkRect::Make(cropRect));
103 SkOffsetImageFilter::Create(SkIntToScalar(-5), SkIntToScalar(-10), NULL, &rect));
H A Dbmpfilterqualityrepeat.cpp63 SkRect rect = SkRect::MakeLTRB(20, 60, 220, 210); variable
64 canvas->drawRect(rect, bmpPaint);
H A Drrect.cpp16 SkRect r = src.rect();
36 SkRect r = src.rect();
52 SkRect r = src.rect();
80 SkRect r = src.rect();
93 radii[i].fX = prop(radii[i].fX, r.width(), src.rect().width());
94 radii[i].fY = prop(radii[i].fY, r.height(), src.rect().height());
/external/skia/src/effects/
H A DSkMatrixConvolutionImageFilter.cpp167 SkIRect rect(r);
168 if (!rect.intersect(bounds)) {
171 for (int y = rect.fTop; y < rect.fBottom; ++y) {
172 SkPMColor* dptr = result->getAddr32(rect.fLeft - bounds.fLeft, y - bounds.fTop);
173 for (int x = rect.fLeft; x < rect.fRight; ++x) {
209 const SkIRect& rect,
212 filterPixels<PixelFetcher, true>(src, result, rect, bounds);
214 filterPixels<PixelFetcher, false>(src, result, rect, bound
207 filterPixels(const SkBitmap& src, SkBitmap* result, const SkIRect& rect, const SkIRect& bounds) const argument
218 filterInteriorPixels(const SkBitmap& src, SkBitmap* result, const SkIRect& rect, const SkIRect& bounds) const argument
225 filterBorderPixels(const SkBitmap& src, SkBitmap* result, const SkIRect& rect, const SkIRect& bounds) const argument
[all...]
H A DSk2DPathEffect.cpp38 const SkIRect& rect = iter.rect(); local
39 for (int y = rect.fTop; y < rect.fBottom; ++y) {
40 this->nextSpan(rect.fLeft, y, rect.width(), dst);
/external/libpng/contrib/gregbook/
H A Drpng-win.c584 RECT rect; local
638 rect.left = 0L;
639 rect.top = (LONG)lastrow;
640 rect.right = (LONG)image_width; /* possibly off by one? */
641 rect.bottom = (LONG)lastrow + 16L; /* possibly off by one? */
642 InvalidateRect(global_hwnd, &rect, FALSE);
650 rect.left = 0L;
651 rect.top = (LONG)lastrow;
652 rect.right = (LONG)image_width; /* possibly off by one? */
653 rect
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/x11/
H A Dx11_screen.h123 int rect[4] = { x, y, width, height }; local
124 x11_drawable_copy_buffers_region(xscr, drawable, 1, rect, src_buf, dst_buf);
/external/opencv/cvaux/src/
H A Dcvfacedetection.cpp313 CvRect rect = pRect->r; local
314 if (rect.width >= 2*rect.height)
317 lpFaceTemplate1 = new MouthFaceTemplate(3,rect,3*(double)rect.width/(double)4,
318 3*(double)rect.width/(double)4,
319 (double)rect.width/(double)2,
320 (double)rect.width/(double)2);
/external/skia/src/core/
H A DSkValidatingReadBuffer.h46 void readIRect(SkIRect* rect) override;
47 void readRect(SkRect* rect) override;
/external/skia/src/gpu/
H A DGrCommandBuilder.h27 virtual Cmd* recordClearStencilClip(const SkIRect& rect,
52 virtual Cmd* recordClear(const SkIRect* rect,
H A DGrSWMaskHelper.h56 // Draw a single rect into the accumulation bitmap using the specified op
57 void draw(const SkRect& rect, SkRegion::Op op,
87 // It draws with "texture" as a path mask into "target" using "rect" as
99 const SkIRect& rect);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
H A DPieRenderer.java47 public float getRadius(RectF rect) { argument
48 return rect.width() < rect.height() ? rect.width() / 2 : rect.height() / 2;
168 protected void doDrawLegendIcon(Canvas canvas, RectF rect, SegmentFormatter formatter) { argument
/external/skia/include/core/
H A DSkWriter32.h127 void writeRect(const SkRect& rect) { argument
128 *(SkRect*)this->reserve(sizeof(rect)) = rect;
131 void writeIRect(const SkIRect& rect) { argument
132 *(SkIRect*)this->reserve(sizeof(rect)) = rect;

Completed in 787 milliseconds

1234567891011>>