/external/chromium_org/third_party/skia/src/core/ |
SkBBoxRecord.cpp | 45 SkRect bbox; local 46 bbox.set(pts, count); 58 bbox.outset(halfStrokeWidth, halfStrokeWidth); 59 if (this->transformBounds(bbox, &paint)) { 65 SkRect bbox; local 66 if (this->getClipBounds(&bbox)) { 67 if (this->transformBounds(bbox, &paint)) { 75 SkRect bbox = {0, 0, SkIntToScalar(size.width()), SkIntToScalar(size.height())}; local 76 this->handleBBox(bbox); 82 SkRect bbox; local 130 SkRect bbox = {left, top, left + bitmap.width(), top + bitmap.height()}; local 147 SkRect bbox = {0, 0, SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())}; local 163 SkRect bbox; local 194 SkRect bbox; local 225 SkRect bbox; local 234 SkRect bbox = path.getBounds(); local 255 SkRect bbox; local [all...] |
/external/skia/src/core/ |
SkBBoxRecord.cpp | 45 SkRect bbox; local 46 bbox.set(pts, count); 58 bbox.outset(halfStrokeWidth, halfStrokeWidth); 59 if (this->transformBounds(bbox, &paint)) { 65 SkRect bbox; local 66 if (this->getClipBounds(&bbox)) { 67 if (this->transformBounds(bbox, &paint)) { 75 SkRect bbox = {0, 0, SkIntToScalar(size.width()), SkIntToScalar(size.height())}; local 76 this->handleBBox(bbox); 82 SkRect bbox; local 130 SkRect bbox = {left, top, left + bitmap.width(), top + bitmap.height()}; local 147 SkRect bbox = {0, 0, SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())}; local 163 SkRect bbox; local 194 SkRect bbox; local 225 SkRect bbox; local 234 SkRect bbox = path.getBounds(); local 255 SkRect bbox; local [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFFormXObject.h | 46 SkRect bbox, 56 SkPDFDict* resourceDict, SkPDFArray* bbox);
|
SkPDFFormXObject.cpp | 51 SkPDFFormXObject::SkPDFFormXObject(SkStream* content, SkRect bbox, 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);
|
/external/skia/src/pdf/ |
SkPDFFormXObject.h | 46 SkRect bbox, 56 SkPDFDict* resourceDict, SkPDFArray* bbox);
|
SkPDFFormXObject.cpp | 51 SkPDFFormXObject::SkPDFFormXObject(SkStream* content, SkRect bbox, 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);
|
/external/chromium_org/third_party/freetype/src/base/ |
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/freetype/src/base/ |
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/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
Octnode.java | 64 final BoundingBox bbox; field in class:Octnode 71 public Octnode(BoundingBox bbox, ArrayList<OCTTriangle> tris){ 72 this.bbox = bbox; 77 float extent = bbox.getXExtent() * 0.5f; 78 Vector3f center = new Vector3f(bbox.getCenter().x + extent * extentMult[side].x, 79 bbox.getCenter().y + extent * extentMult[side].y, 80 bbox.getCenter().z + extent * extentMult[side].z); 84 private float getAdditionCost(BoundingBox bbox, OCTTriangle t){ 85 if (bbox.intersects(t.get1(), t.get2(), t.get3())) [all...] |
Octree.java | 57 private final BoundingBox bbox; field in class:Octree 87 bbox = new BoundingBox(); 90 bbox.mergeLocal(bv); 94 float extent = Math.max(bbox.getXExtent(), Math.max(bbox.getYExtent(), bbox.getZExtent())); 95 bbox.setXExtent(extent); 96 bbox.setYExtent(extent); 97 bbox.setZExtent(extent); 121 root = new Octnode(bbox, allTris) [all...] |
FastOctnode.java | 90 private static void findChildBound(BoundingBox bbox, int side){ 91 float extent = bbox.getXExtent() * 0.5f; 92 bbox.getCenter().set(bbox.getCenter().x + extent * Octnode.extentMult[side].x, 93 bbox.getCenter().y + extent * Octnode.extentMult[side].y, 94 bbox.getCenter().z + extent * Octnode.extentMult[side].z); 95 bbox.setXExtent(extent); 96 bbox.setYExtent(extent); 97 bbox.setZExtent(extent);
|
/external/jmonkeyengine/engine/src/test/jme3test/bounding/ |
TestRayCollision.java | 47 BoundingBox bbox = new BoundingBox(new Vector3f(5, 0, 0), 1, 1, 1); local 50 bbox.collideWith(r, res); 52 System.out.println("Bounding:" +bbox);
|
/external/chromium_org/third_party/ots/test/ |
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.yMin) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
WireBox.java | 104 public void fromBoundingBox(BoundingBox bbox){ 105 updatePositions(bbox.getXExtent(), bbox.getYExtent(), bbox.getZExtent());
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
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.x0 [all...] |
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)) { [all...] |
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.y1 < bbox.y0) [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
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.x0 [all...] |
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)) { [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/ |
EntropyComputeUtil.java | 27 BoundingBox bbox = (BoundingBox) terrainBlock.getBound(); local 55 pos.addLocal(0, bbox.getYExtent(), 0); 59 terrainBlock.collideWith(ray, Matrix4f.IDENTITY, bbox, results);
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
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;
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
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;
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
BIHTree.java | 158 BoundingBox bbox = new BoundingBox(min, max); local 160 return bbox; 193 private void setMinMax(BoundingBox bbox, boolean doMin, int axis, float value) { 194 Vector3f min = bbox.getMin(null); 195 Vector3f max = bbox.getMax(null); 203 bbox.setMinMax(min, max); 206 private float getMinMax(BoundingBox bbox, boolean doMin, int axis) { 208 return bbox.getMin(null).get(axis); 210 return bbox.getMax(null).get(axis); 327 //If one of the partitions is empty, continue with recursion: same level but different bbox 433 BoundingBox bbox; local 445 bbox.transform(worldMatrix.invert(), bbox); local [all...] |
/external/chromium_org/third_party/freetype/src/autofit/ |
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.yMax ) [all...] |
/external/freetype/src/autofit/ |
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.yMax ) [all...] |