/external/chromium-trace/trace-viewer/src/base/ |
H A D | bbox2_test.js | 11 var bbox = new base.BBox2(); 14 bbox.addVec2(x); 15 assertTrue(bbox.minVec2[0] == 10); 16 assertTrue(bbox.minVec2[1] == 10); 17 assertTrue(bbox.maxVec2[0] == 10); 18 assertTrue(bbox.maxVec2[1] == 10); 23 assertTrue(bbox.minVec2[0] == 10); 24 assertTrue(bbox.minVec2[1] == 10); 25 assertTrue(bbox.maxVec2[0] == 10); 26 assertTrue(bbox [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBBoxRecord.cpp | 59 SkRect bbox; local 60 bbox.set(pts, SkToInt(count)); 72 bbox.outset(halfStrokeWidth, halfStrokeWidth); 73 if (this->transformBounds(bbox, &paint)) { 79 SkRect bbox; local 80 if (this->getClipBounds(&bbox)) { 81 if (this->transformBounds(bbox, &paint)) { 89 SkRect bbox = {0, 0, SkIntToScalar(size.width()), SkIntToScalar(size.height())}; local 90 this->handleBBox(bbox); 96 SkRect bbox; local 144 SkRect bbox = {left, top, left + bitmap.width(), top + bitmap.height()}; local 161 SkRect bbox = {0, 0, SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())}; local 189 SkRect bbox; local 221 SkRect bbox; local 253 SkRect bbox; local 261 SkRect bbox = path.getBounds(); local 279 SkRect bbox = blob->bounds(); local 296 SkRect bbox; local 307 SkRect bbox; local [all...] |
/external/skia/src/core/ |
H A D | SkBBoxRecord.cpp | 52 SkRect bbox; local 53 bbox.set(pts, SkToInt(count)); 65 bbox.outset(halfStrokeWidth, halfStrokeWidth); 66 if (this->transformBounds(bbox, &paint)) { 72 SkRect bbox; local 73 if (this->getClipBounds(&bbox)) { 74 if (this->transformBounds(bbox, &paint)) { 82 SkRect bbox = {0, 0, SkIntToScalar(size.width()), SkIntToScalar(size.height())}; local 83 this->handleBBox(bbox); 89 SkRect bbox; local 137 SkRect bbox = {left, top, left + bitmap.width(), top + bitmap.height()}; local 154 SkRect bbox = {0, 0, SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())}; local 182 SkRect bbox; local 214 SkRect bbox; local 246 SkRect bbox; local 254 SkRect bbox = path.getBounds(); local 275 SkRect bbox; local [all...] |
/external/freetype/src/base/ |
H A D | ftbbox.c | 5 /* FreeType bbox computation (body). */ 40 FT_BBox bbox; member in struct:TBBox_Rec_ 54 /* use the cbox as the starting bbox which must be refined. */ 75 #define CHECK_X( p, bbox ) \ 76 ( p->x < bbox.xMin || p->x > bbox.xMax ) 78 #define CHECK_Y( p, bbox ) \ 79 ( p->y < bbox.yMin || p->y > bbox.yMax ) 112 /* the bbox tha 403 FT_BBox bbox; local [all...] |
/external/chromium-trace/trace-viewer/src/ui/ |
H A D | quad_view_viewport_test.js | 14 var bbox = new base.BBox2(); 15 bbox.addXY(0, 0); 16 bbox.addXY(4000, 2000); 18 var vp = new QuadViewViewport(bbox.asRect(), 0.125, 0, 2); 41 assertRectEquals(bbox.asRect(), vp.unpaddedWorldRect); 45 var bbox = new base.BBox2(); 46 bbox.addXY(0, 0); 47 bbox.addXY(4000, 2000); 49 var vp = new QuadViewViewport(bbox.asRect(), 0.125, 0.1, 2); 71 assertRectEquals(bbox [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
H A D | ftbbox.c | 5 /* FreeType bbox computation (body). */ 40 FT_BBox bbox; member in struct:TBBox_Rec_ 54 /* use the cbox as the starting bbox which must be refined. */ 75 #define CHECK_X( p, bbox ) \ 76 ( p->x < bbox.xMin || p->x > bbox.xMax ) 78 #define CHECK_Y( p, bbox ) \ 79 ( p->y < bbox.yMin || p->y > bbox.yMax ) 170 /* within the bbox */ 565 FT_BBox bbox; local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
H A D | ftbbox.c | 5 /* FreeType bbox computation (body). */ 40 FT_BBox bbox; member in struct:TBBox_Rec_ 54 /* use the cbox as the starting bbox which must be refined. */ 75 #define CHECK_X( p, bbox ) \ 76 ( p->x < bbox.xMin || p->x > bbox.xMax ) 78 #define CHECK_Y( p, bbox ) \ 79 ( p->y < bbox.yMin || p->y > bbox.yMax ) 170 /* within the bbox */ 565 FT_BBox bbox; local [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
H A D | SkPDFFormXObject.h | 46 SkRect bbox, 56 SkPDFDict* resourceDict, SkPDFArray* bbox);
|
H A D | SkPDFFormXObject.cpp | 51 SkPDFFormXObject::SkPDFFormXObject(SkStream* content, SkRect bbox, argument 58 SkAutoTUnref<SkPDFArray> bboxArray(SkPDFUtils::RectToArray(bbox)); 64 * Note that bbox is unreferenced here, so calling code does not need worry. 67 SkPDFDict* resourceDict, SkPDFArray* bbox) { 71 insert("BBox", bbox); 66 init(const char* colorSpace, SkPDFDict* resourceDict, SkPDFArray* bbox) argument
|
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_font.cpp | 226 FX_BOOL CFX_Font::GetGlyphBBox(FX_DWORD glyph_index, FX_RECT &bbox)
argument 250 bbox.left = cbox.xMin;
251 bbox.right = cbox.xMax;
252 bbox.top = cbox.yMax;
253 bbox.bottom = cbox.yMin;
255 bbox.left = cbox.xMin * 1000 / pixel_size_x;
256 bbox.right = cbox.xMax * 1000 / pixel_size_x;
257 bbox.top = cbox.yMax * 1000 / pixel_size_y;
258 bbox.bottom = cbox.yMin * 1000 / pixel_size_y;
260 if (bbox 357 GetBBox(FX_RECT &bbox) argument [all...] |
/external/skia/src/pdf/ |
H A D | SkPDFFormXObject.h | 46 SkRect bbox, 56 SkPDFDict* resourceDict, SkPDFArray* bbox);
|
H A D | SkPDFFormXObject.cpp | 51 SkPDFFormXObject::SkPDFFormXObject(SkStream* content, SkRect bbox, argument 58 SkAutoTUnref<SkPDFArray> bboxArray(SkPDFUtils::RectToArray(bbox)); 64 * Note that bbox is unreferenced here, so calling code does not need worry. 67 SkPDFDict* resourceDict, SkPDFArray* bbox) { 71 insert("BBox", bbox); 66 init(const char* colorSpace, SkPDFDict* resourceDict, SkPDFArray* bbox) argument
|
/external/chromium_org/third_party/ots/test/ |
H A D | side-by-side.cc | 74 FT_BBox bbox; local 75 FT_Outline_Get_CBox(outline, &bbox); 77 bbox.xMin &= ~63; 78 bbox.yMin &= ~63; 79 bbox.xMax = (bbox.xMax + 63) & ~63; 80 bbox.yMax = (bbox.yMax + 63) & ~63; 81 FT_Outline_Translate(outline, -bbox.xMin, -bbox [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_point.c | 324 struct u_rect bbox; local 338 bbox.x0 = (x0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 339 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 340 bbox.y0 = (y0 + (FIXED_ONE-1)) >> FIXED_ORDER; 341 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER; 345 bbox.x1--; 346 bbox.y1--; 349 if (!u_rect_test_intersection(&setup->draw_region, &bbox)) { 355 u_rect_find_intersection(&setup->draw_region, &bbox); 391 plane[0].c = 1-bbox [all...] |
H A D | lp_setup_tri.c | 246 struct u_rect bbox; local 273 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; 274 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; 277 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; 278 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER; 281 if (bbox.x1 < bbox.x0 || 282 bbox.y1 < bbox.y0) { 288 if (!u_rect_test_intersection(&setup->draw_region, &bbox)) { 559 lp_setup_bin_triangle( struct lp_setup_context *setup, struct lp_rast_triangle *tri, const struct u_rect *bbox, int nr_planes ) argument [all...] |
H A D | lp_setup_line.c | 286 struct u_rect bbox; local 548 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 549 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 550 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 551 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 555 bbox.x1--; 556 bbox.y1--; 559 if (bbox.x1 < bbox.x0 || 560 bbox [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_point.c | 324 struct u_rect bbox; local 338 bbox.x0 = (x0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 339 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 340 bbox.y0 = (y0 + (FIXED_ONE-1)) >> FIXED_ORDER; 341 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER; 345 bbox.x1--; 346 bbox.y1--; 349 if (!u_rect_test_intersection(&setup->draw_region, &bbox)) { 355 u_rect_find_intersection(&setup->draw_region, &bbox); 391 plane[0].c = 1-bbox [all...] |
H A D | lp_setup_tri.c | 246 struct u_rect bbox; local 273 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; 274 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; 277 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; 278 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER; 281 if (bbox.x1 < bbox.x0 || 282 bbox.y1 < bbox.y0) { 288 if (!u_rect_test_intersection(&setup->draw_region, &bbox)) { 559 lp_setup_bin_triangle( struct lp_setup_context *setup, struct lp_rast_triangle *tri, const struct u_rect *bbox, int nr_planes ) argument [all...] |
/external/chromium-trace/trace-viewer/src/cc/ |
H A D | layer_tree_host_impl.js | 90 var bbox = new base.BBox2(); 93 bbox.addQuad(layer.layerQuad); 101 this.allLayersBBox_ = bbox;
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
H A D | vmw_screen_dri.c | 125 const struct drm_clip_rect *bbox) 130 xy1 = ((int)src->x1 > (int)bbox->x1 + dst_x) ? src->x1 : 131 (int)bbox->x1 + dst_x; 132 xy2 = ((int)src->x2 < (int)bbox->x2 + dst_x) ? src->x2 : 133 (int)bbox->x2 + dst_x; 140 xy1 = ((int)src->y1 > (int)bbox->y1 + dst_y) ? src->y1 : 141 (int)bbox->y1 + dst_y; 142 xy2 = ((int)src->y2 < (int)bbox->y2 + dst_y) ? src->y2 : 143 (int)bbox->y2 + dst_y; 121 vmw_dri1_intersect_src_bbox(struct drm_clip_rect *dst, int dst_x, int dst_y, const struct drm_clip_rect *src, const struct drm_clip_rect *bbox) argument
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_screen_dri.c | 125 const struct drm_clip_rect *bbox) 130 xy1 = ((int)src->x1 > (int)bbox->x1 + dst_x) ? src->x1 : 131 (int)bbox->x1 + dst_x; 132 xy2 = ((int)src->x2 < (int)bbox->x2 + dst_x) ? src->x2 : 133 (int)bbox->x2 + dst_x; 140 xy1 = ((int)src->y1 > (int)bbox->y1 + dst_y) ? src->y1 : 141 (int)bbox->y1 + dst_y; 142 xy2 = ((int)src->y2 < (int)bbox->y2 + dst_y) ? src->y2 : 143 (int)bbox->y2 + dst_y; 121 vmw_dri1_intersect_src_bbox(struct drm_clip_rect *dst, int dst_x, int dst_y, const struct drm_clip_rect *src, const struct drm_clip_rect *bbox) argument
|
/external/chromium_org/third_party/freetype/src/autofit/ |
H A D | afloader.c | 396 FT_BBox bbox; local 417 FT_Outline_Get_CBox( &gloader->base.outline, &bbox ); 419 bbox.xMin = FT_PIX_FLOOR( bbox.xMin ); 420 bbox.yMin = FT_PIX_FLOOR( bbox.yMin ); 421 bbox.xMax = FT_PIX_CEIL( bbox.xMax ); 422 bbox.yMax = FT_PIX_CEIL( bbox [all...] |
/external/freetype/src/autofit/ |
H A D | afloader.c | 402 FT_BBox bbox; local 423 FT_Outline_Get_CBox( &gloader->base.outline, &bbox ); 425 bbox.xMin = FT_PIX_FLOOR( bbox.xMin ); 426 bbox.yMin = FT_PIX_FLOOR( bbox.yMin ); 427 bbox.xMax = FT_PIX_CEIL( bbox.xMax ); 428 bbox.yMax = FT_PIX_CEIL( bbox [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
H A D | SkFontHost_FreeType.cpp | 222 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, 224 bool getCBoxForLetter(char letter, FT_BBox* bbox); 456 static bool GetLetterCBox(FT_Face face, char letter, FT_BBox* bbox) { argument 462 FT_Outline_Get_CBox(&face->glyph->outline, bbox); 607 FT_BBox bbox; 608 if (GetLetterCBox(face, stem_chars[i], &bbox)) { 609 int16_t width = bbox.xMax - bbox.xMin; 650 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox 1139 getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, bool snapToPixelBoundary) argument 1178 getCBoxForLetter(char letter, FT_BBox* bbox) argument 1244 FT_BBox bbox; local 1441 FT_BBox bbox; local 1447 FT_BBox bbox; local [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_FreeType.cpp | 223 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, 225 bool getCBoxForLetter(char letter, FT_BBox* bbox); 457 static bool GetLetterCBox(FT_Face face, char letter, FT_BBox* bbox) { argument 463 FT_Outline_Get_CBox(&face->glyph->outline, bbox); 608 FT_BBox bbox; 609 if (GetLetterCBox(face, stem_chars[i], &bbox)) { 610 int16_t width = bbox.xMax - bbox.xMin; 651 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox 1140 getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, bool snapToPixelBoundary) argument 1179 getCBoxForLetter(char letter, FT_BBox* bbox) argument 1245 FT_BBox bbox; local 1451 FT_BBox bbox; local 1457 FT_BBox bbox; local [all...] |