/external/fonttools/Lib/fontTools/misc/ |
D | arrayTools.py | 25 xMin, yMin, xMax, yMax = calcBounds(array) 28 yMin = int(math.floor(yMin)) 30 return xMin, yMin, xMax, yMax 36 xMin, yMin, xMax, yMax = bounds 37 return min(xMin, x), min(yMin, y), max(xMax, x), max(yMax, y) 42 xMin, yMin, xMax, yMax = rect 43 return (xMin <= x <= xMax) and (yMin <= y <= yMax) 51 xMin, yMin, xMax, yMax = rect 52 return [(xMin <= x <= xMax) and (yMin <= y <= yMax) for x, y in array] 68 (xMin, yMin, xMax, yMax) = rect [all …]
|
/external/skia/src/pathops/ |
D | SkOpCubicHull.cpp | 58 size_t yMin = 0; in convexHull() local 60 if (fPts[yMin].fY > fPts[index].fY || (fPts[yMin].fY == fPts[index].fY in convexHull() 61 && fPts[yMin].fX > fPts[index].fX)) { in convexHull() 62 yMin = index; in convexHull() 65 order[0] = yMin; in convexHull() 70 if (index == yMin) { in convexHull() 76 int mask = other_two(yMin, index); in convexHull() 77 int side1 = yMin ^ mask; in convexHull() 80 if (!rotate(*this, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx] in convexHull() 85 int sides = side(rotPath[side1].fY - rotPath[yMin].fY); in convexHull() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
D | BrentSolver.java | 148 double yMin = f.value(min); in solve() local 149 if (FastMath.abs(yMin) <= functionValueAccuracy) { in solve() 155 if (yInitial * yMin < 0) { in solve() 156 return solve(f, min, yMin, initial, yInitial, min, yMin); in solve() 172 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, min, max, yMin, yMax); in solve() 230 double yMin = f.value(min); in solve() local 234 double sign = yMin * yMax; in solve() 237 if (FastMath.abs(yMin) <= functionValueAccuracy) { in solve() 246 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, min, max, yMin, yMax); in solve() 250 ret = solve(f, min, yMin, max, yMax, min, yMin); in solve() [all …]
|
/external/freetype/src/raster/ |
D | ftrend1.c | 141 cbox.yMin = FT_PIX_ROUND( cbox0.yMin ); in ft_raster1_render() 146 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_raster1_render() 165 height = (FT_UInt)( ( cbox.yMax - cbox.yMin ) >> 6 ); in ft_raster1_render() 168 cbox.yMin = FT_PIX_FLOOR( cbox0.yMin ); in ft_raster1_render() 171 height = (FT_UInt)( ( cbox.yMax - cbox.yMin ) >> 6 ); in ft_raster1_render() 203 FT_Outline_Translate( outline, -cbox.xMin, -cbox.yMin ); in ft_raster1_render() 213 FT_Outline_Translate( outline, cbox.xMin, cbox.yMin ); in ft_raster1_render()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _m_a_x_p.py | 67 yMin = +INFINITY 83 yMin = min(yMin, g.yMin) 98 headTable.yMin = 0 103 headTable.yMin = yMin
|
D | _v_h_e_a.py | 57 rsb = height - tsb - (g.yMax - g.yMin) 59 extent = tsb + (g.yMax - g.yMin)
|
/external/pdfium/third_party/freetype/src/raster/ |
D | ftrend1.c | 168 cbox.yMin = FT_PIX_ROUND( cbox.yMin ); in ft_raster1_render() 173 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_raster1_render() 179 height = (FT_UInt)( ( cbox.yMax - cbox.yMin ) >> 6 ); in ft_raster1_render() 221 FT_Outline_Translate( outline, -cbox.xMin, -cbox.yMin ); in ft_raster1_render() 234 FT_Outline_Translate( outline, cbox.xMin, cbox.yMin ); in ft_raster1_render()
|
/external/freetype/src/base/ |
D | ftbbox.c | 51 if ( p->y < bbox.yMin ) \ 52 bbox.yMin = p->y; \ 61 ( p->y < bbox.yMin || p->y > bbox.yMax ) 216 &user->bbox.yMin, in BBox_Conic_To() 417 &user->bbox.yMin, in BBox_Cubic_To() 459 abbox->yMin = abbox->yMax = 0; in FT_EXPORT_DEF() 481 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
|
D | ftglyph.c | 131 cbox->yMin = cbox->yMax - (FT_Pos)( glyph->bitmap.rows << 6 ); in ft_bitmap_glyph_bbox() 470 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox() 487 acbox->yMin = FT_PIX_FLOOR( acbox->yMin ); in FT_Glyph_Get_CBox() 497 acbox->yMin >>= 6; in FT_Glyph_Get_CBox()
|
D | ftoutln.c | 477 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local 485 yMin = 0; in FT_Outline_Get_CBox() 496 yMin = yMax = vec->y; in FT_Outline_Get_CBox() 509 if ( y < yMin ) yMin = y; in FT_Outline_Get_CBox() 515 acbox->yMin = yMin; in FT_Outline_Get_CBox() 1051 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation() 1058 yshift = FT_MSB( (FT_UInt32)( cbox.yMax - cbox.yMin ) ) - 14; in FT_Outline_Get_Orientation()
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftbbox.c | 51 if ( p->y < bbox.yMin ) \ 52 bbox.yMin = p->y; \ 61 ( p->y < bbox.yMin || p->y > bbox.yMax ) 216 &user->bbox.yMin, in BBox_Conic_To() 414 &user->bbox.yMin, in BBox_Cubic_To() 452 abbox->yMin = abbox->yMax = 0; in FT_EXPORT_DEF() 474 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
|
D | ftglyph.c | 131 cbox->yMin = cbox->yMax - ( glyph->bitmap.rows << 6 ); in ft_bitmap_glyph_bbox() 466 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox() 483 acbox->yMin = FT_PIX_FLOOR( acbox->yMin ); in FT_Glyph_Get_CBox() 493 acbox->yMin >>= 6; in FT_Glyph_Get_CBox()
|
D | ftoutln.c | 477 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local 485 yMin = 0; in FT_Outline_Get_CBox() 496 yMin = yMax = vec->y; in FT_Outline_Get_CBox() 509 if ( y < yMin ) yMin = y; in FT_Outline_Get_CBox() 515 acbox->yMin = yMin; in FT_Outline_Get_CBox() 1058 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation() 1064 yshift = FT_MSB( cbox.yMax - cbox.yMin ) - 14; in FT_Outline_Get_Orientation()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
D | HillHeightMap.java | 175 int yMin = Math.round(y - radius - 1); in addHill() local 186 if (yMin < 0) { in addHill() 187 yMin = 0; in addHill() 194 for (int j = yMin; j <= yMax; j++) { in addHill()
|
/external/neven/FaceRecEm/common/src/b_FDSDK/ |
D | DCR.c | 221 if( pRectA->xMax <= pRectA->xMin || pRectA->yMax <= pRectA->yMin ) in btk_DCR_assignImageROI() 231 pRectA->yMin >> 16, in btk_DCR_assignImageROI() 341 pRectA->yMin = ( ( ( lyL + ryL + 1 ) >> 1 ) - doffL ) << 16; in btk_DCR_getRect() 342 pRectA->yMax = ( pRectA->yMin + ( pRectA->xMax - pRectA->xMin ) ); in btk_DCR_getRect() 350 pRectA->yMin += ( int32 )hdcrA->dcrE.roiRectE.y1E << 16; in btk_DCR_getRect() 355 pRectA->yMin += ( int32 )hdcrA->dcrE.offsE.yE << 16; in btk_DCR_getRect()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aatritemp.h | 47 GLfloat yMin, yMax; variable 172 yMin = vMin->attrib[FRAG_ATTRIB_WPOS][1]; 174 iyMin = (GLint) yMin; 189 GLfloat x = pMin[0] - (yMin - iy) * dxdy; 258 GLfloat x = pMin[0] - (yMin - iy) * dxdy;
|
/external/freetype/src/smooth/ |
D | ftsmooth.c | 151 cbox.yMin = FT_PIX_FLOOR( cbox.yMin + y_shift ); in ft_smooth_render_generic() 156 y_shift -= cbox.yMin; in ft_smooth_render_generic() 162 height = (FT_ULong)( cbox.yMax - cbox.yMin ) >> 6; in ft_smooth_render_generic()
|
/external/pdfium/third_party/freetype/src/smooth/ |
D | ftsmooth.c | 151 cbox.yMin = FT_PIX_FLOOR( cbox.yMin + y_shift ); in ft_smooth_render_generic() 156 y_shift -= cbox.yMin; in ft_smooth_render_generic() 162 height = (FT_ULong)( cbox.yMax - cbox.yMin ) >> 6; in ft_smooth_render_generic()
|
/external/pdfium/third_party/freetype/src/cid/ |
D | cidobjs.c | 427 cidface->bbox.yMin = cid->font_bbox.yMin >> 16; in cid_face_init() 436 cidface->descender = (FT_Short)( cidface->bbox.yMin ); in cid_face_init()
|
/external/pdfium/third_party/freetype/src/type1/ |
D | t1afm.c | 251 fi->Descender = t1_font->font_bbox.yMin; in T1_Read_Metrics() 289 t1_face->bbox.yMin = fi->FontBBox.yMin >> 16; in T1_Read_Metrics()
|
D | t1objs.c | 463 root->bbox.yMin = type1->font_bbox.yMin >> 16; in T1_Face_Init() 473 root->descender = (FT_Short)( root->bbox.yMin ); in T1_Face_Init()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-head-table.hh | 121 SHORT yMin; /* For all glyph bounding boxes. */ member
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 574 info->fCapHeight = (m_bbox.yMax - m_bbox.yMin + x_bbox.yMax - in onGetAdvancedTypefaceMetrics() 575 x_bbox.yMin) / 2; in onGetAdvancedTypefaceMetrics() 577 info->fCapHeight = m_bbox.yMax - m_bbox.yMin; in onGetAdvancedTypefaceMetrics() 579 info->fCapHeight = x_bbox.yMax - x_bbox.yMin; in onGetAdvancedTypefaceMetrics() 587 face->bbox.xMax, face->bbox.yMin); in onGetAdvancedTypefaceMetrics() 1041 bbox->yMin -= dy; in getBBoxForCurrentGlyph() 1049 bbox->yMin &= ~63; in getBBoxForCurrentGlyph() 1064 bbox->yMin += vector.y; in getBBoxForCurrentGlyph() 1141 glyph->fHeight = SkToU16(SkFDot6Floor(bbox.yMax - bbox.yMin)); in generateMetrics() 1333 ymin = -SkIntToScalar(face->bbox.yMin) / upem; in generateFontMetrics()
|
/external/freetype/src/autofit/ |
D | afloader.c | 262 bbox.yMin = FT_PIX_FLOOR( bbox.yMin ); in af_loader_load_g() 267 slot->metrics.height = bbox.yMax - bbox.yMin; in af_loader_load_g()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | TerrainGrid.java | 395 int yMin = 0; in updateChildren() local 406 yMin = 1; in updateChildren() 412 for (int i = yMin; i < yMax; i++) { in updateChildren()
|