/external/skia/tests/ |
H A D | ClipStackTest.cpp | 24 // 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 D | MaskCacheTest.cpp | 35 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 D | ImageNewShaderTest.cpp | 35 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 D | XYPlotWithBgImgActivity.java | 108 RectF rect = plot.getGraphWidget().getGridRect(); 115 (int) rect.height(), 120 m.setTranslate(rect.left, rect.top);
|
/external/deqp/framework/platform/android/ |
H A D | tcuAndroidNativeActivity.cpp | 94 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 D | tcuAndroidNativeActivity.hpp | 63 virtual void onContentRectChanged (const ARect* rect);
|
/external/drm_hwcomposer/ |
H A D | seperate_rects.h | 146 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 D | cursor.c | 39 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 D | ShadowPasswordTransformationMethod.java | 32 public void onFocusChanged(View view, CharSequence charSequence, boolean b, int i, Rect rect) { } argument
|
/external/skia/gm/ |
H A D | inversepaths.cpp | 15 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 D | matrixconvolution.cpp | 96 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 D | modecolorfilters.cpp | 38 // 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 D | offsetimagefilter.cpp | 59 // 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 D | bmpfilterqualityrepeat.cpp | 63 SkRect rect = SkRect::MakeLTRB(20, 60, 220, 210); variable 64 canvas->drawRect(rect, bmpPaint);
|
H A D | rrect.cpp | 16 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 D | SkMatrixConvolutionImageFilter.cpp | 167 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 D | Sk2DPathEffect.cpp | 38 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 D | rpng-win.c | 584 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 D | x11_screen.h | 123 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 D | cvfacedetection.cpp | 313 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 D | SkValidatingReadBuffer.h | 46 void readIRect(SkIRect* rect) override; 47 void readRect(SkRect* rect) override;
|
/external/skia/src/gpu/ |
H A D | GrCommandBuilder.h | 27 virtual Cmd* recordClearStencilClip(const SkIRect& rect, 52 virtual Cmd* recordClear(const SkIRect* rect,
|
H A D | GrSWMaskHelper.h | 56 // 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 D | PieRenderer.java | 47 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 D | SkWriter32.h | 127 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;
|