/external/skia/tools/ |
H A D | filtermain.cpp | 188 // where the rect is entirely within the clip and the clip is an intersect 207 return cr->rect().contains(dr->rect()); 223 // where the rect entirely encloses the clip 242 return dr->rect().contains(crr->rrect().rect()); 271 // where the rect and drawBitmapRect dst exactly match 290 return dbmr->dstRect() == cr->rect(); 319 // the last (smallest) clip rect is a subset of the drawBitmapRectToRect's dest rect [all...] |
/external/pdfium/core/src/fpdfdoc/ |
H A D | doc_annot.cpp | 169 void CPDF_Annot::GetRect(CPDF_Rect& rect) const 174 rect = m_pAnnotDict->GetRect("Rect"); 175 rect.Normalize(); 356 CFX_FloatRect rect; local 357 GetRect(rect); 361 pPathData->AppendRect(rect.left + width, rect.bottom + width, rect.right - width, rect.top - width); 452 CFX_FloatRect rect; local [all...] |
H A D | pdf_vt.h | 61 CPVT_FloatRect(const CPDF_Rect & rect) argument 63 this->left = rect.left; 64 this->top = rect.top; 65 this->right = rect.right; 66 this->bottom = rect.bottom; 337 virtual void SetPlateRect(const CPDF_Rect & rect) argument 339 m_rcPlate = rect; 345 virtual void SetContentRect(const CPVT_FloatRect & rect) argument 347 m_rcContent = rect; 381 inline CPDF_Rect InToOut(const CPVT_FloatRect & rect) cons 408 SetPlateRect(const CPDF_Rect & rect) argument [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render.cpp | 355 FX_BOOL CPDF_RenderStatus::GetObjectClippedRect(const CPDF_PageObject* pObj, const CFX_AffineMatrix* pObj2Device, FX_BOOL bLogical, FX_RECT &rect) const 357 rect = pObj->GetBBox(pObj2Device); 364 rect.right = rect.left + (FX_INT32)FXSYS_ceil((FX_FLOAT)rect.Width() * a); 365 rect.bottom = rect.top + (FX_INT32)FXSYS_ceil((FX_FLOAT)rect.Height() * d); 370 rect.Intersect(rtClip); 371 return rect 379 FX_RECT rect; local 442 FX_RECT rect; local 790 FX_RECT rect = pPageObj->GetBBox(pObj2Device); local 872 GetBackdrop(const CPDF_PageObject* pObj, const FX_RECT& rect, int& left, int& top, FX_BOOL bBackAlphaRequired) argument 1379 CFX_FloatRect rect; local [all...] |
/external/pdfium/core/src/reflow/ |
H A D | layoutprocessor_reflow.cpp | 320 CFX_FloatRect rect; local 324 return rect; 333 if( rect.Height() == 0 ) { 334 rect = pObj->GetBBox(&matrix); 336 rect.Union(pObj->GetBBox(&matrix)); 341 if( rect.Height() == 0 ) { 342 rect = GetElmBBox(pChildElement); 344 rect.Union(GetElmBBox(pChildElement)); 347 return rect; 371 CFX_FloatRect rect local 412 CFX_FloatRect prevRect, rect; local 772 FX_RECT rect = pObj->GetBBox(&matrix); local 1484 FX_RECT rect; local [all...] |
/external/libvncserver/libvncserver/ |
H A D | rfbserver.c | 866 rfbFramebufferUpdateRectHeader rect; local 873 rect.encoding = Swap32IfLE(rfbEncodingKeyboardLedState); 874 rect.r.x = Swap16IfLE(cl->lastKeyboardLedState); 875 rect.r.y = 0; 876 rect.r.w = 0; 877 rect.r.h = 0; 879 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, 901 rfbFramebufferUpdateRectHeader rect; local 910 rect.encoding = Swap32IfLE(rfbEncodingSupportedMessages); 911 rect 965 rfbFramebufferUpdateRectHeader rect; local 1053 rfbFramebufferUpdateRectHeader rect; local 2567 sraRect rect; local 2695 sraRect rect; local 3050 rfbFramebufferUpdateRectHeader rect; local 3106 rfbFramebufferUpdateRectHeader rect; local 3177 rfbFramebufferUpdateRectHeader rect; local 3210 rfbFramebufferUpdateRectHeader rect; local [all...] |
H A D | corre.c | 89 rfbFramebufferUpdateRectHeader rect; local 152 rect.r.x = Swap16IfLE(x); 153 rect.r.y = Swap16IfLE(y); 154 rect.r.w = Swap16IfLE(w); 155 rect.r.h = Swap16IfLE(h); 156 rect.encoding = Swap32IfLE(rfbEncodingCoRRE); 158 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect,
|
H A D | rre.c | 55 rfbFramebufferUpdateRectHeader rect; local 119 rect.r.x = Swap16IfLE(x); 120 rect.r.y = Swap16IfLE(y); 121 rect.r.w = Swap16IfLE(w); 122 rect.r.h = Swap16IfLE(h); 123 rect.encoding = Swap32IfLE(rfbEncodingRRE); 125 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect,
|
/external/skia/include/core/ |
H A D | SkPath.h | 150 * @param rect returns the bounding rect of this oval. It's a circle 158 bool isOval(SkRect* rect) const { return fPathRef->isOval(rect); } 301 * will ever return true for single convex contour paths. The empty-status of the rect is not 302 * considered (e.g. a rect that is a point can be inside a path). Points or line segments where 303 * the rect edge touches the path border are not considered containment violations. 305 bool conservativelyContainsRect(const SkRect& rect) const; 574 * @param rect If not null, set to the bounds of the rectangle. 577 * be ignored in this rect, bu 1030 setBounds(const SkRect& rect) argument [all...] |
/external/skia/src/views/win/ |
H A D | SkOSWindow_win.cpp | 148 RECT* rect = (RECT*)wParam; local 149 InvalidateRect(hWnd, rect, FALSE); 150 KillTimer(hWnd, (UINT_PTR)rect); 151 delete rect; 231 RECT* rect = new RECT; local 232 rect->left = r.fLeft; 233 rect->top = r.fTop; 234 rect->right = r.fRight; 235 rect->bottom = r.fBottom; 236 SetTimer((HWND)fHWND, (UINT_PTR)rect, INVALIDATE_DELAY_M [all...] |
/external/opencv/cv/src/ |
H A D | cvcontours.cpp | 134 CvRect rect; /* bounding rectangle */ member in struct:_CvContourInfo 249 scanner->frame_info.rect = cvRect( 0, 0, size.width, size.height ); 712 CvRect rect; local 729 rect.x = rect.width = pt.x; 730 rect.y = rect.height = pt.y; 793 if( pt.x < rect.x ) 794 rect.x = pt.x; 795 else if( pt.x > rect [all...] |
/external/skia/src/effects/ |
H A D | SkBlurMaskFilter.cpp | 210 if (!prepare_to_draw_into_mask(rrect.rect(), mask)) { 347 if (rect_exceeds(rrect.rect(), SkIntToScalar(32767))) { 353 srcM.fBounds = rrect.rect().roundOut(); 360 // special case for fast round rect blur 390 if (totalSmallWidth >= rrect.rect().width()) { 399 if (totalSmallHeight >= rrect.rect().height()) { 480 // special case for fast rect blur 493 * smallR is the smallest version of 'rect' that will still guarantee that 499 * pixels from the original rect. 504 * with our outer-rect (dst 620 Create(GrTextureProvider *textureProvider, const SkRect& rect, float sigma) argument 747 SkRect rect = rbe.getRect(); local 790 GrRectBlurEffect(const SkRect& rect, float sigma, GrTexture *blur_profile) argument 846 SkRect rect; local 1107 SkRect rect = rrect.getBounds(); local [all...] |
/external/skia/src/gpu/ |
H A D | GrContext.cpp | 276 void GrContext::clear(const SkIRect* rect, argument 290 target->clear(rect, color, canIgnoreRect, renderTarget); 298 // set rect to be big enough to fill the space, but not super-huge, so we 314 // map the four corners and bound them with a new rect. This will not 358 const SkRect& rect, 381 combinedMatrix.mapRect(devBoundRect, rect); 393 static inline bool rect_contains_inclusive(const SkRect& rect, const SkPoint& point) { argument 394 return point.fX >= rect.fLeft && point.fX <= rect.fRight && 395 point.fY >= rect 355 apply_aa_to_rect(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, SkRect* devBoundRect, const SkRect& rect, SkScalar strokeWidth, const SkMatrix& combinedMatrix, GrColor color) argument 528 setStrokeRectStrip(SkPoint verts[10], const SkRect& rect, SkScalar width) argument 576 drawRect(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& rect, const GrStrokeInfo* strokeInfo) argument 1630 SkRect rect = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); local [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd.c | 940 SVGA3dRect *rect; local 943 ret = SVGA3D_BeginClear(swc, flags, color, depth, stencil, &rect, 1); 947 memset(rect, 0, sizeof *rect); 948 rect->x = x; 949 rect->y = y; 950 rect->w = w; 951 rect->h = h; 1130 SVGA3dRect *rect) // IN 1141 cmd->rect 1129 SVGA3D_SetViewport(struct svga_winsys_context *swc, SVGA3dRect *rect) argument 1168 SVGA3D_SetScissorRect(struct svga_winsys_context *swc, SVGA3dRect *rect) argument [all...] |
/external/libvterm/src/ |
H A D | state.c | 50 static void erase(VTermState *state, VTermRect rect, int selective) argument 53 if((*state->callbacks->erase)(rect, selective, state->cbdata)) 81 static void scroll(VTermState *state, VTermRect rect, int downward, int rightward) argument 87 if(rect.start_col == 0 && rect.end_col == state->cols && rightward == 0) { 88 int height = rect.end_row - rect.start_row - abs(downward); 91 memmove(state->lineinfo + rect.start_row, 92 state->lineinfo + rect.start_row + downward, 95 memmove(state->lineinfo + rect 112 VTermRect rect = { local 308 VTermRect rect = { local 405 VTermRect rect = { local 940 VTermRect rect; local 1681 VTermRect rect = { 0, state->rows, 0, state->cols }; local 1734 VTermRect rect = { local [all...] |
/external/linux-tools-perf/src/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | SchedGui.py | 120 rect = y / (RootFrame.RECT_HEIGHT + RootFrame.RECT_SPACE) 123 if rect < 0 or rect > self.nr_rects - 1 or height > RootFrame.RECT_HEIGHT: 126 return rect 136 rect = self.rect_from_ypixel(y) 137 if rect == -1: 142 self.sched_tracer.mouse_down(rect, t)
|
/external/pdfium/fpdfsdk/src/ |
H A D | fpdfeditpage.cpp | 290 CPDF_Rect rect; local 291 pAnnot->GetRect(rect); 293 rect.Transform(&matrix); 297 pRectArray->SetAt(0, new CPDF_Number(rect.left)); 298 pRectArray->SetAt(1, new CPDF_Number(rect.bottom)); 299 pRectArray->SetAt(2, new CPDF_Number(rect.right)); 300 pRectArray->SetAt(3, new CPDF_Number(rect.top));
|
/external/skia/samplecode/ |
H A D | SampleDraw.cpp | 20 SkRect rect = SkRect::MakeXYWH(25, 25, 50, 50); local 21 c.drawRect(rect, paint); 23 c.clipRect(rect); 26 rect = SkRect::MakeXYWH(50, 10, 40, 80); 27 c.clipRect(rect, SkRegion::kUnion_Op); 29 rect = SkRect::MakeXYWH(50, 0, 50, 100); 32 // c.drawRect(rect, paint); 34 c.drawRect(rect, paint);
|
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_device.cpp | 235 FX_RECT rect = bbox.GetOutterRect(); local 237 if (!CreateCompatibleBitmap(&bitmap, FXSYS_round(rect.Width() * fScaleX), FXSYS_round(rect.Height() * fScaleY))) { 244 if (!m_pDeviceDriver->GetDIBits(&bitmap, rect.left, rect.top, NULL)) { 255 matrix.TranslateI(-rect.left, -rect.top); 260 FX_RECT src_rect(0, 0, FXSYS_round(rect.Width() * fScaleX), FXSYS_round(rect.Height() * fScaleY)); 261 return m_pDeviceDriver->SetDIBits(&bitmap, 0, &src_rect, rect [all...] |
/external/skia/gm/ |
H A D | degeneratesegments.cpp | 302 SkRect rect = SkRect::MakeWH(220*SK_Scalar1, 50*SK_Scalar1); local 312 canvas->translate(0, rect.height() + 100*SK_Scalar1); 317 canvas->translate(rect.width() + 4*SK_Scalar1, 0); 337 this->drawPath(path, canvas, color, rect, 346 canvas->drawRect(rect, rectPaint); 356 0, rect.height() + 12 * SK_Scalar1, 360 0, rect.height() + 24 * SK_Scalar1, 364 0, rect.height() + 36 * SK_Scalar1, 368 0, rect.height() + 48 * SK_Scalar1, 372 0, rect [all...] |
/external/deqp/framework/platform/win32/ |
H A D | tcuWin32EGLNativeDisplayFactory.cpp | 291 RECT rect; local 304 TCU_CHECK(GetClientRect(m_window.getHandle(), &rect)); 308 const int width = rect.right - rect.left; 309 const int height = rect.bottom - rect.top; 323 MapWindowPoints(m_window.getHandle(), DE_NULL, (LPPOINT)&rect, 2); 330 TCU_CHECK(BitBlt(tmpDC, 0, 0, width, height, screenDC, rect.left, rect.top, SRCCOPY));
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
H A D | PWL_Icon.cpp | 73 CPDF_Rect rect = pDict->GetRect("BBox"); local 75 fWidth = rect.right - rect.left; 76 fHeight = rect.top - rect.bottom;
|
H A D | PWL_Utils.cpp | 84 CPDF_Rect CPWL_Utils::OffsetRect(const CPDF_Rect & rect,FX_FLOAT x,FX_FLOAT y) argument 86 return CPDF_Rect(rect.left + x,rect.bottom + y, 87 rect.right + x,rect.top + y); 419 CFX_ByteString CPWL_Utils::GetRectFillAppStream(const CPDF_Rect & rect,const CPWL_Color & color) 427 sAppStream << rect.left << " " << rect.bottom << " " 428 << rect.right - rect [all...] |
/external/skia/src/core/ |
H A D | SkPictureRecord.cpp | 171 size += sizeof(*bounds); // + rect 368 void SkPictureRecord::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { argument 369 this->recordClipRect(rect, op, kSoft_ClipEdgeStyle == edgeStyle); 370 this->INHERITED::onClipRect(rect, op, edgeStyle); 373 size_t SkPictureRecord::recordClipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { argument 374 // id + rect + clip params 375 size_t size = 1 * kUInt32Size + sizeof(rect) + 1 * kUInt32Size; 382 this->addRect(rect); 481 // op + paint index + rect 490 void SkPictureRecord::onDrawRect(const SkRect& rect, cons argument 974 addRect(const SkRect& rect) argument 978 addRectPtr(const SkRect* rect) argument 984 addIRect(const SkIRect& rect) argument 988 addIRectPtr(const SkIRect* rect) argument [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fDepthStencilTests.cpp | 160 rr::WindowRectangle rect; member in struct:deqp::gles2::Functional::DepthStencilCaseUtil::ClearCommand 168 : rect (0, 0, 0, 0) 178 : rect (rect_) 189 rr::WindowRectangle rect; member in struct:deqp::gles2::Functional::DepthStencilCaseUtil::RenderCommand 194 : rect(0, 0, 0, 0) 303 renderCmd.rect = cellL1Rect; 324 cmd.rect = rr::WindowRectangle(0, 0, target.width, target.height); 349 cmd.rect = rr::WindowRectangle(0, 0, target.width, target.height); 387 dst.quad.posA = IVec2(isFrontFacing ? src.rect.left : (src.rect [all...] |